CommandBlockAlt
CommandBlockAlt
NOTE:
This plugin is still in beta, so there may be bugs I have not found yet. If you find any, instead of complaining, please describe them to me, and I will do my best to have it fixed within 3 days. Also, since this is still in beta, feel free to give me a suggestion as to what I could add to it.
So I was thinking the other day how much I hated the fact that Command Blocks are only able to be created by OP's in creative. I wanted a plugin so that I could let donators or even players make "Command Blocks". So I searched everywhere, only to find a few useless outdated plugins that didn't even come close to what I had in mind. That's when I decided to, instead of looking for something that didn't exist, make my own. Whether you would simply like Command Blocks with more functionality, or if you want a secure way to let donators use command blocks, this is the plugin for you!
Description:
This plugin does exactly what you may expect. It allows you to bind a command to a block. For example if you typed /cba add player tell bob hi, it would save this information to a file, and whenever the block was right clicked, it would send a message saying hi from the player who clicked the block to a player named bob. Whenever the block is destroyed, all information is wiped from the file. Don't worry though, players will need permissions to destroy it. A nice feature is that you can use *r (which will target a random player from online players) or *p (which will get the player who clicked the block) in your command.
Commands:
- /cba info || Displays in chat the command bound to targeted block.
- /cba reset || Removes command bound to targeted block. (Destroying block will also do this.)
- /cba add console || Binds whatever you type after this command to the block as a console command.
- /cba add player || Binds whatever you type after this command to the block as a player command.
- /cba resetall || Wipes data file, deleting all CommandBlockAlts.
Permissions:
- cba.* || Allows use of all CommandBlockAlt commands.
- cba.create.* || Allows player to create both player and console CommandBlockAlts.
- cba.create.player || Allows player to create CommandBlockAlts that will run the command bound as player
- cba.create.console || Allows player to create CommandBlockAlts that will run the command bound as console
- cba.use || Allows player to right click block to run command bound to that block
- cba.destroy || Allows player to break CommandBlockAlts, removing bound commands
- cba.command || Allows player to use command /cba
- cba.command.reset || Allows player to use /cba reset, which will delete command bound to targeted block.
- cba.command.info || Allows player to use /cba info, which will give information on targeted block.
- cba.command.resetall || Allows player to use /cba resetall, which will wipe data file of all CommandBlockAlts
To Do List:
- Possibly add a config file
- Allow multiple commands to be added to one block.
- Give me suggestions as to what else you would like to see in this plugin :)
Every time a Default player on my server tries to use a block that I have set it says: You don't have permission. OPed players can use it fine. I have tried giving default players "cba.use" but nothing changes.
Is there a way to find command blocks located on the server? Thank you
@KJ_Shipp
I really appreciate the enthusiasm and encouragement. I'll try my best to start working on this again, and to add multiple command support. If all goes well, I should be able to have it updated within a week. I would be able to have it done sooner, but I am starting college in only a few days, and have a lot to do to prepare. Thanks for the encouragement to start working on this plugin again :) Alden
I would really like to see multiple commands on one block. I have been searching for days and haven't found anything but command block minecraft work-arounds. This plugin would go crazy with downloads seeing as it will help a lot of server owners. Let me know if there is any way I can help with it.
Works great so far, just what i was looking for.
Thanks
@Noplix
Hmmm Initially this was how I had the plugin coded, was with redstone input into the block. The only problem is when coded to use redstone input, theres no way to get who actually triggered the redstone. Meaning a lot less functionality and no *p option.
add RESTONE OPTION xDD like Piston or CommandBlocks :P