Map Utility
This plugin allows basic access to parts of the Bukkit API via simple command blocks. This is specifically useful for map creators who wish to modify options like turn on/off PVP or prevent spectators from interacting with the world.
The list of commands will be extended over time. Feel free to head over to GitHub and suggest a new feature (or even implement your own).
Commands
The following commands are implemented so far. All commands are CommandBlock compatible and will cause Comparators to output a Redstone-Signal if the command is registered (this allows map creators to execute specific actions if the utility is loaded).
- /pvp <on|off> - Enables or disables PVP in the current world (e.g. the world the CommandBlock is currently in).
- /spectator <add|remove> <player> - Toggles the "Spectator Mode" on or off.
Spectator Mode
This mode prevents a user from interacting with players, the world and other entities. It also enables players to fly without being in creative. The spectator mode is automatically removed from a player when he either leaves the server (or is being kicked by an operator) or his/her game mode is changed to something different (e.g. from survival to adventure).
Permissions
None. All commands are only executable from a CommandBlock or by operators.
License
This plugin is licensed under the terms of the GNU Lesser General Public License v3. It's source is always available in the most recent version at GitHub.
Comments