Ssomar Plugins
🛒 Purchase📢 Discord❤️ Donate
  • Tools for all Plugins [Score]
    • 📚Custom Commands
      • Player & Target Commands
      • Mixed Commands (Player & Entity)
      • Entity Commands
      • Block Commands
      • Item Commands
      • Utility Commands
    • 📚Custom Conditions
      • Player & Target Conditions
      • Entity Conditions
      • Block Conditions
      • World Conditions
      • Item Conditions
      • Placeholder Conditions
      • Custom EI Conditions
    • 🏹Custom Projectiles
    • 📚Placeholders
    • ✨ Score particles
    • 🧮 Score Variables
    • ✔️Compatible Plugins
    • 🤖General Questions | Guides
      • Technical-Level Info
      • SCore
      • Math Formulas
      • Utilities
        • Code Bin/Stock
    • 📰 Score
      • General config
      • Commands
    • 🔘 Custom triggers
  • ExecutableItems
    • 📌Information EI
    • 📃Configurations
      • General Configuration
      • Item Configuration
        • Item Features
        • Item Restrictions/Resistances
      • Activator Configuration
        • List of the Activators
        • Activators features
    • ⌨️Commands & Permissions
    • 🤖Questions | Guides
      • Frequently Asked Questions
        • Free vs Premium
        • Install/update/errors
          • How to install correctly
          • How to update correctly
          • Installation errors [logs]
          • Plugin doesn't work 😡😡
          • command /ei doesn't work
          • Just installed the plugin and have errors on my logs
        • Players can't use the items
        • Basic tutorials
        • Item disappears | Limit
        • EI COMMANDS doesn't work
        • How to use vanilla commands
        • Server chat spamming
        • Custom crafting
        • Folders on /ei show
        • Item as player head
        • Armor trims
        • Attributes not working
        • How to duplicate an EI Item
        • How to change particle vanilla command color
        • Edit plugin messages
        • Item Textures
        • I want to give an item on join
        • Issue with written book
        • How to add custom NBTTag
        • HEX COLORS doesn't work
        • HUGE delay | cooldown | command time
        • Trident duplication
        • Custom name feature is not working
        • Score database large
        • PROJECTILE_HIT_... activators not working
        • Not so frequentlly asked questions
      • Items explanations
        • Item ideas - How to create...?
        • Hight-Powered Grappling Hook
        • Morph Tools
        • Delayed Teleport Towards Saved Location
        • Box of ender pearls
        • Swap position
        • Magnet
        • Item frame visibility toggler
        • Hermes boots
        • EI |WorldEdit -> SET COMMAND
        • Bag of items
        • Infinite rockets
        • Trident that works when not raining
        • [Complex] Moving Particle Projectile
      • Methods | Template
        • Multiple projectiles on one item
        • Custom drops
        • Deal % of entity HP
        • Variable conditions
        • Armor Set Bonus
        • Custom durability
          • Custom durability bar
        • Action Counter
        • On / Off Switch
        • Custom food
        • Raycast
        • Random activators selector
        • Break blocks not depending on item
        • Infinite | finite blocks
        • Damage | Hit features
        • Backstab
        • Item date on lore
        • Entity health condition
        • Dashes | Commands & usage
        • Guns
        • RNG Chance activator
        • Only usable on mainhand
        • Transform Vanilla Items into ExecutableItems
        • Insta pickup
        • Epic particles
        • Custom totems
        • One Time Loop
        • OneTime action
        • MINEINCUBE command whitelist or blacklist blocks
        • Cancel a delayed command
        • Worldedit schematic
        • Condition 1 between 5 different armor pieces
        • Creating Items with multiple activators with varying conditions while having only one error message
        • [Free version] Mana Requirement
        • Setting Up a System that runs the auto update feature once per update
        • [Outdated] Global Cooldown
      • Custom projectiles implementation
        • Projectile ideas - How to create...?
        • Creating a basic projectile
        • Launch Arrows in cone
        • Launch Diamond Axe
        • Custom Actions / Damages per projectiles
      • Custom textures
        • Custom textures [1.21 --]
          • General items
          • Per states texture
          • Custom armor (using armor trims)
          • Animated textures
          • 3D Models
          • Uploading texture pack
          • Fixing Invalid PNG Files
        • Custom texture [1.21+]
      • Custom sounds
      • Informal Guides
      • Plugin performances optimization
    • 🔦MC Versions Compatibility
    • ⚙️Developer API
  • ExecutableBlocks
    • 📌Information EB
    • 📃Configurations
      • General Configuration
      • Block Configuration
        • Block Features
        • Blocks Examples
      • Activator Configuration
        • List of the Activators
        • Activators features
        • Activator Examples
    • ⌨️Commands & Permissions
    • 🤖Question | Guides
      • Frequently Asked Questions
        • Free vs Premium
        • Install/update/errors
          • How to install correctly
          • How to update correctly
          • Installation errors [logs]
          • Plugin doesn't work 😡😡
        • Players can't use the blocks
        • Block disappears | Limit
        • How to use vanilla commands
        • Server chat spamming
        • Custom crafting
        • Block as player head
        • Tutorial
        • Block states
        • Block Textures
        • My condition is checking the owner
        • SETEXECUTABLEBLOCK does not work
        • Holograms won't vanish
      • Tutorials
        • Boss summoner
        • Item generator
        • Custom crops
        • Custom TNT
        • Block that generate a structure
      • Methods
        • Timed actions
        • Worldedit schematic
    • ⚙️Developer API
  • ExecutableEvents
    • 📌Information EE
    • 📃Configurations
      • General Configuration
      • Activator Configuration
        • List of the Activators
        • Activators features
    • 🤖Question | Guides
      • Informal Guides
      • Frequently Asked Questions
        • Install/update/errors
          • How to install correctly
          • How to update correctly
          • Installation errors [logs]
          • Plugin doesn't work 😡😡
        • How to use vanilla commands
        • Server chat spamming
      • Tutorials
        • Toggle System/Command with Godmode
        • Custom enchants by lore
        • Give new/old players an item once
        • Run commands after killing x amount of mobs
        • Detect player entry/leave from a worldguard region
    • ⌨️Commands & Permissions
  • MyFurniture
    • 📌Information MF
    • 📃Configurations
      • General Configuration
      • Furniture Configuration
        • Furniture Features
        • Furntiture Examples
      • Activator Configuration
        • List of the Activators
        • Activators features
    • 🤖Question | Guides
      • Frequently Asked Questions
        • Install/update/errors
          • How to install correctly
          • How to update correctly
          • Installation errors [logs]
          • Plugin doesn't work 😡😡
        • Import your own Furniture
        • How to use vanilla commands
        • Server chat spamming
        • Free vs Premium
    • ⌨️Commands & Permissions
  • ExecutableCrafting
    • 📌Information EC
    • 📃Configurations
      • General Configuration
      • Recipe Configuration
        • Recipe Features
        • Crafting Recipe Examples
      • Recipe groups
      • Recipe Book
    • 🤖Questions | Guides
      • Free vs Premium
      • Install/update/errors
        • How to install correctly
        • How to update correctly
    • ⌨️Commands & Permissions
  • AI Chat Moderation
    • 📌Information ACM
    • 📃Configurations
    • ⌨️Commands & Permissions
  • CustomPiglinsTrades
    • 📌Information CPT
    • ⌨️Commands & Permissions
    • ✔️Compatible Plugins
  • ScreenShop
    • 📌Information ScreenShop
  • TEAM AND DONATIONS
    • 🎆Contact / Support us ?
