Commands on use addon
What does it do?
The addon gives you the ability to execute commands when a player uses the portal
How is it configured?
input1: who is going to execute the command (values= player or console)
input2: pre-conditions for the command to be executed. For example
((%destinationWorld%==world6 && %entity%==astaspasta) || %portal%==samplePortal) && %zAxis%
.true
can be used if you want the command to run anywayinput3: the command to execute.
For example tell %entity% you used a zAxis portal and its name is samplePortal or your name is astaspasta and you came from world6
If you plan to override the teleport of Dimensions (for example for a random location command) then It's recommended that you add the following to your portal config. (This addon option is provided by the CommandsOnUse addon)
Last updated