Mixed Commands (Player & Entity)

These custom commands work for PLAYER but also for ENTITY

So in:

  • playerCommands

  • targetCommands

  • entityCommands

  • ownerCommands

  • ...

Sorted by alphabetical order

ALL_PLAYERS

  • Info: Targets all players.

  • Command:

    • ALL_PLAYERS {command}

      • {command}: The command that will be executed

  • Example:

Damages nearest player

- ALL_PLAYERS DAMAGE 5
- ALL_PLAYERS say Hello %parseother_{%around_target%}_{player_name}%

Run multiple commands : Give a random item to all player, all players will not have the same.

- ALL_PLAYERS RANDOM RUN:1 <+> ei give %around_target% candy1 1 <+> ei give %around_target% candy2 1 <+> ei give %around_target% candy3 1 <+> RANDOM END

ALL_MOBS

  • Info: Targets all players.

  • Command:

    • ALL_MOBS {command}

      • {command}: The command that will be executed

  • Example:

Damages nearest player

- ALL_MOBS DAMAGE 5
- ALL_MOBS BLACKLIST(ZOMBIE,ARMORSTAND) DAMAGE 20
- ALL_MOBS WHITELIST(ZOMBIE) DAMAGE 20

Run multiple commands:

- ALL_MOBS DAMAGE 5 <+> effect give %around_target_uuid% strength 10 1

It supports blacklist and whitelist

BACKDASH

  • Info: Launches the player/target at the opposite direction of where they are facing at (YOU CANNOT BE LAUNCHED IN THE AIR)

  • Command: BACKDASH {number}

    • {amount}: The value to how strong the launch will be

  • Example:

- BACKDASH 5

BURN

  • Info: Burns the player/target

  • Command: BURN {timeinsecs}

  • Example:

- BURN 200

CONSOLEMESSAGE

  • Info: Sends a message to the console

  • Command: CONSOLEMESSAGE {text}

    • {text}: Text to send tho the console

  • Example:

- CONSOLEMESSAGE This is a debug message

COPYEFFECTS

  • Info: Copy the effects of the target

  • Command: COPYEFFECTS [limitDuration]

    • [limitDuration]: it means if the target has for example 3 mins of poison effect, if you limit it to 5 secs, you will only receive a poison effect of 5 seconds

  • Example:

- COPYEFFECTS [limitDuration]

CUSTOMDASH1

  • Info: Launches you to a specific location

  • Command: CUSTOMDASH1 {x} {y} {z} {fallDamage}

    • {x}: X-Coordinate

    • {y}: Y-Coordinate

    • {z}: Z-Coordinate

    • {fallDamage}: true or false. Whether the player will take fall damage or not after getting launched by it.

  • NOTE: IT IS POSSIBLE TO USE PLACEHOLDERS ON X,Y,Z VALUES

  • Example:

- CUSTOMDASH1 %block_x% %block_y% %block_z% true

CUSTOMDASH2

  • Info: Launches you away from a specific location

  • Command: CUSTOMDASH2 {x} {y} {z} {strength}

    • {x}: X-Coordinate

    • {y}: Y-Coordinate

    • {z}: Z-Coordinate

    • {strength}: Strength of the dash

  • Example:

- CUSTOMDASH2 %entity_x% %entity_y% %entity_z% 5

CUSTOMDASH3

  • Info: Dashes the target following a specific math function

  • Command: CUSTOMDASH3 {function} {max x value} {front z default true}

    • {function}: The math function to follow

    • {max x value}: Max x value of the function

    • {front z}: If the dash is frontward or backwardsti

  • Example:

- CUSTOMDASH3 cosx 10 true

You can see how function works here https://www.geogebra.org/calculator

DAMAGE

  • Info: Damages the player with a specific amount. (Damage dealt with the help of this command is counted as player damage)

  • Command: DAMAGE {amount} {amplified If Strength Effect} {amplified with attack attribute} [damageType]

    • {amount}: Amount of damage in hitpoints (Not in hearts)

    • {amplified If Strength Effect}: true or false, Strength 1 -> + 1.5 damage, ....

    • {amplified with attack attribute}: true or false, player with 500% bonus damage, the command will do 5 x "<damage>".

    • [damageType]: The type of damage -> List

  • Example:

- DAMAGE 20 true true
  • This command will deal 20 damage

- DAMAGE 25%
  • This command will deal 25% of the player's hp

Damage type is ENTITY_ATTACK if there is a player involved. Otherwise, it's CUSTOM

It triggers the hit/damages activators of EE/EI

To apply real damage you can use: - 1.20.5++ use /minecraft:damage command, for example minecraft:damage %target% 10 by %player% - 1.20.5-- use REGAIN HEALTH command, is not the best but its a workaround.

