TabCompletions file tutorial (enUS)
TabCompletions file tutorial
Syntaxe
This file uses a YALM syntaxe.
So some UTF-8 symboles are not supported, like the TAB char.
If you are using Notepad++, or an other software who adds TAB chars when using the Return key, please verrify your configuration with an online YALM checker.
Groups
TabCompletion
On the plugin's first start, the file will automatically be created with some code exemple:
groups: default: tabcompletions: - help - kit - kat - server inheritance: [] rank1: tabcompletions: - home - sethome - delhome - createhome inheritance: - default [...]
(The line "inheritance: []" is useless.)
Like this exemple, we will create a new group called Vip: (The name is case-sensitive)
Vip:
You have created a new group. This is useless until you add tab-completion like that:
Vip: tabcompletions: - pet - top
You can add what command ever you want.
To bypass all tabcompletions, use the * tabcompletion like this:
Owner: tabcompletions: - '*'
You can also use the tabcompleter.bypass permission (default: op)
Inheritance
Now, we want to add Default's group command to Vip.
The simplest way to do this is to add an inheritance like that:
Default: tabcompletions: - help - kit - kat - server Vip: tabcompletions: - pet - top inheritance: - Default
You can add multiple inheritance to one group.
If a group inherits an heritance from another group, the other group's tab completions will not be ignored.
Comments