Cuberite Forum

Full Version: gamemode[Implented in core]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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
Thanks it worksBig Grin