[Plugin] Simple GameMode Changer
#1
Hey,
I want to upload a very simple plugin which allows you to change your gamemode on the fly.
Actually this plugin only changes your own gamemode. (So everyone else will stay in the default gamemode)

The short source for this plugin:
http://pastebin.com/raw.php?i=Lh9UYkvH

Just download it, save it as GMSwitcher.lua in the "Plugins" folder and add it to the settings.ini

All users who should be able to use this need the gm.change right.

Then just go ingame and type: /gm 0 for survival and /gm 1 for creative.


Simon
Reply
Thanks given by:
#2
Thanks, very usefulBig Grin
Reply
Thanks given by:
#3
In my own files I added something like this to core but all you have to do is use /gm

I haven't posted it anywhere as I'm planning on making it so you can provide a player name to change them.

I added my own /gm because I got tired of having to walk everywhere.
Reply
Thanks given by:
#4
Could somebody add this to Core and commit it? This is some basic functionality that should be in the Core plugin
Reply
Thanks given by:
#5
(12-27-2011, 12:26 AM)FakeTruth Wrote: Could somebody add this to Core and commit it? This is some basic functionality that should be in the Core plugin

ehm i got the core with the gamemode command but i can't upload an attachment
how can i upload it?
Reply
Thanks given by:
#6
You could just put in on pastebin.com and give the link to someone Wink
Reply
Thanks given by:
#7
(12-27-2011, 01:29 AM)Lapayo Wrote: You could just put in on pastebin.com and give the link to someone Wink

http://pastebin.com/download.php?i=czqaKvFc
Reply
Thanks given by:
#8
You should be able to attach files now
Reply
Thanks given by:
#9
(12-27-2011, 01:36 AM)FakeTruth Wrote: You should be able to attach files now

yes it work thanks


Attached Files
.lua   Core.lua (Size: 23.44 KB / Downloads: 293)
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)