Powered by GitBook
On this page
  • Mixed Commands
  • Custom commands
  • ABSORPTION
  • ACTIONBAR
  • ADD_ITEM_ATTRIBUTE
  • ADD_ITEM_ENCHANTMENT
  • ADD_ITEM_LORE
  • BOOTS
  • BOSSBAR
  • CANCEL_PICKUP
  • CHAT
  • CHESTPLATE
  • CLOSE_INVENTORY
  • CROPS_GROWTH_BOOST
  • DISABLE_FLY_ACTIVATION
  • DISABLE_GLIDE_ACTIVATION
  • EICOOLDOWN
  • EBCOOLDOWN
  • EECOOLDOWN
  • FLY_ON
  • FLY OFF
  • FORCE_DROP
  • FORMAT_ENCHANTMENTS
  • GRAVITY_DISABLE
  • GRAVITY_ENABLE
  • HEAD
  • JOBS_MONEY_BOOST
  • LAUNCH
  • LEGGINGS
  • LOCATED_LAUNCH
  • MINECART_BOOST
  • MIX_HOTBAR
  • MODIFY_DURABILITY
  • OPEN_CHEST
  • OPEN_ENDERCHEST
  • OPEN_WORKBENCH
  • OXYGEN
  • PROJECTILE_CUSTOMDASH1
  • REGAIN_FOOD
  • REGAIN_MAGIC
  • REGAIN_SATURATION
  • REMOVE_ENCHANTMENT
  • REMOVE_LORE
  • REPLACE_BLOCK
  • SEND_BLANK_MESSAGE
  • SEND_MESSAGE
  • SEND_CENTERED_MESSAGE
  • SET_ARMOR_TRIM
  • SET_BLOCK
  • SET_BLOCK_POS
  • SET_EXECUTABLE_BLOCK
  • SET_ITEM_NAME
  • SET_ITEM_COLOR
  • SET_ITEM_ATTRIBUTE
  • SET_ITEM_CUSTOM_MODEL_DATA
  • SET_ITEM_COOLDOWN
  • SET_ITEM_MATERIAL
  • SET_ITEM_LORE
  • SET_TEMP_BLOCK_POS
  • SPAWN_ENTITY_ON_CURSOR
  • SUDO
  • SUDO_OP
  • SWAP_HAND
  • TRANSFER_ITEM
  • XPBOOST
  • Mixed Commands
