-
Notifications
You must be signed in to change notification settings - Fork 13
Command Reference: Cancel
EpiCanard edited this page Apr 5, 2022
·
3 revisions
Command | Aliases | Syntax | Description |
---|---|---|---|
cancel | setcancel, stopevent | /svs cancel <mode> | Set if/when a ServerSign should cancel the player interact event |
The cancel event mode determines if/when the PlayerInteractEvent should be cancelled during ServerSigns execution.
This is particularly useful for setting a ServerSign up on a redstone-producing block (like a button) - using the cancel event mode the admin can choose when the redstone signal should be emitted (i.e. only when the execution is successful).
Parameter | Description |
---|---|
mode | The mode should be input as a literal string as shown below. |
Available Modes:
Mode | Description |
---|---|
always | The event will always be cancelled, no matter the outcome of the execution |
never | The event will never be cancelled, no matter the outcome of the execution |
success_only | The event will only be cancelled if the execution is successful |
fail_only | The event will only be cancelled if the execution fails |
/svs setcancel always
/svs cancel never
/svs stopevent success_only
/svs cancel fail_only
- Home
- Installation
- Configuration
- Permissions
- Frequently Asked Questions (FAQs)
- Tutorial Videos
-
Command Reference
- Add
- Cancel
- CancelPermission
- Confirmation
- Copy
- Create
- Edit
- Grant
- Hic
- Holding
- Import
- Insert
- List
- LongCommand
- Option
- Pic
- Price-Item
- Reload
- Reload-Config
- Reload-Signs
- Remove
- Reset-All-Cooldown
- Reset-Cooldown
- Reset-Cooldowns
- Select
- Set-Cooldown
- Set-Global-Cooldown
- Set-Loops
- Set-Permissions
- Set-Price
- Set-Uses
- Silent
- Time-Limit
- Void
- XP