DAMAGE_NO_KNOCKBACK

  • Info: Damages the player with a specific amount without applying knockback. (Damage dealt with the help of this command is not counted as player damage and more of an indirect damage)

  • Command: DAMAGE_NO_KNOCKBACK {amount} {amplified If Strength Effect} {amplified with attack attribute}

    • {amount}: Amount of damage in hitpoints (Not in hearts)

    • {amplified If Strength Effect}: true or false, Strength 1 -> + 1.5 damage, ....

    • {amplified with attack attribute}: true or false, player with 500% bonus damage, the command will do 5 x "<damage>".

  • Example:

- DAMAGE_NO_KNOCKBACK 20 true true
  • This command will deal 20 damage

- DAMAGE_NO_KNOCKBACK 25%
  • This command will deal 25% of the player's hp

It triggers the hit/damages activators of EE/EI

DAMAGE_BOOST

  • Info: Allows you to give yourself custom damage boost

  • Command: DAMAGE_BOOST {modification in percentage example 100} {timeinticks}

    • {modification in percentage example 100}: Amount of the boost. Example below:

      • 50 = Makes you deal +50% damage -80 = Makes you deal -80% damage

    • {timeinticks}: The duration of the custom damage boost

  • Example: (The command below gives you +50% damage dealen for 10s)

- DAMAGE_BOOST 50 200

It can be used as many times as you want, it will get stacked additively, that means:

8 -> 16 -> 24 -> 32

You can easily increase the damage of the ei's sword using this custom command by applying this DAMAGE_BOOST command in your PLAYER_HIT_... activators. Currently doesn't work perfectly with PROJECTILE_HIT_... as of writing this message

DAMAGE_RESISTANCE

  • Info: Allows you to give yourself custom damage resistance by giving yourself customized damage intake magnifications

  • Command: DAMAGE_RESISTANCE {modification in percentage example 100} {timeinticks}

    • {modification in percentage example 100}: Amount of the magnification. Example below:

      • 50 = Makes you take +50% damage -80 = Makes you take -80% damage

    • {timeinticks}: The duration of the custom damage resistance

  • Example: (The command below gives you +50% damage taken for 10s)

- DAMAGE_RESISTANCE 50 200

EQUIPMENT_VISUAL_REPLACE

  • Info: Replaces VISUALLY (there is no risk for losing items) a equipment slot with certain material

  • Command: EQUIPMENT_VISUAL_REPLACE {EquipmentSlot} {material or EI:} {amount} {timeinticks}

    • {EquipmentSlot}: The slot

      • Options:

        • -1

        • 40

        • 36

        • 37

        • 38

        • 39

    • {material}: The item id of the material you want to replace with or the EI id

    • {amount}: The stack amount

    • {timeinticks}: How long the disguise is gonna last for

  • Example:

- EQUIPMENT_VISUAL_REPLACE 39 CARVED_PUMPKIN 1 100
- EQUIPMENT_VISUAL_REPLACE 39 EI:test 1 100

EQUIPMENT_VISUAL_CANCEL

  • Info: Cancel the EQUIPMENT_VISUAL_REPLACE command

  • Command: EQUIPMENT_VISUAL_CANCEL {EquipementSlot}

  • Example:

- EQUIPMENT_VISUAL_CANCEL 39

FORCEDROP

  • Info: It forces the player to drop the item that he has in a specific slot.

  • Command: FORCEDROP {slot}

    • {slot}: number, -1 for main hand

  • Example:

- FORCEDROP -1

FRONTDASH

  • Info: Launches the player/target at the direction of where they are facing at

  • Command: FRONTDASH {number} [custom_y] [falldamage]

    • {number}: The value to how strong the launch will be

    • [custom_y] : To set a vertical boost (I advice you to set a little value like 0.5 - 1 if you dont want a big jump.)

    • [falldamage]: set to enable or disable the fall damage

  • Example:

- FRONTDASH 5 0.5 false

GLACIAL_FREEZE

  • Info: It applies the freeze of Minecraft 1.18 snow

  • Command: GLACIAL_FREEZE {time in ticks}

  • Example:

- GLACIAL_FREEZE 160

GLOWING

- GLOWING 100 BLUE

HITSCAN_PLAYERS

  • Info: It allows to run a command at certain direction to players

  • Command: HITSCAN_PLAYERS range:5 radius:0 pitch:0 yaw:0 leftRightShift:0 yShift:0 throughBlocks:true throughEntities:true COMMANDS HERE

    • Range: how far an entity can be to be targetted by the HITSCAN command

    • RadiusOfHitscan: How WIDE the cylinder is. It's basically the difference of shooting a bullet vs shooting a cannonball.

    • Pitch: What direction to shoot it in, relative to player pitch

    • Yaw: Same thing as Pitch but with yaw

    • leftRightShift:

      • -5 = the hitscan STARTS from 5 blocks to the left.

      • 0 = Hitscan is centered where the player is.

      • 5 = hitscan STARTS from 5 blocks to the right of the player.

    • yShift: Same as left,right, except with a different axis.

    • throughEntities: Boolean: Whether or not the HITSCAN can go through entities.

    • throughBlocks: Boolean: Whether or not the HITSCAN can go through blocks.

    • Commands: The same than AROUND commands, you can type command1 <+> command2 ... and use the placeholder %around_target%

  • Image to understand:

