-
Notifications
You must be signed in to change notification settings - Fork 3
Arguments
SuperRonanCraft edited this page Aug 8, 2020
·
3 revisions
Arguments allows you to check for many different types of conditions. Check if a players balance is too high, too low, just right. Or even check if the player has a certain rank to click/view an item!
# Check if player name is equal to a specific name
Arguments:
<UNIQUEID>:
Type: 'Equals'
Input: '%player_name%'
Output: 'Ronan'
Commands:
- 'message: &7Whoops! Seems like ur not "Ronan"!'
# Check if players balance is above or equal to 100
Arguments:
<UNIQUEID>:
Type: 'greaterOrEqual'
Input: '%vault_eco_balance%'
Output: 100
Commands:
- 'message: &7Whoops! Seems like ur not rich enough!'| Required? | Type | Supports Placeholders? |
|---|---|---|
| Yes | Node | No |
The condition type we want to check for.
Valid Nodes:
-
equalsif input and output are equal to each other explicitly -
equalsIgnoreCaseif input equals output ignoring case -
greaterif input is greater than output -
lessif the input is less than output -
greaterOrEqualif input is greater than or equal to output -
lessOrEqualif input is less than or equal to output -
containsif input contains the output -
startsWithif the input starts with the output -
endsWithif the input ends with the output
| Required? | Type | Supports Placeholders? |
|---|---|---|
| Yes | Object | Yes |
The input we will provide to the condition.
| Required? | Type | Supports Placeholders? |
|---|---|---|
| Yes | Object | Yes |
The outcome we want to have/compare when checking the condition.
| Required? | Type |
|---|---|
| No | StringList |
List of commands that will be performed if the argument did NOT pass.
List of available commands are here
Chat with us on Discord
Have a Suggestion? Make an issue!
Thank you for viewing the Wiki for AdvancedCustomMenu!
Did this wiki help you out? Please give it a Star so I know it's getting use!
Check out my other plugins!