Edit on GitHub
  1. Tools for all Plugins [Score]
  2. Custom Commands

Player & Target Commands

PreviousCustom CommandsNextMixed Commands (Player & Entity)

Last updated 7 days ago

You need to know that by default all commands are run by the console, so if you want that the player run the command add or before.

(Click on SUDO or SUDO_OP for more infos)

Don't use this option for vanilla commands and CUSTOM COMMANDS, to use vanilla commands properly go to FAQ and "How to use vanilla commands",

"Multi-world" compatibility for the vanilla commands.

execute in <<NAMEOFYOUR_WORLD>> run ...

Example, you want summon a Zombie in the world SsomarWorld:

execute in <<SsomarWorld>> run summon zombie 100 50 100

Example with a placeholder:

execute in <<%player_world%>> run summon zombie 100 50 100

You want keep the brut HEX form in your command ? add the tag BRUT_HEX in your command. It works anywhere in the command line but it's recommended to put it in the first part of the cmd to make it less confusing

By default all commands aren't executed if the player is offline. (the commands will be executed at the connection of the player)

But you can add the tag [<OFFLINE>] in your commands to remove this restriction.

(Very useful for broadcast, boost, giveall commands, ...)

Example:

  • [<OFFLINE>] broadcast hello !

  • [<OFFLINE>] execute at %player% run setblock %block_x_int%+3 %block_y_int%-1 %block_z_int%-14 minecraft:air

You can use [<CLEAR_IF_DISCONNECT>] if you want to clear commands if the player disconnects

Example:

  • [<CLEAR_IF_DISCONNECT>] say meow

Mixed Commands

In addition of the following list of commands you can also use

These commands can be used in the Player related commands OR Entity related commands.

Custom commands

Sorted by alphabetical order

ABSORPTION

  • Info: Gives absorption effect to the player

  • Command settings:

    • amount: amount of absorption half hearts. Supports negative values to remove.

    • time: time of the effect in ticks. Set it empty or "0" if want to be infinite.

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - ABSORPTION amount:5 time:200 # Gives the player absorption
  activator1: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of target
    targetCommands:
    - ABSORPTION amount:5 time:200 # Gives the target absorption

Your MAX_ABSORPTION attribute value must be above 0 !

Check the value by typing : /attribute PLAYER_NAME minecraft:max_absorption base get

And you can increase it by typing: /attribute PLAYER_NAME minecraft:max_absorption base set 20

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    # You can do that to temporary up the max_absorption value of the player
    - minecraft:attribute %player% minecraft:max_absorption base set 5
    - ABSORPTION amount:5 time:200
    - DELAY_TICK 200
    - minecraft:attribute PLAYER_NAME minecraft:max_absorption base set 0
  activator1: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of target
    targetCommands:
    # You can do that to temporary up the max_absorption value of the target
    - minecraft:attribute %player% minecraft:max_absorption base set 5
    - ABSORPTION amount:5 time:200
    - DELAY_TICK 200
    - minecraft:attribute PLAYER_NAME minecraft:max_absorption base set 0

ACTIONBAR

  • Info: Display the action bar with your text + the time remaining (59, 58, 57...).

  • Command:

    • ACTIONBAR {Your text} {delay}

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - `ACTIONBAR &6Hey &e%player% ! 10` # Sends an ACTIONBAR to the player
  activator1: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of target
    targetCommands:
    - `ACTIONBAR &6Hey &e%player% ! 10`# Sends an ACTIONBAR to the target

ADD_ITEM_ATTRIBUTE

  • Info: It adds an attribute to an item as sum or rest operation.

  • Command: settings

    • slot: The slot where it will be applied. -1 for mainhand

    • attribute: The attribute you want to add

    • value: The value for the operation

    • equipmentSlot: The slot where the attribute will be enabled

    • mode: select the mode of addition

      • mode:ADD # Add the attribute to the item

      • mode:OVERRIDE # Remove the current attributes of the same type of the item + Add the attribute to the item

      • mode:STACK # Stack with the attribute present on the item, if no one exist it adds it

    • affectDefaultAttributes: true or false # When it's true the mode OVERRIDE will also override the default attributes, and for the MODE stack it allows to stack with the default attributes (green)

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - ADD_ITEM_ATTRIBUTE slot:%slot% attribute:GENERIC_ATTACK_DAMAGE value:1.0 equipmentSlot:HAND mode:ADD # Add this attribute to the player
  activator1: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of target
    targetCommands:
    - ADD_ITEM_ATTRIBUTE slot:%slot% attribute:GENERIC_ATTACK_DAMAGE value:1.0 equipmentSlot:HAND mode:STACK affectDefaultAttributes: true # Add this attribute to the target

