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.

Download

File Name Status Version Downloads Date
TGM 1.20.2 Updating 1.20.2 Updating Updating
TGM 1.20.1 Updating 1.20.1 Updating Updating
TGM 1.20 Updating 1.20 Updating Updating
TGM 1.19.2 Updating 1.19.2 Updating Updating
TGM 1.19.1 Updating 1.19.1 Updating Updating
TGM 1.19 Updating 1.19 Updating Updating
TGM 1.18 Updating 1.18 Updating Updating
TGM 1.17.1 Updating 1.17.1 Updating Updating
TGM Forge Updating Forge Updating Updating
TGM Fabric Updating Fabric Updating Updating
TGM
TGM

Dear youtuber!
Have you a channel youtube and want to bring your Video to quality visitors?
Do you want your video to appear on our website?
Do you want to become partner with us?
Just 3 steps to become our partner:
Step 1: Make video review for mods, addons, plugins, ... which you like
Step 2: Upload this video to youtube and our link to your video description
Step 3: Send the youtube video link via message to http://fb.com/9lifehack or leave a comment in the post. We will add your video in the our post, it will help you have more view.
JOIN to get more youtube view with us!!!!

Related Posts

Smarty Productivity Happiness

9LifeHack.com - make things smart