HITSCAN_ENTITIES

  • Info: It allows to run a command at certain direction to entities

  • Command: HITSCAN_ENTITIES range:5 radius:0 pitch:0 yaw:0 leftRightShift:0 yShift:0 throughBlocks:true throughEntities:true COMMANDS HERE

    • Range: how far an entity can be to be targetted by the HITSCAN command

    • RadiusOfHitscan: How WIDE the cylinder is. It's basically the difference of shooting a bullet vs shooting a cannonball.

    • Pitch: What direction to shoot it in, relative to player pitch

    • Yaw: Same thing as Pitch but with yaw

    • leftRightShift:

      • -5 = the hitscan STARTS from 5 blocks to the left.

      • 0 = Hitscan is centered where the player is.

      • 5 = hitscan STARTS from 5 blocks to the right of the player.

    • yShift: Same as left,right, except with a different axis.

    • throughEntities: Boolean: Whether or not the HITSCAN can go through entities.

    • throughBlocks: Boolean: Whether or not the HITSCAN can go through blocks.

    • Commands: The same than AROUND commands, you can type command1 <+> command2 ... and use the placeholder %around_target%

  • Image to understand:

INVULNERABILITY

  • Info: Sets the player invulnerable for a certain amount of time

  • Command: INVULNERABILITY {ticks}

    • It supports negative values to decrease the invulnerability time, such as the one after being hit.

  • Example:

- INVULNERABILITY 60

JUMP

  • Info: Launches the player in the air

  • Command: JUMP {number} [fall damage]

    • {number}: To how strong the launch will be

    • [fall damage]: Select if want the command to have fall damage. Default -> false

  • Example:

- JUMP 20

LAUNCHENTITY

  • Info: Launches an entity to your direction

  • Command: LAUNCHENTITY {entityType} {speed} [angle rotation y]

    • {entityType}: Mob ID of the launched entity (ALL CAPS)

    • {speed}: (number, Double) Define the speed of the entity

    • [angle rotation y]: (only for 1.14 and +) (not necessary) (default = 0) (in degrees) Define the direction where the entity will be launched

  • Example:

- LAUNCHENTITY PIG 2
  • Example to make tri-shoot:

- LAUNCHENTITY PIG 2
- LAUNCHENTITY PIG 2 15
- LAUNCHENTITY PIG 2 -15

MLIB_DAMAGE

- MLIB_DAMAGE 10 PHYSICAL false FIRE

MOB_NEAREST

  • Info: Targets the nearest mob from the player/target.

  • Command:

    • MOB_NEAREST {max accepted distance} {command}

      • {max accepted distance}: Max distance accepted that the "entity" can be.

      • {command}: The command that will be executed

  • Example:

Damages nearest player

- MOB_NEAREST 10 DAMAGE 5

NEAREST

  • Info: Targets the nearest player from the player/target.

  • Command:

    • NEAREST {max accepted distance} {command}

      • {max accepted distance}: Max distance accepted that the "target" can be.

      • {command}: The command that will be executed

  • Example:

Damages nearest player

- NEAREST 8 DAMAGE 5

OPMESSAGE

  • Info: It sends a message to OP online players and the console

  • Command: OPMESSAGE {text}

    • {text}: Text to send

  • Example:

- OPMESSAGE This is my debug message

PARTICLE

  • Info: Spawns particles in the player/target's location

  • Command: PARTICLE {type} {quantity} {offset} {speed}

    • {type}: The type of particle (ALL CAPS)

    • {quantity}: The amount of particles that will spawn

    • {offset}: The radius of the area where the particles may spawn in the player/target's location

    • {speed}: To how fast or how big particles will be

  • Example:

- PARTICLE FIREWORKS_SPARK 10 0.1 0.5

REGAIN HEALTH

  • Info: Gives you a specific amount of HP

  • Command: REGAIN HEALTH {amount}

    • {amount}: The amount of HP you want to gain

  • Example:

- REGAIN HEALTH 10

It suports negative values in case of you want to do "true damage".

REMOVEBURN

  • Info: Extinguishes you from burning

  • Command: REMOVEBURN

  • Example:

- REMOVEBURN

