Cuberite Forum
gamemode[Implented in core] - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Plugins (https://forum.cuberite.org/forum-1.html)
+--- Forum: Plugin Requests (https://forum.cuberite.org/forum-3.html)
+--- Thread: gamemode[Implented in core] (/thread-236.html)



gamemode[Implented in core] - NiLSPACE - 12-24-2011

can someone create an plugin that you can change gamemode ingame? it would be great if someone could create it Smile
but i hope (the one who want to create an plugin for this) that he would use /gm for the command. but that is his choice.


RE: gamemode - Lapayo - 12-25-2011

Hey, this is a very simple thing Smile

http://pastebin.com/raw.php?i=Lh9UYkvH

Save this as a *.lua file in you plugins directory and add it to the settings.ini

Then just use: /gm 0 for survival and /gm 1 for creative.

Actually this just changes your own gamemode to creative. Everyone else will stay in survival Wink


RE: gamemode - NiLSPACE - 12-25-2011

Thanks it worksBig Grin