Variable conditions
This appears literally on almost every item, and it is repeated constantly, anyways, it will be here too, its very easy.
-
First, create a variable in the GUI
- Select the name, the type and the default value
-
Then create an activator (the one that will require the condition)
- go to placeholdersConditions and add one
- On the PART1 use %var_<NAMEOFYOURVARIABLE>%
- for example if my variable is called "myhouse" the variable is %var_myhouse%
- And on PART2 the condition you want.
- Don't remember the type of comparator, if want EQUALS, or SUPERIOR, INFERIOR, etc
- On the PART1 use %var_<NAMEOFYOURVARIABLE>%
- Then save the placeholder and that's it
- go to placeholdersConditions and add one
Info
This is also explained... but if your variable is a STRING use PLAYER_STRING comparator, and for obvious reasons, you can't use SUPERIOR or INFERIOR, since a string can't be superior to something. And if you are using a INT variable use PLAYER_NUMBER.
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.1K servers running it right now (bStats)
- 52 downloads on SPlugins
€19.99
one-time, lifetime updates
Created Oct 26, 2025Last updated Oct 26, 2025 by Ssomar
Edit this page on GitHub