And the slots here

ADD_ITEM_ENCHANTMENT

  • Info: It adds an enchantment on an item on a specific slot with certain level

  • Command: settings

    • slot: The slot where it will be applied. -1 for mainhand

    • enchantment: The enchantment that you want to be applied, don't use spaces, use the minecraft enchantments not the display ones.

    • level: The level for the enchantment

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - ADD_ITEM_ENCHANTMENT slot:-1 enchantment:unbreaking level:1 
  activator1: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of target
    targetCommands:
    - ADD_ITEM_ENCHANTMENT slot:-1 enchantment:unbreaking level:1

You can find the enchantments here

ADD_ITEM_LORE

  • Info: Adds a line of lore

  • Command settings

    • slot: The slot where it will be applied. -1 for mainhand

    • text: The text for the new lore line

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - ADD_ITEM_LORE slot:%slot% text:&7Item of %player%
  activator1: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of target
    commands:
    - ADD_ITEM_LORE slot:%slot% text:&7Item of %target% added by %player%

BOOTS

  • Info: Puts the item in your main hand to your boots slot. (Will not work if the item has "Curse of Binding")

  • No command setting

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - BOOTS

BOSSBAR

  • Info: Creates a bossbar text for a certain duration time.

  • Command: settings

    • time: The duration of the bossbar in ticks

    • color: Color of bossbar text

    • text: text on the bossbar

    • count: how many times you want it to count

      • if this option is present, the time argument will not matter anymore

    • countTicks: true/false whether you want it to count in ticks or in seconds instead

    • countOrder:

      • ascending: makes the timer count from 0

      • descending: makes the timer count from the given

    • overrideMode:

      • NO_OVERRIDE: It doesn't override the other Bossbars

      • OVERRIDE_ALL: It will override all other BossBars sent by SCore

      • OVERRIDE_SAME_TEXT: It will override the other Bossbars sent by SCore that contain the same text

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - BOSSBAR time:200 color:RED text:This is a bossbar text
    - BOSSBAR time:20 color:BLUE text:Hello_world count:50 countTicks:true countOrder:ascending
    - BOSSBAR time:200 color:RED text:This is a bossbar text overrideMode:OVERRIDE_SAME_TEXT

CANCEL_PICKUP

  • Info: Disables pickup on a player for a set amount of time

  • Command: settings

    • time: The duration in ticks of how long till the player can pickup items again

    • material: If set the player cant pickup only the material specified, if null he can't pickup everything

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - CANCEL_PICKUP time:600
    - CANCEL_PICKUP time:600 material:stone

The only way to RESET this command after setting a time in ticks is reloading or restarting the server. If would like a way to reset this suggest it in the #suggestions channel on Discord.

CHAT

  • Info: Send a message from the player to the chat

  • Command settings

    • text: Text to send

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - CHAT &6Hello !!

CHESTPLATE

  • Info: Puts the item in your main hand to your chestplate slot. (Will not work if the item has "Curse of Binding")

  • No command setting

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - CHESTPLATE

CLOSE_INVENTORY

  • Info: It closes the inventory to the player

  • No command setting

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - CLOSE_INVENTORY

CROPS_GROWTH_BOOST

  • Info: It boost the growth of the crops around you

  • Command settings:

    • radius: The radius of the boost (Default 5)

    • delay: The delay in ticks between each growth boost

    • duration: The duration in ticks of the total boost

    • chance: The chance of growth the blocks have when the boost is applied

  • Example:

The following command will generate 20 growth boost every 10 ticks. All blocks within the radius will have 50% chance to growth when a boost is applied.

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - CROPS_GROWTH_BOOST radius:5 delay:10 durations:200 chance:50

DISABLE_FLY_ACTIVATION

  • Info: Deny the usage of the fly for a player (Gliding in Elytra is not considered as flying)

  • Command settings

    • time: The duration in seconds of the effect

  • Example: (The command below disable the activation of the fly during 1 minute)

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - DISABLE_FLY_ACTIVATION time:60

DISABLE_GLIDE_ACTIVATION

  • Info: Deny the use of elytra for a period of time

  • Command settings:

    • time: The duration in seconds of the effect

  • Example: (the command below disable the use of elytra for 20 secs)

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - DISABLE_GLIDE_ACTIVATION time:20

