➤ Target commands - ssomar1607/ExecutableItems GitHub Wiki

🎇 PREMIUM 🎇

With ExecutableItems you can run every commands you want.

  • Variable:
    • Name of target: %player%
    • Name of launcher: %launcher%
    • Name of item: %item%
    • Usage of item: %usage% (you can add + and - like that: %usage%+1 or %usage%-1)
    • Location X of target: %x%
      (You can increment the variable of position exemple: %x%+6 or decrement exemple: %x%+-5)
    • Location Y of target: %y%
    • Location Z of target: %z%
    • Name of the world: %world%
- IMPORTANT INFORMATION, by default all commands are run by the console so if you whant that the target run the command add SUDO or SUDOOP before :D
  • examples:
- "gamemode creative %player%"
- "heal %player%"
- "SUDO %player% /warp spawn"

ExecutableItems has several original pre-recorded commands.

Command DELAY:

  • command: DELAY {delay}
  • example:
- "DELAY 60"
  • description: Set delay between two commands (in seconds).

Command SENDMESSAGE:

  • command: SENDMESSAGE {message}
  • example:
- "SENDMESSAGE &aThis is custom message send to the player"
  • description: Send custom message to the player who have execute the item.

Commands FLY:

  • command:
    • FLY ON
    • FLY OFF
  • example:
- "FLY ON"
- "DELAY 60"
- "FLY OFF"
  • description: Active fly to the player and desactive after the delay.

Command PARTICLE:

  • command: PARTICLE type: '{type}' quantity: '{quantity}' offset: '{offset}' speed: '{speed}'
  • example:
- "PARTICLE type: 'DRAGON_BREATH' quantity: '500' offset: '3' speed: '0.2'"
  • description: Send particles to the player who have execute the item.

Commands ACTIONBAR:

  • command:
    • ACTIONBAR ON
    • ACTIONBAR OFF
  • example:
- "ACTIONBAR ON"
- "DELAY 60"
- "ACTIONBAR OFF"
  • description: Display the action bar with the time remaining to reach the ACTIONBAR OFF (59, 58, 57...).

Command SUDO:

  • command: SUDO {command}
  • example:
- "SUDO warp spawn"
  • description: This allows you to have the command executed by the player

Command SUDOOP:

  • command: SUDOOP {command}
  • example:
- "SUDOOP gamemode creative"
  • description: This allows you to have the command executed by the player even if he doesn't have permission. (SECURE)

Command AROUND:

  • command: AROUND distance:'{distance}' msgPlayerAffected:'{true or false}' command:'{Your commands here}'
  • example:
- "AROUND distance:'50' msgPlayerAffected:'true' command:'/effect give %target% minecraft:slowness 15 3'"
  • description: Run commands for all other players around the player who have execute the item.

Command RANDOM RUN:

  • command: ``
  • "RANDOM RUN: {amount}"
  • "Your commands here // your message here"
  • "Your commands here"
  • "RANDOM END" ``
  • example:
- "RANDOM RUN: 1"
- "SENDMESSAGE &6&lHEHEHE !"
- "kill %player%"
- "SENDMESSAGE &7&lNOTHING !"
- "effect give %player% strenght 30 2 // &aYou are now boost with strenght 3 for 30 secs"
- "RANDOM END"
  • description: {amount} represent the amount of command that are going to be executed, in the exemple only one command will be executed among the 4.
  • More : If you need add multiple "void commands" for your percentage you can add the custom command "NOTHING*15"
  • example2:
- "RANDOM RUN: 1"
- "SENDMESSAGE &6&lHEHEHE !"
- "kill %player%"
- "NOTHING*20 // &7&lNOTHING !"
- "effect give %player% strenght 30 2 // &aYou are now boost with strenght 3 for 30 secs"
- "RANDOM END"

Command REPLACEBLOCK:

  • command: REPLACEBLOCK {material}
  • example:
- "REPLACEBLOCK STONE"
  • description: Replace the block that the player facing.

Command SETBLOCK:

  • command: SETBLOCK {material}
  • example:
- "SETBLOCK STONE"
  • description: Add a block where the player target.

Command LAUNCH:

  • command: LAUNCH {projectile}
  • valid projectiles: arrow, dragonfireball, egg, enderpearl, fireball, fishhook, largefireball, lingeringpotion, llamaspit, shulkerbullet, snowball, trident, witherskull
  • example:
- "LAUNCH ARROW"
  • description: The player launch a projectile

Command TELEPORTONCURSOR:

  • command: TELEPORTONCURSOR
  • example:
- "TELEPORTONCURSOR"
  • description: Teleport the player when he has his cursor

Command DAMAGE:

  • command: DAMAGE {amount}
  • example:
- "DAMAGE 5"
  • description: Damage the player

Command BURN:

  • command: BURN {time in secs}
  • example:
- "BURN 5"
  • description: Burn the player