➤ Block commands - ssomar1607/ExecutableItems GitHub Wiki
BRUT_HEX
- Info: Mainly used to keep the brut hex form in your command (to have the hex to work on the luckperms prefix command for example)
- Command: BRUT_HEX (command)
- Example:
- BRUT_HEX SENDMESSAGE HI
- Extra Notes: 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
FARMINCUBE
- Information: Breaks all crops in a given radius
- Command: FARMINCUBE {radius} [drop] [onlyMaxAge] [replant]
- {radius}: Radius of how big the area of the crops you want to break. (LIMIT IS 9)
- [drop]: Whether the block drops loot or not
- [onlyMaxAge]: It will only break crops with max age
- [replant]: Whether the crop will be replanted or not
- Example:
- FARMINCUBE 10 true true true
EXPLODE
- Information: Breaks the block you targeted and spawns a primed tnt on that location
- Command: EXPLODE
- Example:
- EXPLODE
DROPITEM
- Info: Drops an item in the block's location
- Command: DROPITEM {material} {quantity}
- {material}: The item type. Reference (MUST BE AT ALL CAPS)
- {quantity}: The amount of the item that will drop
- Example:
- DROPITEM BEDROCK 1
DROPEXECUTABLEITEM
- Info: Drops an Executable Item in the entity's location
- Command: DROPEXECUTABLEITEM {id} {quantity}
- {id}: Item id of the ExecutableItem
- {quantity}: The amount of the executable item that will drop
- Example:
- DROPEXECUTABLEITEM epicsnowball 1
SETBLOCK
- Info: Replaces the target block with another block
- Command: SETBLOCK {material}
- {material}: The block id
- Example:
- SETBLOCK STONE
SETEXECUTABLEBLOCK
- Info: Setblock command but for Executable Blocks
- Command: SETEXECUTABLEBLOCK {id} {x} {y} {z} {world} {replace true or false} [ownerUUID]
- {id}: ID of the Executable Block
- {x}: X coordinates
- {y}: Y coordinates
- {z}: Z coordinates
- {world}: The world you want the Executable Block to be at
- {replace true or false}: Whether you want to replace a block that exists in that location or not
- [ownerUUID]: (Optional) The uuid of the player who would be the owner of the eb
- Example:
- SETEXECUTABLEBLOCK BLOCKS_001_STONE %block_x_int% %block_y_int% %block_z_int% %block_world% true
DELAY
- Info: Delays a command line for seconds
- Command: DELAY {amount}
- {amount}: To how long you want commands to be delayed (In seconds)
- Example:
- DELAY 8
PARTICLE
- Info: Spawns particles in the block's location
- Command: PARTICLE {type} {quantity} {offset} {speed}
- {type}: The type of particle. Reference (ALL CAPS)
- {quantity}: The amount of particles that will spawn
- {offset}: The radius of the area where the particles may spawn in the block's location
- {speed}: To how fast or how big particles will be
- Example:
- PARTICLE COMPOSTER 10 0.1 0.5
MINEINCUBE
- Info: Destroys blocks in a radius in a cuboid shape. Each block broken by this command gets counted as a player block break event.
- Command: MINEINCUBE {radius} {drop} [generate BlockBreakEvent]
- {radius}: Radius of how big the area of the crops you want to break
- {drop}: Whether the block drops loot or not
- [create blockBreakEvent]: if the plugin will generate a blockBreakEvent for each broken block by the MINEINCUBE (default true)
- Example:
- MINEINCUBE 4 true false
FERTILIZEINCUBE
- Info: Fertilizes nearby crops by 1 age
- Command: FERTILIZEINCUBE {radius}
- {radius}: Radius of how big the area of the crops you want to fertilize
- Example:
- FERTILIZEINCUBE 10
RANDOM RUN
- RANDOM RUN
- Info: The first part of the command
- Command: RANDOM RUN: {amount}
- {amount}: The amount of commands that will be randomly selected inside of the command line
- RANDOM END
- Info: The other part of the command
- Command: RANDOM END
- Example:
- 'RANDOM RUN: 1'
- EXPLODE
- SETBLOCK DIAMOND_BLOCK
- RANDOM END
DELAYTICK
- Info: Delays a command line for game ticks (20 ticks = 1 second)
- Command: DELAYTICK {amount}
- {amount}: To how long you want commands to be delayed (In ticks)
- Example:
- DELAYTICK 12
NOTHING*
- Info: Mainly used for RANDOM RUN commands as a "dummy" command for RNG adjustments
- Command: NOTHING*{amount}
- Example of usage:
- 'RANDOM RUN: 1'
- NOTHING*2
- MINEINCUBE 3 true
- RANDOM END
This command line means that there is a 1/3 chance it will run the MINEINCUBE 3 true
command
BREAK
- Info: Breaks the target block
- Command: BREAK
- Example:
- BREAK
VEIN_BREAKER
- Info: Breaks blocks in veins in one block break
- Command: VEIN_BREAKER [Max_vein_size] [block_type, no need for LOG, ORE and WOOD]
- [max_vein_size]: Max amount of blocks the command can break
- [block_type, no need for LOG, ORE and WOOD]: Block type
- Example:
- VEIN_BREAKER 20 DIAMOND_BLOCK
SETBLOCKPOS
- Info: Setblocks in a certain position
- Command: SETBLOCKPOS {x} {y} {z} {material} [bypassWG true or false]
- {material}: The block type
- [bypassWG true or false]: Whether if WorldGuard will interfere with the placement of the block or not
- Example:
- SETBLOCKPOS %block_x_int% %block_y_int% %block_z_int% STONE true
SILK_SPAWNER
- Info: Collects the spawner you clicked
- Command: SILK_SPAWNER
- Example:
- SILK_SPAWNER
LAUNCH
- Info: Makes the target block shoot projectiles
- Command: LAUNCH {projectile} [speed]
- Example:
- LAUNCH ARROW 2
- This command only works in the following: