- Native Minecraft Version:
- Tested Minecraft Versions:
Execute any commands from default minecraft, plugins etc.
when entity in the scoreboard equals value in the config file.
Plugin works only when at least one player is online, but if you need it to work without any player online just message me and I'll edit it quickly for you!
You cannot execute commands from proxy and proxy plugins!
There can be multiple actions depending on scoreboard values.
You can set other scoreboard for every action.
You can execute many commands for every action.
You can use same objective and player for many actions.
When it can be useful:
This plugin was invented to make people who program in minecraft functions able to execute plugin commands.
Minecraft functions are not able to execute plugin commands.
To do that you need to config plugin and set scoreboard value using function when you want to execute commands.
Stop your server and put this plugin into your plugin folder.
Start server, edit config and reload.
Correct configuration example (if there exist commands like that):
Default config file:Code (YAML):plugin-enabled: true
cmd-0: say objective: match
cmd-1: say player: status
cmd-2: say value: 100
cmd-0: gamemode adventure @a[team=red]
plugin-enabled - determine whether plugin is enabled. (true/false)Code (YAML):plugin-enabled: false
check-rate - scoreboard checking rate in ticks, 1 second is 20 ticks. (int value)
default-value - value that is set after action if set-default-value is true. (int value)
functions - list of actions.
function-# - define action (action indexes must be in turn).
set-default-value - determine whether default-value is set after action. (true/false)
objective - scoreboard objective for action. (text)
entity - scoreboard player for action. (text)
value - value required in scoreboard to activite commands. (int value)
commands - list of commands.
cmd-# - define commands (commands indexes must be in turn).
- Set objective and entity config to existing objective and entity.
- Do not set value config to 0.
- Lowest check-rate value is 1.
- Lower check-rate value, higher CPU usage.
- At least 1 function-# and 1 cmd-# if plugin-enabled: true
- function-# and cmd-#, # starts from 0.
- Commands always without "/".
- Do not try to glitch that plugin, because you will probably do it easily.
If you think this plugin would be useful for you if it would be a bit edited you can contact me, I'll try to make edit for you!
I can also made basic plugin for you if you need one.
Feel free to propose new feature or report glitch or bug!
I'll answer you as fast as I can!