TGM
TGM
Allow anyone with the right permission to switch their game mode easily!!
Version: 1.6 for Craftbukkit 1337+!
GitHub: https://github.com/Raniy/ToggleGameMode
Thanks to everyone in #bukkitdev. When you finally respond its worth the wait!
Features:
Natively supports SuperPerms or PermissionsEx.
Allows players who have been granted the correct permission node to toggle their game mode using the /togglegamemode (Alias'd as /tgm) command.
Also allows for users to toggle other peoples game mode.
Very configurable. The permission node checked and the notifications sent can be changed in the config.yml
VerboseMode toggle in config. If true: the plugin will report usage of this command to the console and ops; including failed attempts to the console; It appends location information (World: X: Y: Z:) to the end of the configured strings.
I recently rewrote this using my brand spanking new 'blank plugin'. Then released it here for the rest of you. I have checked into the other plugins which do something like this, they also implement other 'unneeded' features, or aren't nearly as configurable, or aren't as optimized. In effect mine is 'the best' at doing what it does.
Permissions:
The permission nodes are configurable.
By default they are:
SelfNode: ToggleGameMode.TGM
OthersNode: ToggleGameMode.TGM.Other
AdminNode: ToggleGameMode.*
Assign the AdminNode if you dont want to assign both of the other nodes.
Ops can always use the command. Basically this is an alias of '/gamemode <TheOpsName> 0/1', and so it makes sense they should always have access.
Requires:
Nothing
Installation:
- Drop the jar in your plugins directory
- Reload the Plugins or Restart the server: To generate config
- Give your groups and/or users the Permission node
- Never type the /gamemode <playername> <mode> command ever again!!!!
ToDo:
Possibly adding a third gamemode, without the flying.
Suppress the default notice of your gamemode being changed.
History:
v1.6 Skipped a few versions here. v1.5 added Pex Support, v1.6 is a total rewrite. Now also supports '/togglegamemode <name> per request by Folas1337. Great idea bud. :)'
v1.3
Further optimization (Smaller, Sleaker, Fasterer).
New notification when player fails permission check( Configurable of course. ;) ).
Now also checks if player is op (For servers without a Permissions plugin).
New VerboseMode and config option. Tells online ops and the console about use of the command.
With the exception of the optimization all these were user requested features from #bukkitdev. Keep em coming! :)
v1.2 Code and Config cleanups, Bigger, Better, Faster, Stronger.
v1.1 Now notifications are configurable in the config.yml
v1.0a Nothing actually changed except now call ourselves TGM
v1.0 Tested working on my private server by me. Commit'd to GitHub.
Concept: Wanted this about 2seconds after 1.8 hit.
-
View User Profile
-
Send Message
Posted Apr 20, 2012@doggyroc
Doggy: TGM updated to the new event system back in January.... Did you try it before screaming for an unneeded update? :)
Just for the sillier peoples: Recompiled against CB for 1.2.5
-
View User Profile
-
Send Message
Posted Mar 17, 2012Please Update!
-
View User Profile
-
Send Message
Posted Feb 15, 2012This is a great little plugin. Please keep up the good work :)
-
View User Profile
-
Send Message
Posted Jan 20, 2012New version released. A few code cleanups and compiled against Bukkit for CraftBukkit for v1.1 (Dev Release)
-
View User Profile
-
Send Message
Posted Nov 27, 2011@raniy
Probably couldnt hurt to say v1.6 is out now, and Ive tested it working against the Minecraft v1.0.0 versions of Craftbukkit. Works just fine. :)
-
View User Profile
-
Send Message
Posted Nov 20, 2011@Folas1337
I approve of this. Consider it done in v1.6
-
View User Profile
-
Send Message
Posted Nov 16, 2011Add possibility to change other player's gamemode? Like "/tgm <Playername>"? Would be cool to give people gamemode without typing "/gamememode <name> <0/1>" and use your awesome plugin instead :P (+ Permissions ofc)
-
View User Profile
-
Send Message
Posted Oct 15, 2011Very useful and easy to use. Working with PermissionsEx and all my other plugins. Thanks a lot for developing this one, even if it's just a small plugin.
-
View User Profile
-
Send Message
Posted Oct 7, 2011First comment reserved.