Sueta
BL

BlockCommands

1.0

Trigger commands when players walk over specific blocks!

·Plugin

BlockCommands

Send commands when a player walks over a block!

Please post any issues in the discussion area or send me a PM before writing a review. Most issues are caused by yourself and are not faults within the plugin. I will do my best to add any feature and fix any bugs there are.

BlockCommands is a very simple but very powerful plugin.
It allows you to bind a command to a specific location in your world. When a player walks over that location/block, it'll run the command!

Features

  • Probably compatible with almost any Bukkit/Spigot version (only tested for 1.7 -> 1.9)
  • Customizable messages (change every message)
  • 2 Command types
    • Player: Send commands as the player who stepped on the block
    • Console: Send commands through the console
  • Add an infinite amount of block commands
  • Remove any block command by standing on the block and typing the /bcmd remove command
  • Lots of aliases for /blockcommand
  • Very fast and efficient
  • Very lightweight
  • Useful for storylines, power-ups, tutorials and more
  • Some examples
    • Teleport a player around by setting the command to "tp %p <coords>
    • Send messages to the player
    • Give the player ranks
    • Give the player money
    • Give the player items
    • Show the player's stats
    • The possibilities are endless!
  • Has a useful "%p" placeholder for the player's username.

Commands

  • /blockcommand <type> <command>
    • Adds a new command to your current location
    • <type> is the type of command (Player or Console)
    • <command> is the command you want to execute
    • Aliases:
      • bcmd
      • bc
      • blockcmd
      • bcommand
  • /blockcommand remove
    • Removes the command at your current location

Permissions

  • blockcommand.use
    • Used for adding and removing block commands using /blockcommand

Default messages.yml

only-players: '&cOnly players can do this!'
usage: '&cUsage: /blockcommand <type> <command> | Adds a block command to your current
  location. Valid types are: player, console. Use %p for the name of the player.'
no-permission: '&cYou do not have enough permissions to do this!'
invalid-type: '&cThat is an invalid type! Use player or console.'
added: '&aAdded the command ''%cmd'' to your current location!'
no-command: '&cThere is no command here!'
removed: '&aRemoved the command!'

Planned

  • Multiple commands at one location
  • Per-commandblock permission
  • Economy support
  • Custom messages support
  • Add limits to block command usage
  • Add a player-block command feature
  • More..

If you have any issues with this plugin, please make sure to tell me in the discussion area or send me a PM. I will do my best to fix it for you.

If you want a custom plugin made, feel free to send me a PM.

Make sure to take a look at my other plugins on the right side of this page. (ArmorPlus, WeaponsPlus, MobPowers, Splosions, Checkpoint and more)

Have fun :)

Similar projects

Plugin →