-
Notifications
You must be signed in to change notification settings - Fork 13
Command Reference: Option
EpiCanard edited this page Apr 5, 2022
·
3 revisions
Command | Aliases | Syntax | Description |
---|---|---|---|
option | opt | /svs option <ID> {question|add|remove} | Bind player-input option questions & answers to ServerSigns |
This command allows administrators to create an 'option menu' from which a player can choose 1 of any number of options which can affect the sign's execution.
A defined 'option menu' can be displayed to the user with the command '/svs add <displayOptions> <ID>' where ID is the desired 'option menu' ID.
When a ServerSign is executed by a player, it will scan for any accessible 'option menu' displayOptions commands (see above) and display them to the player to select an answer BEFORE execution of the commands.
Please be sure to refer to the "add" command section of this Wiki page for details on how to check the player's chosen options using conditional IF statements.
Parameter | Description |
---|---|
ID | The identifying name for the desired 'option menu' - when used with the 'question' parameter, this will create a new 'option menu' with the defined ID. |
question|add|remove | These parameters can be abbreviated to q|a|r respectively. The 'question' parameter should be followed by a question to ask the player, and will created a new 'option menu' with the given ID, ready for answers to be added. The 'add' parameter should be followed by 1) an answer label (no spaces), and 2) the answer description (can contain spaces) - the player will be shown all of the answers defined using this command when, and will need to choose 1 using it's label. The 'remove' parameter should be followed by an existing answer label, and will remove the corresponding answer & description from the 'option menu'. |
/svs option example1 question Is this question an example?
/svs option example1 add Yes You think this answer is an example
/svs option example1 add No You think this answer is not an example
/svs add \<displayOption> example1
/svs opt example2 q Who is your favourite ServerSigns developer?
/svs option example2 add Caliber You think Caliber is your favourite
/svs opt example2 a Exloki You think Exloki is your favourite
/svs option example2 add Neither You don't like either of them!
/svs add \<displayOption> example2
- 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