BlockCommand
This plugin allows you to set commands and messages to blocks. This commands/messages will be executed, if the player touches/clicks on the block.
Features
- You can bind...
- ... a console command to a block
- ... a message to a block
- ... a player command to a block
- Execution:
- If you add a BlockCommand with leftclick, it will be executed by touching the block
- If you add a BlockCommand with rightclick, it will be executed by clicking on the block
- If you add a BlockCommand with a configurable item (default = redstone), it will be executed by redstone
- You can add a player variable %player% to your message/command
- If you wrote the command, you are in add-mode and can add the command/message to infinite blocks
- Multiworld support
- Permissions support
- You can remove a BlockCommand with a configurable item (default = bone) in Add-Mode
Commands
- /bc add <msg/cmd/pcmd> <text>
- /bc stop
Permissions
- BlockCommand.add
- BlockCommand.touch
- BlockCommand.click
How to use - example
- just type /bc add msg Hello %player%
- Then click on the floor (rightclick)
- type /bc stop
- now if you walk on the floor, you get the message "hello <your name>"
- type again /bc add msg lol
- take a bone in your hand
- leftclick on the block you have clicked before
- type /bc stop
- now the block is normal again
I was wondering if there could be anyway to add a time restriction onto the block's effect. An example could be found with a tutorial: a player steps/clicks the block to receive their reward, yet this can only be done, say, every week. Again, just a suggestion so I could make great use of this plugin. :)
Hey, I just wonder if youre going to release a version for 1.5.2 soon?
The 8th april did you say that an 1.5.1 version should came in a few days, but still I cant find it?
This plugin looks amazing, and I hope you will start updating your plugin soon :)
Best Regards Benleo.
Can we use the player's selection like in the basic minecraft's commandblock (@p,@a..)?
@MCLegendServer
Yep in the next days.
Hi. This looks amazing! Are you going to update to 1.5.1?
@harryjamesuk
Seems legit :D Ok I'll update it in the next days when I get some time.
@Blackixx
It's nice to have no command block in the way though...
Just use command blocks :P
@ACdestroyer
I know %player% works, but if you could do other ones aswell :)
Hi, This is an awesome plugin and keep up with the awesome work! I just wanted to suggest one thing. Could you add into this plugin, where it targets to nearest, a random or all players! This would be awesome and i could make a ranking system where you get a higher rank after completing a job. For example, kill "n_p" (nearest player) as a command. But you could substitue n_p for something else. Because i use Permissions ex on my server, I could rank people up as a console command like: pex user n_p group add Warlock If you don't quite understand please ask me because this would benifit alot of people!
Can you please add multiple commands to each block?
only the msg thing works :S
@Sarge22234
not at moment but I will add it
Is there a way to bind two commands to a single block? because i cant figure out how to
@buddhist09
Not atm. Ill try to add a feature like that.
Is it possible to have it set when someone clicks a block it loads the server website?
@Dragonphase
Atm BlockCommand contains more features (Redstone, Msg, Pcmd) :P
I will think about it (I can imagine that we could release some great updates). But I dont have very much time (cause of school, server, other plugins, hobbys :P ...).
I would be interested in working with you. Check out my latest plugin Commander. It does everything (and more) this plugin does but ONLY on buttons, levers and pressure plates.
@Folas1337
@harryjamesuk
I will fix this now
@dementedshadow
Ok I will add different permissions
Blackixx is currently on vacation and can't answer any questions until he is back. If you have any questions they'll need to wait until he is back, thanks.