A different inventory for each world. - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html) +--- Forum: Discussion (https://forum.cuberite.org/forum-5.html) +--- Thread: A different inventory for each world. (/thread-849.html) |
A different inventory for each world. - tonibm19 - 04-08-2013 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. RE: A different inventory for each world. - bearbin - 04-08-2013 You would need a plugin to do that, and probably for the plugin to work, a HOOK_PLAYER_CHANGE_WORLD hook as well. RE: A different inventory for each world. - xoft - 04-08-2013 I think OnPlayerSpawned() is called in this case, too. So such a plugin should be already doable with the current API. RE: A different inventory for each world. - bearbin - 04-08-2013 Ok RE: A different inventory for each world. - xoft - 04-08-2013 Definitely a plugin stuff, though. This is something that will not be in the base server. RE: A different inventory for each world. - tonibm19 - 04-08-2013 (04-08-2013, 05:34 AM)bearbin Wrote: OkCan you make the plugin? |