Hello bukkit developers! i wonder if you could make a plugin for me! Plugin name: CommandBlocks What this plugin supposed to do: When you look on a block the command and when you right-click on the block that u add the command it will run the command Example: Im looking on a grass block...i type the command give @p diamond 5...after i right click on it and i receive the diamonds. Commands/Permissions: /cb create <name> <true(console command/false(player command)> <command> - commandblocks.admin - Adding a command to the block /cb add <name> <tru/false> <command> - commandblocks.admin - Adding another command to the block /cb remove <name> - commandblock.admin - Removing the command from the block /cb reload - commandblock.admin - Reloading the plugin /cb list - commandblock.admin - List of current commands added /cb tp <name> - commandblock.admin - Teleports to the block Commandblock.use - Permission to use the commands from blocks Version: 1.8 Config: MESSAGES: Command Create: '&aCommand Created' Command Removed: '&cCommand removed' Teleport: '&aTeleported to <name>' Reload: '&aReloaded' Add Command: '&2Added a second command to &c<name>' Commands List: &7&m-------------- &f&l1. &cBLABLA &7&o(COORDS) &7&m-------------- No ideas Thats all! pls can someone work on this i rly need this plugin! Take your time to make it
I've written a plugin, it is complete now, here it is. If you want to, you can either find the source code for it by opening it with a software called 'Luyten', or you can view the source (and/or clone it through GitHub) here
Updated: Added Permission for using CommandBlock, and removed debug statements (oops forgot to do this earlier I'm so sorry).
sry i was late.. Thnx for making this it seems pretty good! btw how i can make t like - give %player% diamond 64
Updated the plugin commands to accept %player% as a placeholder (replaced with player's name when command is executed). Here it is, also, have a great day! (P.S. Updated the GitHub repository too).