EICOOLDOWN

  • Info: It applys a cooldown to a specific ExecutableItems

  • Command: EICOOLDOWN {PLAYER} {ID} {SECONDS} {boolean TICKS} [optional activator id]

    • {PLAYER}: The player to target the command

    • {ID}: The id of the ExecutableItem or "all" for all ExecutableItems

    • {Seconds}: The amount of time

    • {boolean TICKS}: If you want the time to be in ticks

    • [optional activator id]: You can apply it to a specific activator id

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - EICOOLDOWN %player% thisismyid 10 true # For the ExecutableItem thisismyid 
    - EICOOLDOWN %player% all 10 true # For all ExecutableItems

EBCOOLDOWN

  • Info: It applys a cooldown to a specific ExecutableBlocks

  • Command: EBCOOLDOWN {PLAYER} {ID} {SECONDS} {boolean TICKS} [optional activator id]

    • {PLAYER}: The player to target the command

    • {ID}: The id of the ExecutableBlocks or "all" for all ExecutableBlocks

    • {Seconds}: The amount of time

    • {boolean TICKS}: If you want the time to be in ticks

    • [optional activator id]: You can apply it to a specific activator id

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - EBCOOLDOWN %player% thisismyid 10 true # For the ExecutableBlock thisismyid 
    - EBCOOLDOWN %player% all 10 true # For all ExecutableBlocks

EECOOLDOWN

  • Info: It applys a cooldown to a specific ExecutableItems

  • Command: EECOOLDOWN {PLAYER} {ID} {SECONDS} {boolean TICKS} {optional activator}

    • {PLAYER}: The player to target the command

    • {ID}: The id of the ExecutableEvent or "all" for all ExecutableEvents

    • {Seconds}: The amount of time

    • {boolean TICKS}: If you want the time to be in ticks

    • [optional activator id]: You can apply it to a specific activator id

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - EECOOLDOWN %player% thisismyid 10 true # For the ExecutableEvent thisismyid 
    - EECOOLDOWN %player% all 10 true # For all ExecutableEvents

FLY_ON

  • Info: Gives the player creative flight

  • No command setting

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - FLY_ON

FLY OFF

  • Info: Disables creative flight on the player and if the player's flight get's disabled midair, the player will be teleported on the possible block under the player.

  • Command settings:

    • teleportOnTheGround: (true or false) Whether the player would get teleported to the ground or not (Default true)

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - FLY_OFF teleportOnTheGround:true

FORCE_DROP

  • Info: It drops all the EI in your inventory with the id specified

  • Command settings

    • ei_id: Specify the EI that you want to be force dropped by the player

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - FORCE_DROP ei_id:excalibursword

FORMAT_ENCHANTMENTS

  • Info: It formats all enchantments in your lore

  • Command: FORMAT_ENCHANTMENTS {slot}

    • It supports -1 as slot to target the mainhand

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - FORMAT_ENCHANTMENTS %slot%

GRAVITY_DISABLE

  • Info: It stops the gravity for the player, stopping the player to "fall" down or going up.

  • No command settings

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - GRAVITY_DISABLE
    - DELAY 5
    - GRAVITY_ENABLE

GRAVITY_ENABLE

  • Info: It enable again the gravity for the player, so the player will fall normally.

  • No command setting

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - GRAVITY_DISABLE
    - DELAY 5
    - GRAVITY_ENABLE

HEAD

  • Info: Puts the item in your main hand to your head slot. (Will not work if the item has "Curse of Binding")

  • No command setting

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - HEAD

JOBS_MONEY_BOOST

It supports "Jobs reborn"

  • Info: Increases the money gained temporarily

  • Command settings

    • multiplier: Multiplier value

    • time: Duration in seconds of the boost in seconds

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - JOBS_MONEY_BOOST multiplier:2.0 time:10

LAUNCH

  • List:

Projectile Types
  • ARROW

  • DRAGONFIREBALL

  • EGG

  • ENDERPEARL

  • FIREBALL

  • LARGEFIREBALL

  • LINGENRINGPOTION

  • LLAMASPIT

  • SHULKERBULLET

  • SIZEDFIREBALL

  • SNOWBALL

  • TRIDENT

  • WITHERSKULL

  • Command settings

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

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

    • velocity: To customize the velocity of the projectile

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - LAUNCH projectile:My_Custom_Proj velocity:5
  • Example multiple shoots:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - LAUNCH projectile:WITHERSKULL
    - LAUNCH projectile:WITHERSKULL angleRotationVertical:20
    - LAUNCH projectile:WITHERSKULL angleRotationVertical:-20

If you use the LAUNCH COMMAND in the activator PLAYER_LAUNCH_PROJECTILE, and the projectile has been launched by a bow, the projectile launch with the custom LAUNCH command will keep the same velocity.

LEGGINGS

  • Info: Puts the item in your main hand to your leggings slot. (Will not work if the item has "Curse of Binding")

  • No command setting

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - LEGGINGS

LOCATED_LAUNCH

  • Info: Launches a projectile at a specific location

  • Command: settings:

    • frontValue: positive=front , negative=back - Front/Back Position. For example, if you want to spawn the projectile 5 blocks far from where you're facing, use a higher positive value

    • rightValue: right=positive, negative=left - Right/Left Position. For example, if you want the projectile to spawn to your left, use a higher negative value

    • yValue: To how high up from your Y position will the projectile will spawn.

    • velocity: To how fast will the projectile fly. Set the value to 0 for the projectile to fall downwards upon spawning the projectile.

    • angleRotationVertical: (Optional) you can add a vetical rotation for your projectile (in degrees)

    • angleRotationHorizontal: (Optional) you can add a horizontal rotation for your projectile (in degrees)

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - LOCATED_LAUNCH projectile:ARROW frontValue:0 rightValue:0 yValue:0 velocity:1 angleRotationVertical:0 angleRotationHorizontal:0

MINECART_BOOST

  • Info: It boost you when riding a minecart (Effect close to when you go up of a powered rail)

  • Command settings:

    • boost: The boost speed

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - MINECART_BOOST boost:10

MIX_HOTBAR

  • Info: it mixes the hotbar of the player

  • No command setting

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - MIX_HOTBAR

MODIFY_DURABILITY

  • Modifies the durability of a specific item in a specific slot

  • Command settings:

    • modification: Positive value to increase the durability. Negative value to decrease the durability

    • slot: The slot number of the item (-1 for the held slot)

    • supportUnbreaking: (true or false) If it supports the unbreaking enchantment or not

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - MODIFY_DURABILITY modification:-1 slot:%slot% supportUnbreaking:true

OPEN_CHEST

  • Info: It opens a chest in the selected location

  • Command: OPENCHEST {world} {x} {y} {z} [bypassProtections]

    • {bypassProtections}: If it will open the chest anyways even if its protected

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - OPENCHEST VanillaWorld 100 100 100

It supports barrels

OPEN_ENDERCHEST

  • Info: It opens the ender chest for the player that runs the activator

  • No command setting

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - OPEN_ENDERCHEST

OPEN_WORKBENCH

  • Info: It opens a workbench for the player that runs the activator

  • No command setting

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - OPEN_WORKBENCH

OXYGEN

  • Info: It gives oxygen to the target

  • Command settings:

    • time: The duration in ticks of oxygen you want to give

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - OXYGEN time:200

