Argument
Arguments de TabulaUI
An argument is a command parameter. When you execute a command to open a menu, you can add various arguments that will influence the creation of your menu. This avoids creating multiple menus unnecessarily in some cases. A menu can be opened as follows: /parameter scoreboard
. In this example, the argument is "scoreboard". The usefulness here is that one can use the word "scoreboard" as a placeholder when creating the menu. Indeed, a command argument is accessible through the placeholder %arg_{name}%
. Here, if our argument were named "setting", then %arg_setting%
would return the value "scoreboard".
To achieve this, simply create an argument with the following schema and the different types of arguments that exist.
Framework
STRING
Set of characters
"Hello"
BOOLEAN
Valeur pouvant être: true
ou false
true
Properties
Description: Insert an argument corresponding to the name of a player on the server.
STRING
Set of characters
"Hello"
DOUBLE
Decimal number
18.2
INTEGER
Integer number
4
Last updated