TriggerReactor

TriggerReactor

24.6k Downloads

New Executors and Placeholders

wysohn opened this issue ยท 3 comments

commented

Executors suggestions:

#LIGHTNING <world> <x> <y> <z> - Strikes lightning at location
#EXPLOSION <world> <x> <y> <z> [power] [fire] - Creates explosion at location
#TIME <world> <milliseconds>- Set the time
#WEATHER <world> <boolean>- Set the weather
#CLEARENTITY - <radius> Clear entities from a specified radius

#FIREWORK - Shoots firework at location
#PARTICLE - Creates particle effect at location

Player Modifier Executers:

#MODIFYPLAYER <type> <value>
HEALTH
FOOD
SATURATION
EXP
WALKSPEED
FLYSPEED
FLY
GAMEMODE
MAXHEALTH

#POTION <PotionEffectType> <tick> [level] - Gives player a potion effect
#KILL - Kills the player
#CLEARCHAT - Clears chat
#PERMISSION <permission>- Gives or takes permission
#MONEY <number> - Gives or takes money
#VELOCITY - Set current player's speed to provided x,y,z vector
#MODIFYHELDITEM "TITLE" <new title>
#MODIFYHELDITEM "LORE" "ADD" <line> [index] - insert <line> at the [index] or at the last if [index] is not set
#MODIFYHELDITEM "LORE" "SET" <line> - set <line> at the . If index is not within the range, the lines will be filled up with empty string until the index.
#MODIFYHELDITEM "LORE" "REMOVE" <index> - delete line at .

#SCOREBOARD - Sets scoreboard

Placeholders

Player:
$haseffect:<effect>
$explevel
$maxhealth
$ip
$isburning
$isflying
$handitemlore:

$hidden
$is_blocking
$empty_slots
$has_item:
$height
$has_achievement:
$armor
$armor_rating
$helmet
$body
$leggings
$boots
$offhand

Server:
$tps
$time
$onlineplayers

$server_uptime
$server_ping
$scoreboard:
$pvp

Vault:
$money
$group

Special:
$random:<max>
$random:<min>:<max>

Feature suggetions:

  • ELSEIF
  • MySQL support (for global variables)
commented

#REMOVEHELDITEM

commented

@wysohn are bold ones completed?(and non-bold are not)

commented

@rkdrns4747
Yes, bold ones are completed