REMOVEGLOW

  • Info: Add the glowing effect with a specific color to the player | target.

  • Command: REMOVEGLOW [color]

  • Example:

- REMOVEGLOW BLACK

SETGLOW

  • Info: Add the glowing effect with a specific color to the player | target.

  • Command: SETGLOW [color]

  • Example:

- SETGLOW BLACK

Compatible with the plugin TAB using -> %score_cmd-glow%

SETHEALTH

  • Info: Sets your health into a specific amount

  • Command: SETHEALTH {amount}

    • {amount}: The amount of health you want it to set to

  • Example:

SETHEALTH 10

SETPITCH

  • Info: Forces the player to look in a certain pitch position (-90/90 degrees, up down direction)

  • Command: SETPITCH {pitch_number} [keepVelocity]

    • {pitch_number}: The number that you want to input. Placeholders work too

    • [keepVelocity]: It allows to keep the velocity of the player

  • Example:

- SETPITCH 0 false
- SETPITCH %target_pitch% false

SETYAW

  • Info: Forces the player to look in a certain yaw position (360 degrees, left right direction)

  • Command: SETYAW {yaw_number} [keepVelocity]

    • {yaw_number}: The number that you want to input. Placeholders work too

    • [keepVelocity]: It allows to keep the velocity of the player

  • Example:

- SETYAW 10 false

SPIN

  • Info: Spin the target

  • Command: SPIN {duration ticks} {velocity}

    • {duration ticks}: The duration of the spin

    • {velocity}: The velocity of the spin

  • Example:

- SPIN 20 1

Q: How to freeze targets/players/mobs ?

A: run SPIN {duration} 0 for example

STEAL

  • Info: Steal an item from the target inventory

  • Command: STEAL [slot] {remove item default true}

    • [slot] => -1 to mainhand

  • Example:

- STEAL 10

STRIKELIGHTNING

  • Info: Strikes a lightning bolt with no damage to the one that runs the command

  • Command: STRIKELIGHTNING

  • Example:

- STRIKELIGHTNING

This is not the same as essential's smite command. If you want to smite your targets, put it on target commands or entity commands along with the proper activators like PLAYER_CLICK_ON_PLAYER for example.

STUN ENABLE/DISABLE

  • Info: It will enable or disable the stun for the player (it lays you down and blocks you from moving your camera

  • Commands:

    • STUN_ENABLE

    • STUN_DISABLE

  • Example:

- STUN_ENABLE
- DELAY 5
- STUN_DISABLE

TELEPORT

  • Info: Teleports the player/entity to the location

  • Command: TELEPORT {world} {x} {y} {z} [pitch] [yaw] [keepVelocity]

    • {world}: The world of the location to teleport

    • {x}: The coordinate x of the location to teleport.

    • {y}: The coordinate y of the location to teleport.

    • {z}: The coordinate z of the location to teleport.

    • [pitch]: Optional pitch of the teleport location

    • [yaw]: Optional yaw of the teleport location

    • [keepVelocity]: Allows to not stop the player velocity.

  • Example:

- TELEPORT ApocalypseWorld 70 70 70

TELEPORTONCURSOR

  • Info: Teleports you on your cursor

  • Command: TELEPORTONCURSOR {range} {acceptAir}

    • {range}: To how far you want to teleport

    • {acceptAir}: To be able to teleport even in air, you need to set this to true

  • Example:

- TELEPORTONCURSOR 8 true

TRANSFER_ITEM

  • Info: It transfer an item on the inventory

  • Command: TRANSFER_ITEM {slot of launcher} {slot of receiver}

    • {slot of launcher}: Slot of the item who is going to move

    • {slot of receiver}: Slot where the item will land

  • Example:

- TRANSFER_ITEM 38 40

-1 to mainhand

UNSAFE_TELEPORTONCURSOR

  • Info: Teleports you on your cursor without considering that you will end up on in impossible places

  • Command: UNSAFE_TELEPORTONCURSOR {maxRange}

    • {maxRange}: To how far you want to teleport

  • Example:

UNSAFE_TELEPORTONCURSOR 20

WORLDTELEPORT

  • Info: Teleport to a world

  • Command: WORLDTELEPORT {world}

  • Example:

- WORLDTELEPORT spawn_end

Animation Commands

  • BREAK_BOOTS_ANIMATION

  • BREAK_CHESTPLATE_ANIMATION

  • BREAK_HELMET_ANIMATION

  • BREAK_LEGGINGS_ANIMATION

  • BREAK_MAIN_HAND_ANIMATION

  • BREAK_OFF_HAND_ANIMATION

  • HURT_ANIMATION

  • SWING_MAIN_HAND

  • SWING_OFF_HAND

  • TELEPORT_ENDER_ANIMATION

  • TOTEM_ANIMATION

Last updated