![]() $sock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP) $raknet_server_id_size = sprintf('X', strlen($server_id_bytes)) // server id size in bytes $raknet_offline_message_id = '00ffff00fefefefefdfdfdfd12345678' // message id, must match the ping one, which is this hardcoded value $raknet_server_guid = 'cafecafecafecafe' // server GUID, set whatever you want $raknet_time_since_state = '0000000000000000' // time since service start in ms, ignore by Minecraft so we can put 0 $raknet_packet_type = '1c' // unconnected pong raknet packet $dont_know_1 = '' // 390 in captured packets $server_type = 'MCPE' // minecraft pocket edition If (isset($_SERVER)) // used when behind a reverse proxy Just connect and you are done! Remember that phantom needs to be running when you want to play on the server from your PS4.įor the admins that want people who dont own computers to be able to join their server, you can set this PHP script on a web server behind the same public IP as your minecraft server :ĮDIT: there is also another option, see at the endĮDIT: I made the script a little more explicit with less hardcoded hex strings On your PS4, you should be able to see the server on the Friends tab as a LAN Game.INFO: 2 20:48:00 proxy.go:91: Proxy server listening! INFO: 2 20:48:00 clientmap.go:66: Starting idle connection handler Starting up with remote server IP: example:19132 ![]() Press Enter, you should see something like.After the path of the file, add a space and -server (for example, -server :19132)Ĭ:\Users\lemon>"E:\phantom-windows.exe" -server :19132.), then go to "Edit" on the top bar and select "Paste" ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |