InteractiveBlocks Customize a block interaction behavioir.
PLEASE LEAVE A REVIEW IF YOU LIKE THE PLUGIN
Description Use a wand to add a block to the data configuration, edit the data configuration to make your block do whatever you want.
A valid alternative to CommandSigns or Essentials signs.
A handy alternative to Skript.
A more complete alternative to MyCommand.
Useful for roleplay/fantasy survival servers.
Useful to implement little things on KitPvP Servers.
Features
Customizable messages
Make a block execute a list of commands at player interact
Make the player execute a list of commands per interaction.
Action-organized system for every block.
Individual permission and permission needed message for every block.
Place, break, and replace the block as you want. The plugin only saves the block location.
To install:
Download the plugin
Upload it in the "plugins" folder
Restart the server or load it with PlugMan or similar.
Commands
/iblocks (No permission)
/iblocks reload (interactiveblocks.admin)
/iblocks getwand (interactiveblocks.admin)
Permissions
interactiveblocks.skipermissionallows you to skip any individual block permission
default: op interactiveblocks.admin allows you to use all InteractiveBlocks commands and the wand
default: op
Code (Text):
# Plugin developed by StivenFocs with LOV
messages:
prefix: ''
configuration_reloaded: '&aConfiguration file reloaded'
block_registered: '&aBlock added'
block_unregistered: '&eBlock removed'
an_error_occurred: '&cAn error occurred during this task, please contact an admin.'
insufficient_permissions: '&cYou do not have enough permissions.'
only_players: '&cOnly a player can execute this command.'
incomplete_command: '&cIncomplete command, some argument is missing.'
unknown_subcommand: '&cUnknown subcommand'
block_already_registered: '&cThis block has been already registered.'
help_admin:
- '&8&m*=======================*'
- '&7* &bInteractive&3Blocks &7%version%'
- ''
- '&7* /iblocks reload'
- '&7* /iblocks getwand'
- ''
- '&8&m*=======================*'
help_user:
- '&8&m*=======================*'
- '&7* &bInteractive&3Blocks'
- ''
- '&7* Made by StivenFocs'
- '&7* Free on SpigotMC'
- ''
- '&8&m*=======================*'
Code (Text):
'0':
world: world
x: -39
y: 4
z: -34
commands: []
set_cancelled: false
permission: interactiveblocks.0.interact
type:
name: INFINITE
permission-message: '&cYou aren''t permitted to interact with this block.'
About configurations:
To stop a message from appearing, leave a: ""
When a field is missing, it will be set again with default values, so you can reset a field by removing it and reloading the configuration.
At every in-list block interaction, all configuration blocks go through a little automatic configuration fixer that does remove what isn't needed and adds what's missing.
To disable a block permission, just remove the "permission" field.
use "tell:TEXT" to send a direct message to the player who is interacting with a block.
(except "tell:"), "&" Coloring is not supported for commands lists.
%version% is a global placeholder inside the plugin.
%player% works only in the "commands" fields.
You can use the tellraw json text in the configuration messages.
Types list:
INFINITE executes the "commands" field every time in the same way. Needed fields: None
DELAY is a simple per player timer system. When a player clicks before the timer ends, he gets an error message. (answer field) When the player clicks after the timer end, the plugin does execute the "commands" field one time and starts a new delay timer. Needed fields: answer (A simple message of error that is sent instead of executing the "commands" field) delay (Timer's delay in seconds)
GLOBAL_DELAY is a simple global timer system. When a player clicks before the timer ends, he gets an error message. (answer field) When the player clicks after the timer end, the plugin does execute the "commands" field one time and starts a new delay timer. Needed fields: answer (A simple message of error that is sent instead of executing the "commands" field) delay (Timer's delay in seconds)
SUDO executes the "commands" field every time in the same way and will make the player automatically execute a single custom command. Needed fields: ignore_perms (make the player execute the command ignoring permissions and block events) commands (the sudo commands to execute)
SINGLE_USE executes the "commands" field for the first time, all next times, the player will only get an error message. Needed fields: answer (A simple message of error that is sent instead of executing the "commands" field)
Leave your bug issues in the discussion section and PM me for plugin suggestions.
You are allowed to decompile and/or redistribute the plugin but you can not republish it as the owner or as the original plugin.