Kadi: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 240: | Line 240: | ||
|} | |} | ||
== Tabcompletion Keywords == | ==Tabcompletion Keywords== | ||
{| class="wikitable sortable mw-collapsible" | {| class="wikitable sortable mw-collapsible" | ||
|+ | |+Forced registered keywords | ||
!Keyword | !Keyword | ||
!Provides | !Provides | ||
Line 265: | Line 265: | ||
{| class="wikitable sortable mw-collapsible" | {| class="wikitable sortable mw-collapsible" | ||
|+ | |+Optional Keywords if not overwritten | ||
!Keyword | !Keyword | ||
!Provides | !Provides | ||
!Examples | !Examples | ||
|- | |- | ||
|[ | |<nowiki>[on|off|toggle]</nowiki> | ||
| | |Show matching boolean state | ||
| | |||
|- | |||
|[price] | |||
|double number | |||
| | |||
|- | |||
|[amount] | |||
|double number | |||
| | |||
|- | |||
|[radius] | |||
|double number | |||
| | |||
|- | |||
|[number] | |||
|integer number | |||
| | |||
|- | |||
|[page] | |||
|integer number | |||
| | |||
|- | |||
|[nickname] | |||
|'any' string without spaces | |||
| | |||
|- | |||
|[name] | |||
|'any' string without spaces | |||
| | |||
|- | |||
|[owner] | |||
|same as [player] | |||
| | |||
|- | |||
|[comment...] | |||
|endless text without colors | |||
| | |||
|- | |||
|[message...] | |||
|endless text without colors | |||
| | |||
|- | |||
|[colortext...] | |||
|endless text with colors ('&') | |||
| | |||
|- | |||
|[colorvartext...] | |||
|endless text with colors and variable usage like %name% | |||
| | | | ||
|- | |- | ||
|[ | |[shortcut] | ||
| | |single char | ||
| | | | ||
|- | |- | ||
|[ | |[color] | ||
| | |ChatColor enum (dark_blue, light_purple, gold) | ||
| | | | ||
|- | |- | ||
Line 288: | Line 336: | ||
{| class="wikitable sortable mw-collapsible" | {| class="wikitable sortable mw-collapsible" | ||
|+ | |+Kadi plugin additional keywords | ||
!Keyword | !Keyword | ||
!Provides | !Provides | ||
!Examples | !Examples | ||
|- | |- | ||
|[ | |[pgroup] | ||
| | |Name of a permission group | ||
| | | | ||
|- | |- | ||
|[ | |[puser] | ||
| | |Name of a permission user | ||
| | | | ||
|- | |- | ||
|[ | |[name:account] | ||
| | |Money transfer. This on is complex. See below | ||
| | | | ||
|- | |- | ||
|[channel] | |||
|Name of a chat channel | |||
| | | | ||
| | |- | ||
|[prefix...] | |||
|Setting a prefix for something (chat channel) | |||
| | | | ||
|} | |} | ||
Sending money is allowed with a LOT of variants. Placeholder is '''[name:account]''' . | |||
# '''pay Kademlia 5''' <- RESOLVE PLAYERNAME CAccess.getPlayerIdService().getNameAnyMatching(t); | |||
# '''pay :myacc 5''' <- OWN ACCOUNT Nickname lookup | |||
# '''pay *100500300''' <- RESOLVE ACCOUNT-NUMBERS / Show 'known' numbers. Numbers used lately + server numbers and (numbers on their friends if allowed) | |||
# '''pay *aldi''' <- TRADEMARKED / Simply show all numbers that are valid in theory? Or ones marked as "public" | |||
# (ADMINS) '''pay Kade:1005003''' <- Pre-Filtered by username / Show accounts of the user | |||
# (ADMINS) '''pay Kade:test 5''' <- RESOLVE PLAYERNAME + has a named account (admin only? as this makes private accounts searchable) |
Revision as of 15:54, 17 March 2020
Latest Changes
- Shows possible subcommands
- Shows current syntax word and example text
- Filters input based on partial matches
Command Interfaces
Tabcompletion Keywords
Keyword | Provides | Examples |
---|---|---|
[world] | Shows all worldnames | |
[player] | Shows any at least initialized(looked up) player | |
[player,player] | Same as player but allows comma listing | |
Keyword | Provides | Examples |
---|---|---|
[on|off|toggle] | Show matching boolean state | |
[price] | double number | |
[amount] | double number | |
[radius] | double number | |
[number] | integer number | |
[page] | integer number | |
[nickname] | 'any' string without spaces | |
[name] | 'any' string without spaces | |
[owner] | same as [player] | |
[comment...] | endless text without colors | |
[message...] | endless text without colors | |
[colortext...] | endless text with colors ('&') | |
[colorvartext...] | endless text with colors and variable usage like %name% | |
[shortcut] | single char | |
[color] | ChatColor enum (dark_blue, light_purple, gold) | |
Keyword | Provides | Examples |
---|---|---|
[pgroup] | Name of a permission group | |
[puser] | Name of a permission user | |
[name:account] | Money transfer. This on is complex. See below | |
[channel] | Name of a chat channel | |
[prefix...] | Setting a prefix for something (chat channel) |
Sending money is allowed with a LOT of variants. Placeholder is [name:account] .
- pay Kademlia 5 <- RESOLVE PLAYERNAME CAccess.getPlayerIdService().getNameAnyMatching(t);
- pay :myacc 5 <- OWN ACCOUNT Nickname lookup
- pay *100500300 <- RESOLVE ACCOUNT-NUMBERS / Show 'known' numbers. Numbers used lately + server numbers and (numbers on their friends if allowed)
- pay *aldi <- TRADEMARKED / Simply show all numbers that are valid in theory? Or ones marked as "public"
- (ADMINS) pay Kade:1005003 <- Pre-Filtered by username / Show accounts of the user
- (ADMINS) pay Kade:test 5 <- RESOLVE PLAYERNAME + has a named account (admin only? as this makes private accounts searchable)