TikiToolkit allows you to bind a plugin command to the left and right click function of any item on your toolbar. By using a simple configuration file you can define tools per player, per slot, per item. Which means a huge amount of customization for each user. Want to use a fish to access WorldEdit's teleport commands?
This plugin is an alternative to Wandmin by Nathanwolf, and will work nicely with his Spells plugin. I found that with Wandmin, I was only binding a couple commands to each wand and spending more time cycling through wands than it would take to type the command.This fixes that problem by limiting you to two commands per tool, but you can define up to 9 tools of any type (18 possible commands, if you don't want any hotbar slots)
There is no method to actually modify the tools in game (but it is planned!), it must be done through the config file. For most people just editing the config.yml should provide ample support to configure your tools, since you shouldn't be changing them all that much.
If you do not like the "ToolName Selected" messages. Either remove the "name: ToolName" option in the config for the tool you don't want to show the message, or set "selected_msg: false" for the player (see example config).
Current Features
- Bind any item or block to a command (or a chain of multiple commands)
- Respawn with your admin tools when you die (configurable)
- Prevents you from dropping your inventory when killed (configurable)
- Allows you to chain commands together (eg: /hpos 1, /hpos 2, /expand 1 up, /set 1) for a single tool click
Upcoming Features
- Delay between commands, eg: [/say Welcome to the server!, 4.5, /say We hope you enjoy it!]
- Wait 4.5 seconds between saying two things
- Variables to commands, eg: [/w %targetedPlayer% Welcome to the server]
- Whisper the player you're currently targeting
- In game configuration of commands
- Default tool sets to give to non admins by default
- More command options (Shift + Leftclick, Shift + Rightclick)... 4 actions per tool!
Commands
- /tiki reload - Reload the configuration file
- /tiki identify - Identify the item you're currently holding (for use in config file)
- /tiki tools - Adds your configured tools to your hotbar
Example Config
Source
Changelog
- Version 1.1.7: *Latest Version*
- Updated for to support PLAYER_INTERACT changes, CraftBukkit 561+
- Version 1.0.7:
- Last version that supports any craftbukkit prior to 561
- Fixes an issue with command chains not working for some plugins
- Version 1.0.6:
- Selected tool messages can be turned off with "selected_msg: false", see example config.
- Version 1.0.5:
- Now uses player.chat() to send commands. Which means you can send chat messages and perform native minecraft commands
- Improved help syntax for invalid commands
- Switched to syncTasks when restoring inventory on respawn
- Version 1.0.4:
- Fixed some commands not working if they only registered in plugin.yml
- Version 1.0.3:
- Only ops can /tiki reload the config now (and the console)
- Added a /tiki tools command to restore the configured tools without killing yourself
- Version 1.0.2:
- All commands require leading / now (eg.. /thru instead of thru)
- Plugins that use PLAYER_COMMAND_PREPROCESS now supported
- Version 1.0.1:
- Added command chaining (see config example)
- Version 1.0.0:
- Initial Release