A Plugin which adds commands to utilise in Datapacks.
This Plugin aims to add useful commands that are useable inside of datapacks using commandAPI.
Its mostly for people (like me) who like to make things with datapacks, but are annoyed by the limitations they have.
IMPORTANT
If you want to disable server boards, run /serverboard show default false @a Every time someone joins, as the joining person. I will make a toggle later.
/motion @targets < x > < y > < z >
Flings the player with x y z motion
/motionscore @targets < xObjective > < yObjective > < zObjective >
Flings the player with x y z motion, using the number from the targets scoreboard value for each given objective.
/relativemotion @targets
Flings the player with relative motion
/slot @target(max 1 player) < number >
Sets the players slot (0-8)
/slot @target(max 1 player)
Returns the players Current Selected Slot
/tagremoveall @target < excludedtag1 > < excludedtag2 > ....
removes all tags apart from the ones exlcuded
/heal @targets amount
Heals targets by amount
/food @targets amount
Sets food of targets to amount
/saturation @targets amount
Sets saturation of targets to amount
/enderchest @targets
Forces @targets to view their enderchest
Incredibly useful for GUIs
/closeinventory
Forces Executing entity to close the inventory they currently have open
/repeat amount delay run
Executes amount of times, with a delay of delay
/serverboard
Shows a personal scoreboard on the side of the screen. To configure, look in the config file for this plugin.
Available replacements:
Commands for this:
/serverboard show BOARD_NAME true/false @targets
Shows/Hides a specific serverboard for @targets (if you hide a serverboard for anyone, none will be shown)
/serverboard update @targets
Updates the serverboard for @targets
(VALUES IN THE SERVERBOARD DO NOT AUTOMATICALLY UPDATE, THIS COMMAND IS REQUIRED)
/serverboard configreload
Updates the config and everyones serverboard
/eval
perform a caclulation
NOT DONE YET, STILL NEED TO ADD SCOREBOARD VARIABLE SUPPORT
/waypointset x y z @targets tag color icon_id
Creates a Waypoint at POS, showing only for TARGETS. The armorstand has the tag TAG, COLOR, and an ICON_ID for sprite purposes
Waypoint ALWAYS has tag: datapacksplus_waypoint
/waypointsclear entity selector
Argument needs to be @e[], Waypoints are always armor stands, any other restriction may be used (like distance, etc)
There are a number of tags you can give a player, to give them certain properties:
plugin.block.interact
prevent.block.destroy
prevent.block.placing
prevent.attack.all
prevent.attack.player
prevent.attack.-player
prevent.attack.armorstand
prevent.attack.painting
prevent.drop
plugin.opengui