Posts: 1,162
Threads: 68
Joined: Mar 2013
Thanks: 245
Given 127 thank(s) in 101 post(s)
I want to make a server with 2 worlds: one survival and one creative.
But when someone goes to the survival world, his gamemode don't change, and he have the same items that in the survival world.
Can you do anything to fix it?
Thank you.
Posts: 1,469
Threads: 57
Joined: Jul 2012
Thanks: 66
Given 128 thank(s) in 109 post(s)
You would need a plugin to do that, and probably for the plugin to work, a HOOK_PLAYER_CHANGE_WORLD hook as well.
Posts: 6,485
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1081 thank(s) in 853 post(s)
I think OnPlayerSpawned() is called in this case, too. So such a plugin should be already doable with the current API.
Posts: 6,485
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1081 thank(s) in 853 post(s)
Definitely a plugin stuff, though. This is something that will not be in the base server.