| Name | tab complete |
| Event Lines | tab complete |
| Triggers | when a player or the console is sent a list of available tab completions. |
| Generated Examples | after tab complete: |
| Has Player | when the tab completion is done by a player. - this adds switches 'flagged:<flag name>' + 'permission:<node>', in addition to the '<player>' link. |
| Switches | command:<command_name> to only process the event if the command matches the input name. |
| Contexts | <context.buffer> returns the full raw command buffer.
<context.command> returns the command name.
<context.current_arg> returns the current argument for completion.
<context.completions> returns a list of available tab completions.
<context.server> returns true if the tab completion was triggered from the console.
|
| Determine | ListTag to set the list of available tab completions. |
| Cancellable | True - This adds <context.cancelled> and determine 'cancelled' or 'cancelled:false' |
| Group | Server |
| Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/events/server/TabCompleteScriptEvent.java#L18 |