Only usable on mainhand
if want to create an item that can only be used on mainhand and if its not on mainhand the item is dropped to the ground this is your place and actually, is very simple
- Create an activator LOOP
- Add a condition of ifHasNotExecutableItems
- The executableitem must be the EI you created (the same one you are editing)
- Slot: mainhand
- Add on commands FORCEDROP %slot%
That's it !! Save save and save.. if have any question feel free to ask on discord, good time !
Try it now
Copy this into ExecutableItems and reload
From the SCore custom commands reference. Paste it into a config, run the plugin's reload command, and you have a working starting point to edit.
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 absorptionPlugin used on this page
ExecutableItemsCustom items with abilities, activators and commands — no code.
- 5.0/5 from 10 reviews
- 3.2K servers running it right now (bStats)
- 51 downloads on SPlugins
€19.99
one-time, lifetime updates
Created Oct 26, 2025Last updated Oct 26, 2025 by Ssomar
Edit this page on GitHub