What Is the TGM Plugin for Minecraft?
Server administrators often look for ways to give trusted players more flexibility without granting full operator powers. The TGM plugin solves that elegantly. Short for Toggle Game Mode, TGM allows anyone with the correct permission to switch their game mode instantly using a simple command. Whether you want to flip between Survival and Creative on the fly or help a friend switch modes, this lightweight Bukkit plugin handles it with minimal overhead. It was built specifically for Craftbukkit 1337+ and has been refined through multiple versions to be fast, configurable, and dependable.
Key Features of TGM
What makes TGM stand out is its focus on doing one thing extremely well. Instead of bundling unrelated features, the plugin delivers a clean toggling experience with a surprising amount of customization under the hood.
- Native support for both SuperPerms and PermissionsEx, so it integrates seamlessly with your existing permission setup.
- Players can toggle their own game mode using /togglegamemode (aliased as /tgm).
- Admins can toggle another player’s game mode with /tgm <playername>.
- Highly configurable messages and permission nodes via a simple config.yml file.
- Verbose mode that logs command usage and failed attempts to the console and online operators, including location data (world, X, Y, Z).
- Ops always have access to the command, matching the logic of the vanilla /gamemode command.
Permissions and Configuration
TGM puts control in your hands by letting you define exactly which permission nodes are checked. The default nodes are straightforward but can be changed to fit your server’s naming scheme.
Default Permission Nodes
- SelfNode: ToggleGameMode.TGM – allows a player to change their own game mode.
- OthersNode: ToggleGameMode.TGM.Other – allows toggling another player’s game mode.
- AdminNode: ToggleGameMode.* – grants both permissions in one node.
When you first run the plugin, it generates a config.yml where you can alter these nodes and the messages sent to players. For example, you can customize the notification text when a mode is switched or when someone lacks permission. The verbose mode option, when set to true, appends location information to every logged message, giving you a clear audit trail of who used the command and where.
How to Install TGM on Your Server
Getting TGM up and running is a matter of seconds. Simply drop the JAR file into your server’s plugins directory, then reload the plugins or restart the server to generate the configuration file. After that, assign the appropriate permission nodes to your groups or individual players. The plugin requires no additional dependencies, so it works right out of the box. If you are managing a modded environment and prefer a more visual way to handle installations, a modern launcher like foxygame.net can simplify the process by letting you download and install server-side mods directly from its menu, keeping everything organized without digging through file folders.
Using the /tgm Command
Once permissions are set, using the command is effortless. A player with the self-toggle node types /tgm and instantly swaps from Survival to Creative, or vice versa. To change another player’s mode, an admin with the OthersNode uses /tgm PlayerName. The plugin respects the same game mode values as the vanilla command, so there is no learning curve. The alias /togglegamemode also works, giving you flexibility in how you remember the command. Thanks to the verbose mode, every successful or failed attempt is recorded, which is especially useful on larger servers where you need to monitor mode changes.
Why Choose TGM Over Other Game Mode Plugins?
Several plugins offer game mode switching, but TGM distinguishes itself through pure focus and optimization. Many alternatives bundle extra features like flight control or inventory management, which can bloat your server and introduce unnecessary complexity. TGM is a single-purpose tool that has been rewritten for speed and configurability. The author deliberately avoided feature creep, resulting in a plugin that is smaller, sleeker, and faster. The configurable permission nodes and messages mean you can tailor it to any server setup without editing the source code. If you value a plugin that does exactly what it promises and nothing more, TGM is the clear choice.
Conclusion
The TGM plugin brings a polished, no-nonsense game mode toggle to any Bukkit-based server. Its deep configurability, native PermissionsEx and SuperPerms support, and optional verbose logging make it suitable for both small private servers and large public networks. By stripping away unnecessary extras, it delivers a responsive and reliable experience that puts you in control. Whether you are tired of typing long /gamemode commands or simply want to delegate mode switching to trusted players, TGM is a lightweight solution that has stood the test of time across multiple versions.