All the AlwaysSpawn plugins aren't working, I tried editing the code and tried using the PlayerLogin and PlayerRespawnEvent, but both events didn't teleport the player to the spawn when joining. The console says I spawned at the spawn point: Code: ... logged in with entity id 1 at (world, 250, 72, 174) But I don't get teleport to 250, 72, 174! Can anyone help?
Do you have any other plugins that might mess with spawn location or teleportation? This works perfectly for me with master (ALPHA7) and AlwaysSpawn: Code: [Awzaw[/192.168.1.26:57163] logged in with entity id 1 at (world, 2027, 83, 2044) Awzaw joined the game. [Awzaw: Set the world spawn point to (2037, 84, 2047)] Awzaw committed suicide [CmdSnooper] Awzaw > /xyz [Guest] Awzaw > x 2037 y 84 z 2047... looks good Awzaw[/192.168.1.26:57163] logged out due to client disconnect Awzaw[/192.168.1.26:57163] logged in with entity id 2 at (world, 2037, 84, 2047) [CmdSnooper] Awzaw > /xyz [Guest] Awzaw > x 2037 y 84 z 2047... still good
That's not much help considering I've showed that on my clean empty server it works... Which version/commit of PMMP are you using? Which version of AlwaysSpawn? Have you tried with a fresh new world? Can you send a console transcript showing the problem?
I have tested on PMMP works perfectly! tho Does not work on GenisysPro make sure you guys use Lastest version of pocketmine.
My PocketMine version: Code: This server is running PocketMine-MP 1.6.2dev+poggit.1548 「Unleashed」 implementing API version 3.0.0-ALPHA7 for Minecraft: PE v1.1.0.55 (protocol version 113) And yes, I tested it on a fresh empty world and clean server. It doesn't matter which version of AlwaysSpawn, both events (PlayerLogin and PlayerRespawnEvent) aren't teleporting the player to spawn.
Can you include your console output when doing this with no other plugins? I added some debug to AlwaysSpawn (marked as DEBUG below), and I can't reproduce your problem even with 89 plugins: Code: Login DEBUG awzaw logged in at 2030 : 83 : 2046 on output1288 DEBUG awzaw was teleported to 2030 : 83 : 2046 on output1288 [14:10:06] [Server thread/INFO]: awzaw[/192.168.1.26:56750] logged in with entity id 1 at (output1288, 2030, 83, 2046) Change Spawn point [CmdSnooper] awzaw > /setworldspawn [awzaw: Set the world spawn point to (2044, 85, 2021)] [Admin] awzaw > spawn set to 2044, 85, 2021 Move elsewhere [Admin] awzaw > moved to 2041, 84, 2041 awzaw[/192.168.1.26:56750] logged out due to client disconnect awzaw[/192.168.1.26:56750] logged out due to timeout Login again DEBUG awzaw logged in at 2041.6603 : 84 : 2041.0969 on output1288 DEBUG awzaw was teleported to 2044 : 84 : 2021 on output1288 awzaw[/192.168.1.26:56220] logged in with entity id 20 at (output1288, 2044, 84, 2021) [Admin] awzaw > spawned at 2044, 84, 2021
I should add that /setworldspawn does not immediately set the world spawn... and if you restart the server immediately afterwards then the new spawn point may not be saved. Try testing by typing /save-all after /setworldspawn.