Comment on page
⌨
Commands & Permissions
TIP for beginners:
To give the permissions of all items, I advice you to download a permission plugin like Luckperms, Once you have a perm plugin you just need to give the permission
ei.item.*
, for Luckperm the command is /lp group default permission set ei.item.* true
- Permission:
ei.item.{id}
- Negative permission:
-ei.item.{id}
- Example:
ei.item.Test
- Give all items permission:
ei.item.*
- Permission:
ei.nocd.{id}
ei.nocd.*
- Description: Give this custom permission to disable the cooldown for your vip players
- (Be sure to test without being op)
- Permission:
ei.*
- Permission:
ei.cmds
- Command: /ei create {id}
- Tip:
- If you want copy the item of another plugin, or a custom vanilla item (Banner, Shield, ...), it's simple ! Take it in your main hand and execute the create command.
- Permission:
ei.cmd.create
- Command: /ei editor or /ei show
- Permission:
ei.cmd.editor
orei.cmd.show
- Command: /ei reload
- Permission:
ei.cmd.reload
Reload only 1 item
- Command: /ei reload <Id of the item>
- Permission:
ei.cmd.reload
- Command: /ei default_items
- Permission:
ei.cmd.default_items
- Command: /ei delete {id}
- Permission:
ei.cmd.create
- Command: /ei edit {id}
- Permission:
ei.cmd.edit
- Command: /ei clear [playerName] [ALL/DELAYED_COMMANDS/COOLDOWNS/ACTIONBARS]
- ALL - Resets the player's delayed commands, cooldowns and actionbars
- DELAYED_COMMANDS - Resets all delayed commands caused by DELAY and DELAYTICK
- COOLDOWNS - Resets all player's cooldowns across all items
- ACTIONBARS - Resets all player's actionbars from the ACTIONBAR custom command
- Permission:
ei.cmd.clear
- Command: /ei actionbar {on or off}
- Permission:
ei.cmd.actionbar
- Command: /ei inspect
- Requirement: The item must have the option
storeItemInfos: true
- + : it shows the owner of the item, id, usage, and more !
- Permission:
ei.cmd.inspect
- Command: /ei unowned
- + : After that the next player who click on this item will become the new owner (the player must be not op)
- Permission:
ei.cmd.unowned
- Command: /ei take {playername} {id} {quantity}
- Permission:
ei.cmd.take
- command: /ei refresh {playername or all} {ExecutableItemID or all} {resetUsage} {resetDurability}
- Permission:
ei.cmd.refresh
- command: /ei set_owner <playerName>
It works even with offline players
- It is useful to check when an activator is being activated
- command: /ei debug
- Command:
- /ei give {playername} {id} {quantity} [USAGE()] [VAR()]
- Examples:
- /ei give %player% Genesis_Crystal 3 USAGE(10) VAR(vibraniun:10,proton:30)
- /ei give %player% SurgeBlade 1 USAGE(%usage%-1) VAR(charge:%var_charge%+1)
- Permission:
ei.cmd.give
- Command:
- /ei giveall {id} {quantity} [world]
- Permission:
ei.cmd.giveall
- Command:
- /ei giveslot {playername} {id} {quantity} {slot} [override true or false] USAGE(<usage>) VAR(<var>)
- Examples:
- /ei giveslot Ssomar test 1 0 USAGE(50) VAR(x:Hey,world:Island)
- /ei giveslot Special70 rum 1 %slot% USAGE(69420) VAR(tell_me:WHY,aint_nothing:BUT_A_HEARTBREAK)
- Default usage : The usage that is in the config of your EI
- Override allow the EI to take that slot, and if there was an item there, it is going to move to another slot or get dropped to the ground.
- Permission:
ei.cmd.giveslot
Give every EI in a specific folder to a player
- Command:
- /ei givefolder {playername} {folder} {quantity}
- Command:
- /ei drop {id} [quantity] [world] [x] [y] [z]
- Default quantity : 1
- Default location : The location of the player who has executed this command
- Permission:
ei.cmd.drop
- Command:
- In-game > /ei modification set|modification usage {slot} {value}
- In console > /ei console-modification set|modification usage {player} {slot} {value}
- set: Set a new value
- modification: if the value set is positive it will increase the actual value of the usage otherwise it will decrease the usage
- For the slot check the image below:
- Permission:
ei.cmd.modification
- VIA CONSOLE
- Command:
/ei console-modification {set/modification} variable {player} {slot} {variableName} {value}
- VIA on game
- Command:
/ei modification {set/modification} variable {slot} {variableName} {value}
- Command:
/ei search [Item ID] [search mode]
- Search modes:
- players: Search an EI in all online player inventories
- containers: Search an EI in all loaded containers
- all: both last.
- Example: /ei search EternalSword all
Last modified 3d ago