### Animation activator example with start and stop Source: https://splugins.net/docs/myfurniture/configurations/activator-configuration/list-of-the-activators A typical animated furniture setup with right-click to start and left-click to stop. Uses the PLAYER_RIGHT_CLICK_ON and PLAYER_LEFT_CLICK_ON activators with display commands. ```yaml activators: start_animation: option: PLAYER_RIGHT_CLICK_ON displayName: '&eStart Animation' displayCommands: - "RUN_ANIMATION ceiling_fan spin" stop_animation: option: PLAYER_LEFT_CLICK_ON displayName: '&cStop Animation' displayCommands: - "STOP_ANIMATION" ``` -------------------------------- ### ExplosionWave shape example commands Source: https://splugins.net/docs/tools-for-all-plugins-score/score-particles Three example commands for the ExplosionWave shape, demonstrating different parameter combinations for rate, start, height, and offsetY. ```yaml # Examples that you can run manually in-game /score particles shape:explosionWave rate:5 start:-3 height:3 /score particles shape:explosionWave rate:5 height:1 offsetY:-1 /score particles shape:explosionWave rate:10 ``` -------------------------------- ### Make a loop activator run commands after x executions Source: https://splugins.net/docs/executableitems/questions-or-guides/informal-guides Guide for making a loop activator run commands after executing a certain number of times (30 in this example). Requires PlaceholderAPI with the Math expansion. Uses a number item variable 'timer' and a LOOP activator with variable modification. ```text For this guide, it will run commands after looping 30 times. 1) Download PlaceholderAPI plugin - /papi ecloud download Math - /papi reload 2) create the ei item 3) create a number item variable - variable name = timer - type = NUMBER - default = 0 4) create a LOOP activator - detailed slots : all slots enabled - add playerCommands: - Ex: "IF %var_timer%=30 minecraft:give %player% diamond 1" - edit variable modification option - create a new variable modification option - variable name = timer - type = SET - modification : '%math_IF((%var_timer%)<30, (%var_timer%)+1, 1)%' ``` -------------------------------- ### RUN_ANIMATION display command example Source: https://splugins.net/docs/myfurniture/configurations/activator-configuration/list-of-the-activators Starts a Blockbench animation on the furniture. The static model is hidden and replaced by animated bone entities. The first parameter is the .bbmodel file name without extension (must be in plugins/MyFurniture/animations/), and the second is the animation name as defined in Blockbench or its index. ```yaml displayCommands: - "RUN_ANIMATION ceiling_fan spin" ``` -------------------------------- ### usage configuration example (infinite) Source: https://splugins.net/docs/executableblocks/configurations/block-configuration/block-features Sets infinite usage for the block. Example value: -1. ```yaml usage: -1 ``` -------------------------------- ### DAMAGE_BOOST stacking example Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-commands/mixed-commands-player-and-entity Shows that DAMAGE_BOOST stacks when used multiple times. The player gets +50% damage for 0-10 seconds, +100% for 10-20 seconds (two stacked boosts), and +50% for 20-30 seconds. ```yaml activators: activator0: # Activator ID, you can create as many activators on the activators list option: # Here goes an activator that is at least instance of player playerCommands: - DAMAGE_BOOST 50 200 # This will boost the damage of the player by 50% for 200 ticks (10 seconds) - DELAY 10 # Delay of 10 seconds - DAMAGE_BOOST 50 200 # This will boost the damage of the player by 50% for 200 ticks (10 seconds) ``` -------------------------------- ### Display Features Example Source: https://splugins.net/docs/myfurniture/configurations/furniture-configuration/furniture-features Complete example of the displayFeatures configuration block, combining all the individual features. ```yaml displayFeatures: itemModel: myfurniture:acacia_bed scale: 1.0 aligned: false customPitch: 90 glow: false glowColor: 16711680 clickToBreak: 3 boundingBoxZones: [] blockLight: 10 skyLight: 10 viewRange: 20.0 ``` -------------------------------- ### OPEN_WORKBENCH command example Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-commands/player-and-target-commands Opens a workbench for the player that runs the activator. This command has no command settings. The example shows the command without any arguments. ```yaml 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 playerCommands: - OPEN_WORKBENCH ``` -------------------------------- ### FLY_ON command example Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-commands/player-and-target-commands Gives the player creative flight. No command settings are required; the example simply uses FLY_ON. ```yaml 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 playerCommands: - FLY_ON ``` -------------------------------- ### whitelistedWorlds example Source: https://splugins.net/docs/executableitems/configurations/general-configuration Lists world names where all ExecutableItems will be enabled. The example enables them in 'AngelWorld' world. ```yaml whitelistedWorlds: # In this example all ExecutableItems will be enabled on "AngelWorld" world - AngelWorld ``` -------------------------------- ### ifSprinting - Not example Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-conditions/player-and-target-conditions Example configuration for the ifSprinting and ifNotSprinting conditions. ```yaml playerConditions: ifSprinting: false ifSprintingMsg: '' #<- Here is where you will add the custom message. ifNotSprinting: false ifNotSprintingMsg: '' #<- Here is where you will add the custom message. ``` -------------------------------- ### MOB_AROUND Connector Example Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-commands/block-commands Example of the Around Command Connector (<+>) used with MOB_AROUND, STUN_ENABLE, DELAY, and STUN_DISABLE. ```text - MOB_AROUND 7 STUN_ENABLE <+> DELAY 5 <+> STUN_DISABLE ``` -------------------------------- ### Multi-world compatibility examples Source: https://splugins.net/docs/executableblocks/question-or-guides/frequently-asked-questions/how-to-use-vanilla-commands Examples of using 'execute in <>' to run commands in a specific world, including with placeholders. ```minecraft execute in <> run summon zombie 100 50 100 ``` ```minecraft execute in <<%player_world%>> run summon zombie 100 50 100 ``` ```minecraft execute in <<%block_world%>> run particle firework %block_x% %block_y% %block_z% 1 1 1 0.2 20 ``` -------------------------------- ### Variables configuration example Source: https://splugins.net/docs/executableitems/configurations/item-configuration/item-features Example configuration for defining variables in an ExecutableItem. Shows NUMBER, STRING, and LIST variable types with their defaults. ```yaml variables: var2: variableName: ThisVariableIsTypeIntegerAndICanDoModifications type: NUMBER default: 10.0 var1: variableName: anotherVariable # This variable is type string type: STRING default: '' #It starts with no value, we can then change it from an activator or using commands var0: variableName: nameOfVariable type: LIST default: - value1 - value2 - '1' - '2' ``` -------------------------------- ### Example YAML configuration for a custom set Source: https://splugins.net/docs/executableitems/configurations/sets-configuration Example configuration for a custom set named 'Coven Witch'. It defines pieces, tiers with potion effects, attributes, and commands. The example shows how to configure tier bonuses, including player commands on tier reach and loss, and loop commands. ```yaml enabled: true name: '&2Coven Witch' silenceOutput: true # hide the console feedback of the commands pieces: # ExecutableItems ids, each one counts once - Prem_Witch_Hat_v1_21 # by default a piece counts in the armor slots - Prem_Coven_Robe_v1_21 - Prem_Coven_Skirt_v1_21 - item: Prem_Coven_Wand_v1_21 slots: [MAINHAND, OFFHAND] # HEAD, CHEST, LEGS, FEET, OFFHAND, MAINHAND tiers: # key = number of pieces; the tiers add up 2: potionEffects: # TYPE[:amplifier[:particles]] - SPEED:0 enterCommands: # player commands when the tier is reached - 'SENDMESSAGE &2%set_name% &7(%set_pieces%/%set_max_pieces%): Speed I' leaveCommands: # player commands when the tier is lost - 'SENDMESSAGE &7%set_name%: bonus lost' 4: potionEffects: - SPEED:1 # the strongest level of an effect wins attributes: # ATTRIBUTE:amount[:ADD_NUMBER|ADD_SCALAR|MULTIPLY_SCALAR_1] - 'MAX_HEALTH:4' loopCommands: # player commands every loopDelay ticks while the tier holds - 'MOB_AROUND distance:5 DAMAGE 2' loopDelay: 40 ``` -------------------------------- ### Tesseract shape example Source: https://splugins.net/docs/tools-for-all-plugins-score/score-particles Example command for the tesseract shape. Parameters: size, rate, speed, time. ```yaml # Examples that you can run manually in-game /score particles shape:tesseract size:3 rate:100 speed:2 time:200 offsetY:2 particle:END_ROD # Examples that you can include into your commands ``` -------------------------------- ### ifSneaking - Not example Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-conditions/player-and-target-conditions Example configuration for the ifSneaking and ifNotSneaking conditions. Note the warning not to enable both simultaneously. ```yaml playerConditions: ifSneaking: false ifSneakingMsg: '' #<- Here is where you will add the custom message. ifNotSneaking: true ifNotSneakingMsg: '' #<- Here is where you will add the custom message. ``` -------------------------------- ### pickupLimit example Source: https://splugins.net/docs/executableitems/configurations/general-configuration Sets the maximum number of ExecutableItems a player can have in their inventory. The example sets the limit to 3. ```yaml pickupLimit: 3 # This means the player can have as maximum 3 ExecutableItems in his inventory. ``` -------------------------------- ### MOVE command example Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-commands/block-commands Example usage of the MOVE command. This command only works on directional blocks. ```text - MOVE ``` -------------------------------- ### LAUNCH_ENTITY tri-shoot example Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-commands/mixed-commands-player-and-entity Example to make a tri-shoot by launching three entities with different angle rotations. ```yaml - LAUNCH_ENTITY PIG 2 - LAUNCH_ENTITY PIG 2 15 - LAUNCH_ENTITY PIG 2 -15 ``` -------------------------------- ### MIX_HOTBAR command example Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-commands/player-and-target-commands Mixes the hotbar of the player. This command has no command settings. The example shows the command without any arguments. ```yaml 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 playerCommands: - MIX_HOTBAR ``` -------------------------------- ### title configuration example Source: https://splugins.net/docs/executableblocks/configurations/block-configuration/block-features Sets the displayed text of the hologram. Example value: '&7&oDefault title'. Required: NO. ```yaml title: '&7&oDefault title' ``` -------------------------------- ### whitelistItemsPerWorld example Source: https://splugins.net/docs/executableitems/configurations/general-configuration Lists ExecutableItems per world that are enabled. The example enables items with IDs myEI1 and myEI2 in 'myWorld', and myEI3 and myEI4 in 'myWorld2'. ```yaml whitelistItemsPerWorld: myWorld: # ExecutableItems with ID myEI1 and myEI2 are enabled on "myWorld" world. - myEI1 - myEI2 myWorld2: # ExecutableItems with ID myEI3 and myEI4 are enabled on "myWorld2" world. - myEI3 - myEI4 ``` -------------------------------- ### Rainbow shape example Source: https://splugins.net/docs/tools-for-all-plugins-score/score-particles Example command for the rainbow shape. Parameters: radius, rate, curve, layers, compact. ```yaml # Examples that you can run manually in-game /score particles shape:rainbow radius:3 rate:100 curve:2 layers:1 compact:1 # Examples that you can include into your commands ``` -------------------------------- ### Multiple recipe books example Source: https://splugins.net/docs/executablecrafting/configurations/recipe-book Example showing multiple recipe books (IDs 1, 2, and 3) with different configurations: book 1 has recipes and a colored folder, book 2 has a simple recipe list, and book 3 uses the '**' wildcard in a folder. ```yaml recipeBooks: 1: recipes: - asd - pepe - royal_* folders: color:&d&lcarpeta1: - asd - archivo2 2: recipes: - asd 3: folders: all: - '**' ``` -------------------------------- ### Polygon shape example Source: https://splugins.net/docs/tools-for-all-plugins-score/score-particles Example command for the polygon shape. Parameters: points, connection, size, rate, extend. ```yaml # Examples that you can run manually in-game /score particles shape:polygon points:5 connection:5 size:5 rate:1 extend:1 # Examples that you can include into your commands ``` -------------------------------- ### Correct vanilla command examples Source: https://splugins.net/docs/myfurniture/question-or-guides/frequently-asked-questions/how-to-use-vanilla-commands Examples of commands that work correctly. The first does not need 'execute at' because it uses %player% directly. The others use 'execute at %player% run' to run at the player's position, including setblock, fill, and tellraw commands. ```minecraft ✅ effect give %player% speed 15 1 ✅ execute at %player% run setblock ~ ~ ~ stone ✅ execute at %player% run fill ~1 ~1 ~1 ~-1 ~-1 ~-1 stone replace air ✅execute at %player% run tellraw %player% \{"text":"hi"\} ✅execute at %player% run tellraw @a \{"text":"hi"\} ``` -------------------------------- ### Full titleFeatures configuration example Source: https://splugins.net/docs/executableblocks/configurations/block-configuration/block-features Complete example of the titleFeatures section, including activeTitle, title list with color codes and placeholders, and titleAdjustment. ```yaml titleFeatures: # Active the title activeTitle: true # The title title: - Hello - &6It's support color - and %placeholder% titleAdjustment: 0.5 ``` -------------------------------- ### packSquashPath configuration example Source: https://splugins.net/docs/myfurniture/configurations/general-configuration Path to the PackSquash binary. Use just "packsquash" if it is in your system PATH, or provide the full absolute path. ```yaml packSquashPath: "/usr/local/bin/packsquash" ``` -------------------------------- ### Ellipse shape example command Source: https://splugins.net/docs/tools-for-all-plugins-score/score-particles Example command to create an ellipse shape. Uses start, end, rate, radius, otherRadius, and offsetY parameters. ```yaml # Examples that you can run manually in-game /score particles shape:ellipse color:BLUE,AQUA radius:3 rate:0.8 otherRadius:2 start:50 end:200 offsetY:1 ``` -------------------------------- ### whitelistMaterials configuration example Source: https://splugins.net/docs/executableblocks/configurations/block-configuration/block-features Adds a list of materials that can be placed inside the block. Example shows DIRT. Note: For hoppers, whitelist restricts items the hopper can suck. ```yaml containerFeatures: whitelistMaterials: - DIRT ``` -------------------------------- ### Get file path of an ExecutableItem Source: https://splugins.net/docs/executableitems/commands-and-permissions Command to get the absolute file system path to the configuration file of a specific ExecutableItem. The example shows the command for 'ExcaliburSword' and its output. Requires the permission ei.cmd.path. ```text /ei path {id} ``` ```text /ei path ExcaliburSword ``` ```text [ExecutableItems] The path of ExcaliburSword is /path/to/plugins/ExecutableItems/Items/ExcaliburSword.yml. ``` -------------------------------- ### XP_BOOST stacking example Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-commands/player-and-target-commands Shows stacking behavior of XP_BOOST: running it twice with a 1-second delay results in x2 for 1 second, then x4 for 4 seconds, then x2 for 1 second. ```yaml - XP_BOOST 2 5 - DELAY 1 - XP_BOOST 2 5 ``` -------------------------------- ### Furniture YAML configuration example Source: https://splugins.net/docs/myfurniture/question-or-guides/tutorials/getting-started Minimal furniture configuration file at plugins/MyFurniture/furniture//.yml. The boundingBoxZones section is auto-generated during /mf pack and must not be edited manually; re-run /mf pack if the hitbox looks wrong. ```yaml executableItem: my_lamp # ExecutableItem ID (the held/dropped item) displayFeatures: itemModel: myfurniture:my_lamp/full # 1.21.4+ resource location scale: 1.0 # Size multiplier (1.0 = normal) customPitch: 90 # 90 = flat on the ground (default for most furniture) aligned: false # Align to block grid glow: false # Outline glow glowColor: 16777215 # Glow colour as decimal RGB clickToBreak: 1 # Left-clicks needed to break viewRange: 20.0 # Distance at which the display is visible boundingBoxZones: [] # Auto-generated by /mf pack — do not edit manually interactionRange: 6.0 # Reach distance for activators dropType: IN_THE_INVENTORY # IN_THE_INVENTORY or ON_THE_GROUND dropBlockIfItIsBroken: true # Drop the item when broken resetInternalDatasWhenBroken: false sitFeatures: playerCanSit: false # Set to true to let players sit on it storageFeatures: enable: false # Set to true to make it act like a chest title: '&8My Storage' # GUI title when opened activators: {} # Add interactive triggers here (see Activators docs) ``` -------------------------------- ### RANDOM_RUN selectionCount:1 with three give commands Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-commands/utility-commands Example of RANDOM_RUN with selectionCount:1 and three give commands, giving a 1/3 chance of getting coal, iron, or gold. ```yaml activators: activator0: # Activator ID, you can create as many activator on the activators list playerCommands: # It can be other commands than playerCommands - 'RANDOM_RUN selectionCount:1' - minecraft:give %player% coal 1 - minecraft:give %player% iron_ingot 1 - minecraft:give %player% gold_ingot 1 - RANDOM_END ``` -------------------------------- ### YAML configuration example Source: https://splugins.net/docs/tools-for-all-plugins-score/general-questions-or-guides/technical-level-info Shows a basic YAML configuration with nested structures, lists, and comments. Use this as a reference for writing YAML configuration files. ```yaml # Application configuration app: name: MyApp version: 1.0 features: - user-authentication - api-support database: host: localhost port: 5432 ``` -------------------------------- ### ifMustBeNatural / ifMustBeNotNatural example Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-conditions/block-conditions Checks if the target block is natural (not placed). Requires CORE PROTECT to be installed. Avoid using frequently due to performance impact. ```yaml blockConditions: ifMustBeNotNatural: true ifMustBeNotNaturalMsg: '' ifMustBeNotNaturalCancel: true blockConditions: ifMustBeNatural: true ifMustBeNaturalMsg: '' ifMustBeNaturalCancel: true ``` -------------------------------- ### Ring shape example Source: https://splugins.net/docs/tools-for-all-plugins-score/score-particles Example command for the ring shape. Parameters: radius, density, time, drawMode, directionPitch, directionYaw. ```yaml # Examples that you can run manually in-game /score particles particle:SONIC_BOOM shape:ring radius:5 density:100 time:0 # Examples that you can include into your commands ``` -------------------------------- ### SET_ITEM_LORE command example Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-commands/item-commands Sets a line of lore on the item. The line setting specifies the line number (starting at 1), and text sets the new line text. ```yaml 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 itemCommands: - SET_ITEM_LORE line:3 text:&6LEGENDARY SWORD ``` -------------------------------- ### Get ExecutableBlocks managers Source: https://splugins.net/docs/developer-api/executableblocks Retrieves the managers for executable blocks and placed executable blocks via the ExecutableBlocksAPI entry point. Use this as the starting point for any interaction with the API. ```java ExecutableBlocksManagerInterface manager = ExecutableBlocksAPI.getExecutableBlocksManager(); ExecutableBlocksPlacedManagerInterface placedManager = ExecutableBlocksAPI.getExecutableBlocksPlacedManager(); ``` -------------------------------- ### DELAY_TICK command example Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-commands/utility-commands Delays the execution of the next command line by a specified number of game ticks (20 ticks = 1 second). The DELAY_TICK command must be on its own line or start a '+++' part. ```yaml activators: activator0: # Activator ID, you can create as many activator on the activators list playerCommands: # It can be other commands than playerCommands - command1 - DELAY_TICK 5 # (0.25 seconds) - command2 ``` -------------------------------- ### Square shape example Source: https://splugins.net/docs/tools-for-all-plugins-score/score-particles Example command for the square shape. Parameters: height, length, width, density, timeToDisplay, drawMode, verticalOrder, horizontalOrder, directionPitch, directionYaw. ```yaml # Examples that you can run manually in-game ... # Examples that you can include into your commands playerCommands: # A line of explosion - score particles shape:square location:%player_world_initial%,%player_x_initial%,%player_y_initial%,%player_z_initial% particle:EXPLOSION height:1 length:30 timeToDisplay:20 density:1 directionYaw:%player_yaw_initial% directionPitch:%player_pitch_initial% verticalOrder:up horizontalOrder:near offsetY:-1 # A wall of flame - score particles shape:square location:%player_world_initial%,%player_x_initial%,%player_y ``` -------------------------------- ### Download default furniture pack Source: https://splugins.net/docs/myfurniture/question-or-guides/tutorials/getting-started Downloads the example resource pack into plugins/MyFurniture/__textures__/. ```text /mf download-default-pack ``` -------------------------------- ### Around Command Connector Example Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-commands/block-commands Example of the Around Command Connector (<+>) used with AROUND and SENDMESSAGE to add multiple commands in one line. ```text - AROUND 10 execute at %around_target% run summon lightning_bolt ~ ~ ~ <+> SENDMESSAGE &You got smited! ``` -------------------------------- ### OXYGEN command example Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-commands/player-and-target-commands Gives oxygen to the target. The command setting is time, which specifies the duration in ticks of oxygen to give. The example gives 200 ticks of oxygen. ```yaml 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 playerCommands: - OXYGEN time:200 ``` -------------------------------- ### DELAY command example Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-commands/utility-commands Delays the execution of the next command line by a specified number of seconds. The DELAY command must be on its own line or start a '+++' part; it is not applied if written inside another command's text. ```yaml activators: activator0: # Activator ID, you can create as many activator on the activators list playerCommands: # It can be other commands than playerCommands #There will be a delay of 10 seconds between the command1 and the command2. - command1 - DELAY 10 - command2 ``` -------------------------------- ### LAUNCH command example Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-commands/block-commands Makes the target block shoot projectiles. Takes the projectile type, speed, and despawn delay in seconds (default 10). The block must be directional to launch properly. ```text - LAUNCH ARROW 2 5 ``` -------------------------------- ### usePackSquash configuration example Source: https://splugins.net/docs/myfurniture/configurations/general-configuration Boolean value to enable PackSquash optimization. PackSquash can reduce pack size by 30-60% by optimizing PNG images, minifying JSON, and using better ZIP compression. PackSquash must be installed separately on your server. ```yaml usePackSquash: true ``` -------------------------------- ### Correct and incorrect command examples with execute at %player% run Source: https://splugins.net/docs/executableblocks/question-or-guides/frequently-asked-questions/how-to-use-vanilla-commands Shows incorrect and correct versions of commands that need a position, using 'execute at %player% run' to run from the player's coordinates. Includes summon, playsound, and particle examples. ```minecraft ❌ run summon tnt ~ ~ ~ ✅ execute at %player% run summon tnt ~ ~ ~ ❌ playsound minecraft:ambient.cave master %player% ~ ~ ~ 1 1 ✅ execute at %player% run playsound minecraft:ambient.cave master %player% ~ ~ ~ 1 1 ``` ```minecraft ❌ particle minecraft:flame ~ ~ ~ 1 1 1 0 10 ✅ execute at %player% run particle minecraft:flame ~ ~ ~ 1 1 1 0 10 ``` -------------------------------- ### Title Features Example Source: https://splugins.net/docs/myfurniture/configurations/furniture-configuration/furniture-features Complete example of the title features configuration, enabling the title hologram, setting multiple lines with color codes and placeholders, and adjusting the elevation. ```yaml titleFeatures: activeTitle: true title: - Hello - '&6It supports color' - and %placeholder% titleAdjustment: 0.5 ``` -------------------------------- ### XP_BOOST command example Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-commands/player-and-target-commands Boosts XP gain by a multiplier for a duration in seconds. The example sets multiplier 2 for 10 seconds. Be careful: this command can stack, so repeated uses within the duration can multiply the effect. ```yaml 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 playerCommands: - XP_BOOST 2 10 ``` -------------------------------- ### ExecutableItems activator config with ABSORPTION command Source: https://splugins.net/docs Paste this YAML into an ExecutableItems config and reload the plugin to get a working starting point. It defines two activators: one that gives the player absorption and one that gives the target absorption, using the ABSORPTION command with amount and time parameters. ```yaml 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 playerCommands: - 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 ``` -------------------------------- ### /ei give command examples Source: https://splugins.net/docs/executableitems/commands-and-permissions Examples of the /ei give command, run inside an ExecutableItem to parse placeholders like %player%, %var_name%, and %usage%. The optional Variables, Usage, and Durability arguments must not contain whitespace. ```text /ei give %player% Genesis_Crystal{Variables:{vibraniun:10,proton:30},Usage:10} 3 ``` ```text /ei give %player% SurgeBlade{Variables:{charge:%var_charge%+1},Usage:%usage%-1} 1 ``` ```text /ei give SsomarPluginsPlayer BoneBlade 1 ``` ```text /ei give edp445 cupcake{Durability:12} 1 ``` -------------------------------- ### Examples of /mf give command Source: https://splugins.net/docs/myfurniture/commands-and-permissions Examples of the /mf give command, which works for offline players. The first two show how to pass variables and usage values, while the third is a simple give without extra data. ```text /mf give %player% Genesis_Crystal{Variables:{vibraniun:10,proton:30},Usage:10} 3 ``` ```text /mf give %player% SurgeBlade{Variables:{charge:%var_charge%+1},Usage:%usage%-1} 1 ``` ```text /mf give %player% BoneBlade 1 ``` -------------------------------- ### YAML example for pasting a Worldedit schematic Source: https://splugins.net/docs/executableblocks/question-or-guides/methods/worldedit-schematic Use this YAML in the commands section of an ExecutableBlocks configuration to run Worldedit commands. Replace placeholders like NAMEOFYOURWORLD and NAMEOFYOURSCHEM with your values. The world name must be all lowercase; use %player_world_lower% to get the user's world. If using FastAsyncWorldEdit, change 'worldedit:' to 'fastasyncworldedit:'. ```yaml #PASTE A SCHEM WITH WE worldedit:/world NAMEOFYOURWORLD worldedit:/schem load NAMEOFYOURSCHEM worldedit:/pos1 %block_x_int%,%block_y_int%,%block_z_int% worldedit:/pos2 %block_x_int%,%block_y_int%,%block_z_int% worldedit:/paste ``` -------------------------------- ### MOB_AROUND basic command examples Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-commands/mixed-commands-player-and-entity Basic MOB_AROUND command examples in a playerCommands list. Shows distance, displayMsgIfNoEntity, throughBlocks, safeDistance, conditions, multiple commands with <+>, and BLACKLIST/WHITELIST usage. ```yaml 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 playerCommands: - MOB_AROUND distance:3 displayMsgIfNoEntity:true throughBlocks:true safeDistance:0 [conditions] COMMAND1 <+> COMMAND2 <+> ... - MOB_AROUND distance:3 displayMsgIfNoEntity:false BURN 10 - MOB_AROUND distance:5 execute at %around_target_uuid% run summon lightning_bolt - MOB_AROUND distance:5 BLACKLIST(ZOMBIE,ARMOR_STAND) DAMAGE 20 - MOB_AROUND distance:5 displayMsgIfNoEntity:false effect give %around_target_uuid% poison 10 10 - MOB_AROUND distance:10 WHITELIST(ZOMBIE`{CustomName:"*"}`) say HELLO ``` -------------------------------- ### ifSwimming - Not example Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-conditions/player-and-target-conditions Example configuration for the ifSwimming and ifNotSwimming conditions. ```yaml playerConditions: ifSwimming: false ifSwimmingMsg: '' #<- Here is where you will add the custom message. ifNotSwimming: false ifNotSwimmingMsg: '' #<- Here is where you will add the custom message. ``` -------------------------------- ### ifGliding - Not example Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-conditions/player-and-target-conditions Example configuration for the ifGliding and ifNotGliding conditions. ```yaml playerConditions: ifGliding: false ifGlidingMsg: '' #<- Here is where you will add the custom message. ifNotGliding: false ifNotGlidingMsg: '' #<- Here is where you will add the custom message. ``` -------------------------------- ### LOOP_START/LOOP_END example with RANDOM_RUN Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-commands/utility-commands Example configuration showing LOOP_START and LOOP_END used with RANDOM_RUN to give random items with different probabilities. The plugin duplicates the commands inside the loops to achieve the specified rates. ```yaml activators: activator0: # Activator ID, you can create as many activator on the activators list playerCommands: # It can be other commands than playerCommands - 'RANDOM_RUN selectionCount:1' - 'LOOP_START loopCount:5' # (50%) - SEND_MESSAGE &cYOU GOT AN APPLE! +++ minecraft:give %player% apple 1 - LOOP_END - 'LOOP_START loopCount:3' # (30%) - SEND_MESSAGE &7YOU GOT IRON! +++ minecraft:give %player% iron_ingot 1 - LOOP_END - 'LOOP_START loopCount:2' # (20%) - SEND_MESSAGE &aYOU GOT DIAMOND! +++ minecraft:give %player% diamond 1 - LOOP_END - RANDOM_END ``` ```yaml activators: activator0: # Activator ID, you can create as many activator on the activators list playerCommands: # It can be other commands than playerCommands - 'RANDOM_RUN selectionCount:1' - SEND_MESSAGE &cYOU GOT AN APPLE! +++ minecraft:give %player% apple 1 - SEND_MESSAGE &cYOU GOT AN APPLE! +++ minecraft:give %player% apple 1 - SEND_MESSAGE &cYOU GOT AN APPLE! +++ minecraft:give %player% apple 1 - SEND_MESSAGE &cYOU GOT AN APPLE! +++ minecraft:give %player% apple 1 - SEND_MESSAGE &cYOU GOT AN APPLE! +++ minecraft:give %player% apple 1 - SEND_MESSAGE &7YOU GOT IRON! +++ minecraft:give %player% iron_ingot 1 - SEND_MESSAGE &7YOU GOT IRON! +++ minecraft:give %player% iron_ingot 1 - SEND_MESSAGE &7YOU GOT IRON! +++ minecraft:give %player% iron_ingot 1 - SEND_MESSAGE &aYOU GOT DIAMOND! +++ minecraft:give %player% diamond 1 - SEND_MESSAGE &aYOU GOT DIAMOND! +++ minecraft:give %player% diamond 1 - RANDOM_END ``` -------------------------------- ### ifFlying - Not example Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-conditions/player-and-target-conditions Example configuration for the ifFlying and ifNotFlying conditions. ```yaml playerConditions: ifFlying: false ifFlyingMsg: '' #<- Here is where you will add the custom message. ifNotFlying: false ifNotFlyingMsg: '' #<- Here is where you will add the custom message. ``` -------------------------------- ### Give command examples Source: https://splugins.net/docs/executableblocks/commands-and-permissions Examples of the /eb give command, which works for offline players. The first two include variables and usage values, while the third is a simple give without extra parameters. ```text /eb give %player% Genesis_Crystal{Variables:{vibraniun:10,proton:30},Usage:10} 3 ``` ```text /eb give %player% SurgeBlade{Variables:{charge:%var_charge%+1},Usage:%usage%-1} 1 ``` ```text /eb give %player% BoneBlade 1 ``` -------------------------------- ### ifHasNotEnchant example Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-conditions/item-conditions Checks if the item has the blacklisted enchantment. The example uses ARROW_POWER:6. ```yaml itemConditions: ifHasNotEnchant: - ARROW_POWER:6 ifHasNotEnchantMsg: '' #<- Here is where you will add the custom message. ``` -------------------------------- ### Open the ExecutableCrafting GUI editor Source: https://splugins.net/docs/executablecrafting/questions-or-guides/tutorials/getting-started Opens the in-game GUI editor showing all existing recipes. Requires the ec.cmd.* permissions. ```text /ec editor ``` -------------------------------- ### ifHasEnchant example Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-conditions/item-conditions Checks if the item has the whitelisted enchantment. The example uses ARROW_FIRE:1. ```yaml itemConditions: ifHasEnchant: - ARROW_FIRE:1 ifHasEnchantMsg: '' #<- Here is where you will add the custom message. ``` -------------------------------- ### ownerCommands example in activator configuration Source: https://splugins.net/docs/executableblocks/configurations/activator-configuration/activators-features Example of an activator configuration using ownerCommands. The commands are parsed with Ssomar placeholders and then PAPI. Player commands run against the player, while vanilla or other plugin commands are executed by the console. ```yaml activators: activator1: # Activator ID, you can create as many activators on the activator option: PLAYER_RIGHT_CLICK ownerCommands: - SEND_MESSAGE &eHey ! I am a message and the player who triggered this activator can see it ^^ - effect give %player% regeneration 5 5 true - SEND_MESSAGE &dYou received regeneration :P ``` -------------------------------- ### Sphere shape example Source: https://splugins.net/docs/tools-for-all-plugins-score/score-particles Example command for the sphere shape. Parameters: radius, rate. ```yaml # Examples that you can run manually in-game /score particles particle:SNEEZE shape:sphere radius:5 rate:30 # Examples that you can include into your commands ``` -------------------------------- ### Full config.yml example Source: https://splugins.net/docs/executableitems/configurations/general-configuration The complete default configuration file for ExecutableItems, located at plugins/ExecutableItems/config.yml. It includes all settings with comments explaining their purpose. ```yaml # ---------------------------------- # - # ExecutableItems # - # By: Ssomar # - # ---------------------------------- # - # WIKI HERE : https://splugins.net/docs/executableitems/information-ei # DISCORD HERE : https://discord.com/invite/TRmSwJaYNv # - pickupLimit: -1 disabledWorlds: [] whitelistedWorlds: [] whitelistItemsPerWorld: myWorld: - myEI1 - myEI2 myWorld2: - myEI3 - myEI4 premiumEnableCooldownForOp: true # Premium only checkVersionMsg: true disableTestItems: false # If you have a big server with a lot of players, it's recommended to turn this option on true silentMessagePreventionErrorHeadDBError: false disableBackup: false # <- Backup your items config at each start / reload of the server deleteBackupsAfterDays: 7 # <- It will deletes backups older than this number of days enableGarbageCollectorAfterReload: false # <- It will enable the garbage collector after a reload of the server giveLimit: 100 enableTexturesPack: false # Only for 1.20.5+ servers texturesPackUrl: https://github.com/Ssomar-Developement/items/raw/main/__textures__/ExecutableItems_Pack.zip # Only for 1.20.5+ servers logs: dropped: true spawned: true debugOnlyRun: false # /ei debug will only display the run debug message disableActivatorsInSpectator: false # true: players in spectator mode do not trigger activators keepNameInAnvil: true # true: an item that goes through an anvil without being renamed keeps its styled name itemCheckWithNBTAPI: false config_12_04_2024: true silentGive: false updateOldItems: false muteModification: false # With true It will mute the outputs of /ei modification or /ei console modification ``` -------------------------------- ### MeguminExplosion shape example Source: https://splugins.net/docs/tools-for-all-plugins-score/score-particles Example command for the meguminExplosion shape. Parameters: size, color. ```yaml # Examples that you can run manually in-game /score particles shape:meguminExplosion color:RED size:5 # Examples that you can include into your commands ``` -------------------------------- ### Cone shape example command Source: https://splugins.net/docs/tools-for-all-plugins-score/score-particles Example command for the Cone shape, a cone made of stacked circles. Parameters include height, radius, rate, circleRate, and fillMode. This example uses fillMode ring. ```yaml # Examples that you can run manually in-game /score particles shape:cone color:GREEN,YELLOW height:3 radius:2 rate:0.4 circleRate:40 fillMode:ring # Examples that you can include into your commands ``` -------------------------------- ### Organizing Multiple Textures - Folder Structure Source: https://splugins.net/docs/executableitems/questions-or-guides/custom-textures/custom-textures-1.21/general-items Example folder structure for organizing multiple custom textures by item type. ```text custom_textures/ ├── weapons/ │ ├── sword_fire.png │ └── sword_ice.png ├── tools/ │ └── pickaxe_emerald.png └── misc/ └── wand_magic.png ``` -------------------------------- ### ifBlocking - Not example Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-conditions/player-and-target-conditions Example configuration for the ifBlocking and ifNotBlocking conditions. Note the typo 'ifBlockng' in the source. ```yaml playerConditions: ifBlockng: false ifBlockingMsg: '' #<- Here is where you will add the custom message. ifNotBlockng: false ifNotBlockingMsg: '' #<- Here is where you will add the custom message. ``` -------------------------------- ### Condition settings example Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-conditions/player-and-target-conditions Shows the common format for a condition, including the condition key, message, cancel flag, and commands to run if invalid. ```yaml playerConditions: ifSneaking: true ifSneakingMsg: "&cMy custom error message here" ifSneakingCancel: true ifSneakingCmds: - kill %player% ``` -------------------------------- ### playerCommands and targetCommands combined example Source: https://splugins.net/docs/executableevents/configurations/activator-configuration/activators-features Example showing both playerCommands and targetCommands in the same activator. playerCommands run against the player who triggered the activator, while targetCommands run against the target. This demonstrates using both command lists together. ```yaml activators: activator1: # Activator ID, you can create as many activators on the activator option: PLAYER_HIT_PLAYER playerCommands: - SEND_MESSAGE &eYou have hit %target%, he cant pick up items in 5 seconds targetCommands: - SEND_MESSAGE &eHey %target% you have been hit by %player%, in 5 seconds you can't pick up items - CANCEL_PICKUP time:100 ``` -------------------------------- ### ifContainerContainsEI example Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-conditions/block-conditions Checks if the block contains the specified ExecutableItem(s). The example requires one Bergbauhammer. ```yaml blockConditions: requiredExecutableItems: requiredEI0: executableItem: Bergbauhammer amount: 1 ``` -------------------------------- ### selfHostPack configuration example Source: https://splugins.net/docs/myfurniture/configurations/general-configuration Boolean value to enable self-hosting the resource pack on a built-in HTTP server. When enabled, the pack is automatically sent to players when they join. Warning: may not work on all hosting providers due to firewall/NAT restrictions; if the pack fails to load, set to false and configure texturesPackUrl. ```yaml selfHostPack: true ``` -------------------------------- ### BOOTS command example Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-commands/player-and-target-commands Puts the item in your main hand into the boots slot. Will not work if the item has 'Curse of Binding'. No command settings are required. ```yaml 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 playerCommands: - BOOTS ``` -------------------------------- ### inventoryTitle configuration example Source: https://splugins.net/docs/executableblocks/configurations/block-configuration/block-features Sets the inventory title of the container. Example shows 'INVENTORY TITLE'. ```yaml containerFeatures: inventoryTitle: INVENTORY TITLE ``` -------------------------------- ### BlackHole shape example command Source: https://splugins.net/docs/tools-for-all-plugins-score/score-particles Example command for the BlackHole shape, a dynamic particle vortex effect. Parameters include points, radius, rate, mode, and time. This example uses particle SMOKE and mode 2. ```yaml # Examples that you can run manually in-game** /score particles particle:SMOKE shape:blackhole points:30 radius:2.5 rate:1 mode:2 time:50 # Examples that you can include into your commands ``` -------------------------------- ### Chained AROUND commands with DELAY and step placeholders Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-commands/mixed-commands-player-and-entity Shows how to chain multiple AROUND commands with DELAY and step placeholders to target different players sequentially. The first AROUND targets players within 5 blocks, then after a 3-second delay, the next AROUND targets players within 5 blocks of the first target, and so on. ```yaml 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 playerCommands: - AROUND distance:5 displayMsgIfNoPlayer:false say &a(0)&e%around_target% <+> DELAY 3 <+> AROUND distance:5 displayMsgIfNoPlayer:false say &a(1)&e%around_target::step1% <+::step1> DELAY 3 <+::step1> AROUND distance:5 displayMsgIfNoPlayer:false say &a(2)&e%around_target::step2% ``` -------------------------------- ### WHILE command example Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-commands/utility-commands Example configuration for the WHILE command. The condition is %player_health%>10, the delay is 20 ticks, and it sends a message and applies a speed effect. Runs async and stops if the player is offline. ```yaml activators: activator0: # Activator ID, you can create as many activator on the activators list playerCommands: # It can be other commands than playerCommands - WHILE %player_health%>10 20 SEND_MESSAGE &eHello &6While <+> minecraft:effect give %player% speed 1 1 ``` -------------------------------- ### Create Resource Pack Folder Source: https://splugins.net/docs/executableitems/questions-or-guides/custom-textures/custom-textures-1.21.4%2B/general-items Creates the root folder for the resource pack. Use a descriptive name like my_custom_textures. ```text my_custom_textures/ ``` -------------------------------- ### ifContainerContains example Source: https://splugins.net/docs/tools-for-all-plugins-score/custom-conditions/block-conditions Checks if the block contains the specified material(s). The example requires one STONE item. ```yaml blockConditions: requiredItems: requiredItem0: material: STONE amount: 1 notExecutableItem: false ```