-
Notifications
You must be signed in to change notification settings - Fork 0
Tab
In this instance, tab is the tab completion at argument 0, which I will refer to as the tab completion.
You can see it by going into chat, typing /, and if nothing shows up, also pressing TAB.
Tab modifies the tab completion of players in different circumstances.
To use the tab features, you have to enable the listener in the config:
listeners:
tab: true # hereTab is group-based, so you can have multiple configurations.
start by creating you own group in the groups section:
groups:
my-group:You now have an empty group.
Optional. if you don't set it, the group's section name is used.
The advantage is just that you can name the section whatever you want.
my first group:
name: 'my-group'A list, which does something different based on the type.
my-group:
list: [pl, plugins]Values: blacklist, whitelist
Blacklist removes the list from the tab completion.
Whitelist sets the tab completion to reflect the list.
my-group:
type: blacklist
list: [pl, plugins]Removes all commands that have a namespace.
all commands have a namespace which looks like this:
namespace:command
debloated:
remove-namespaced: trueA list of the namespaces you want removed
my-group:
removed-namespaces:
- minecraft
- luckpermsVaries in use, depending on default
my-group:
permission: tab.my-group
Handles how the permission is used.
true: The group is used by every player and the permission is a bypass.
false: The group only applies to players with the permission.