PROJECTILE_CUSTOMDASH1

  • Info: Similar to CUSTOMDASH1 but the xyz will be replaced with the xyz coords of the nearest projectile from you.

  • Command settings:

    • fallDamage: Whether you will get fall damage or not (If you forgot to set whether it's true or false, the default will be false. To get fall damage, set this to true)

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - PROJECTILE_CUSTOMDASH1 fallDamage:false

REGAIN_FOOD

  • Info: Gives you a specific amount of food/saturation

  • Command settings:

    • amount: The amount of saturation points you want to gain. Use negative values to reduce hunger points

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - REGAIN_FOOD amount:5

REGAIN_MAGIC

  • Info: Gives the player specific values of a specific magic

  • Command settings:

    • ecoSkillsMagicID: The ID of the Ecoskills's magic.

    • amount: The amount to get.

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - REGAIN_MAGIC ecoSkillsMagicID:mana amount:15

It supports negative values.

REGAIN_SATURATION

  • Info: Gives you a specific amount of saturation

  • Command settings:

    • amount: The amount of saturation you can to give

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - REGAIN_SATURATION amount:10

REMOVE_ENCHANTMENT

  • Info: Remove an enchantment from a slot

  • Command settings:

    • slot: Slot to remove the enchantment from

    • enchantment: Enchantment to remove (ALL for every enchantment)

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - REMOVE_ENCHANTMENT slot:-1 enchantment:ALL

REMOVE_LORE

  • Info: Remove a lore line

  • Command settings:

    • {slot}: Slot to remove the lore from

    • {line}: The line that you want to remove

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - REMOVE_LORE slot:1 line:5

REPLACE_BLOCK

  • Info: Replaces the block the player is looking at into a different one

  • Command settings

    • {material}: Block ID (Block states are supported)

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - REPLACE_BLOCK STONE_BRICKS
    - REPLACE_BLOCK WATER[LEVEL=0]

SEND_BLANK_MESSAGE

  • Info: Sends you a blank message

  • No command setting

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - SEND_BLANK_MESSAGE

SEND_MESSAGE

  • Info: Sends you a message

  • Command settings:

    • message: the message you want to send

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    commands:
    - SEND_MESSAGE text:&fThis is a somewhat random text.

SEND_CENTERED_MESSAGE

  • Info: Sends you a message centered in the chat

  • Command settings:

    • message: the message you want to send

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - SEND_CENTERED_MESSAGE text:&fThis is a somewhat random text.

SET_ARMOR_TRIM

  • Info: Set the specific armor trim with the specific pattern for the specified slot

  • Command settings:

    • slot: The slot to apply the command (slot -1 for main hand)

    • pattern: The pattern of the trim (if 'null' or 'remove' it will remove the current pattern)

    • patternMaterial: The material of the pattern

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - SET_ARMOR_TRIM slot:38 pattern:vex patternMaterial:netherite
    - SET_ARMOR_TRIM slot:38 pattern:null #to clear the armor trim

You can find all trim pattern here:

You can find all trim material here:

SET_BLOCK

  • Info: Place a block on the block targeted by the player

  • Command settings:

    • blockface: You can specify or not a blockFace to force the placement above for example

    • material: Block ID (Block states are supported)

    • bypassProtection: Whether or not it will place the block even if the player doesnt have the permission

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - SET_BLOCK blockface:UP material:OAK_WOOD
    - SET_BLOCK material:FURNACE[LIT=TRUE]

You can find all blockface here:

SET_BLOCK_POS

  • Info: Set a block in a specific position

  • Command: SETBLOCKPOS {x} {y} {z} {material} [bypassProtection true-false] [replace true or false]

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - SETBLOCKPOS %entity_x% %entity_y% %entity_z% BEDROCK true

SET_EXECUTABLE_BLOCK

  • Info: Setblock but for Executable Blocks. (EXECUTABLE BLOCKS MUST BE INSTALLED)

  • Command settings:

    • id: ID of the executable block you are trying to place down

    • x: X-Coordinate

    • y: Y-Coordinate

    • z: Z-Coordinate

    • world: Name of the world

    • replace: true or false. Whether it will replace the existing block in the said coordinates or not

    • bypassProtection: if you want bypass the protections like worldguard (default false)

    • ownerUUID: (Optional) The uuid of the supposed owner of the executable block

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - SET_EXECUTABLE_BLOCK id:Mithril_Ore x:%block_x_int% y:%block_y_int% z:%block_z_int% world:%block_world% replace:false bypassProtection:true ownerUUID:%player_uuid%

SET_ITEM_NAME

  • Info: Sets a custom name for your item in a specific slot

  • Command settings:

    • slot: The slot where it will be applied. -1 for mainhand

    • name: the new name of the item

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - SET_ITEM_NAME slot:%slot% name:&eThis is the new name of the item

SET_ITEM_COLOR

  • Info: Sets a specific color for the item (item colorables as leather armor)

  • Command settings:

    • slot: The slot where it will be applied. -1 for mainhand

    • color: number value of the color

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - SET_ITEM_COLOR slot:1 color:0

It supports FIREWORK_STAR

SET_ITEM_ATTRIBUTE

  • Info: It sets an attribute to an item.

  • Command settings:

    • slot: The slot where it will be applied. -1 for mainhand

    • attribute: The attribute you want to add

    • value: The value for the operation

    • equipmentSlot: The slot for the attribute

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - SET_ITEM_ATTRIBUTE slot:%slot% attribute:GENERIC_ARMOR value:10 equipmentSlot:CHEST

SET_ITEM_CUSTOM_MODEL_DATA

  • Info: Sets a specific custom model data to the specific item

  • Command settings:

    • slot: The slot where it will be applied. -1 for mainhand

    • customModelData: value of the customModelData

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - SET_ITEM_CUSTOM_MODEL_DATA slot:10 customModelData:10

SET_ITEM_COOLDOWN

  • Gives the player/target cooldown on an item

  • Command settings:

    • material or group: The type of material or the group

    • cooldown:: cooldown in seconds

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - SET_ITEM_COOLDOWN material:ENDER_PEARL cooldown:10
activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - SET_ITEM_COOLDOWN group:my_cooldown_group cooldown:10

more info for the group arg:

SET_ITEM_MATERIAL

Only works at 1.20.5 and above

  • Replaces the material of the item with a different material while keeping the nbt of the target item

  • Commands settings:

    • slot: Slot number (-1 for mainhand)

    • material: The material you want the item to become into

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - SET_ITEM_MATERIAL slot:10 material:DIAMOND_HOE

SET_ITEM_LORE

  • Info: Sets a line of lore

  • Command settings:

    • slot: Slot number (-1 for mainhand)

    • line : If you want to set the lore of the first type 1

    • text: The new line text

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - SET_ITEM_LORE slot:%slot% line:3 text:&6LEGENDARY SWORD

SET_TEMP_BLOCK_POS

  • Info : Set a temporary block

  • Command settings

    • x: X-Coordinate

    • y: Y-Coordinate

    • z: Z-Coordinate

    • world: Name of the world

    • material: Block ID

    • time: Time in ticks

    • bypassProtection: (true or false) Whether to ignore 3rd party intervention or not

    • whitelistCurrentBlock: List of blocks to watch out for

      • Examples:

      • AIR, WATER

      • !STONE, !COBBLESTONE

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - SET_TEMP_BLOCK_POS x:%entity_x% y:%entity_y% z:%entity_z% world:%entity_world% material:BEDROCK time:40 bypassProtectiontrue whitelistCurrentBlock:!AIR,!WATER

It doesn't replace blocks that have extra datas (inventory, rotation, etc)

SPAWN_ENTITY_ON_CURSOR

  • Info: Spawn entities on your cursor

  • Command settings:

    • entity: Mob ID (ALL CAPS)

    • amount: The amount of mobs that will spawn in that spot

    • maxRange: The max range of the spawn (Default 200)

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - SPAWN_ENTITY_ON_CURSOR entity:CREEPER amount:1

SUDO

  • Info: Forces you to run a command

  • Command: SUDO (command)

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - SUDO sit
    - SUDO say hi

SUDO_OP

  • Info: Gives the player OP, SUDOs the player and DEOPs it

  • Extra Info: During the OP, the player can only run the specified command after the SUDOOP, all other commands are blocked when the player is OP, and if the server crashes, no problem. The player will be DEOPed when the player reconnects.

  • Command: SUDO_OP (command)

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - SUDO_OP summon zombie
    - SUDO_OP fly
    - SUDO_OP god
    - SUDO_OP /replacenear 20 tnt

It is not recommended to use this a lot. As it is explained on the top of this page, if want to run vanilla commands use the execute command (Explained on the FAQ "How to use vanilla commands").

If have another way to achieve what you want use it.

And if you have no other way but using SUDOOP, then use this command. This shouldn't be your first option.

SWAP_HAND

  • Info: Swaps the current item with your offhand item

  • No command setting

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - SWAPHAND

TRANSFER_ITEM

  • Info: Swaps 2 items in the inventory by slot

  • Command: TRANSFER_ITEM {slot of launcher} {slot of receiver} [boolean drop]

    • {slot of launcher}: Target slot for slot no.1

    • {slot of receiver}: Target slot for slot no.2

    • [boolean drop]: (default = false) Whether {slot of launcher} gets dropped during the swap or not

XPBOOST

  • Info: Boost the xp gain for a time.

  • Command: XPBOOST {multiplier} {timeinsecs}

  • Example:

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    commands:
    - XPBOOST 2 10

Be careful ! This command can get stacked, so if you run this command multiple times you will get more and more multipliers if the time between them is not enough for the last boost to disappear. XPBOOST 2 5 DELAY 1 XPBOOST 2 5 This means the XP will be boosted in this order: 1 second: x2 4 seconds: x4 1 second: x2

Mixed Commands

In addition of the following list of commands you can also use:

These commands can be used in the Player related commands OR Entity related commands.

You can find the attributes here

->

Info: Launches a custom projectile.

projectile: the type of the projectile or the custom projectile ID from SCore ( )

projectileType: the type of the projectile or the custom projectile ID from SCore ( )

You can use minimessages color codes, like using gradient and stuff from this site: You can only use one type of formatting at once in the same SENDMESSAGE command, either the classic color codes format or minimessage format.

You can use minimessages color codes, like using gradient and stuff from this site: You can only use one type of formatting at once in the same SENDMESSAGE command, either the classic color codes format or minimessage format.

Use the website: for the leather color

You can find the attributes here

📚
https://docs.ssomar.com/tools-for-all-plugins-score/custom-commands/mixed-commands-player-and-entity
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/attribute/Attribute.html
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/inventory/EquipmentSlot.html
https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/enchantments/Enchantment.html
Reference
Reference
Reference
https://docs.adventure.kyori.net/minimessage/format.html
https://docs.adventure.kyori.net/minimessage/format.html
https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/meta/trim/TrimPattern.html
https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/meta/trim/TrimMaterial.html
https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/BlockFace.html
https://www.tydac.ch/color/
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/attribute/Attribute.html
Mixed Commands (Player & Entity)
SUDO
SUDO_OP
Minecraft Java Edition 1.21.2Minecraft
EntityType (Spigot-API 1.18.2-R0.1-SNAPSHOT API)
Logo
Logo