Interface CommandCompletionEvent

All Superinterfaces:
Event
All Known Subinterfaces:
CommandCompletionEvent.Context, CommandCompletionEvent.Identifier, CommandCompletionEvent.Tag

public interface CommandCompletionEvent extends Event
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Fired when GD builds its context command completions.
    static interface 
    Fired when GD builds its identifier command completions.
    static interface 
    Fired when GD builds its tag command completions.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets an immutable set of current command completions.
    void
    register(String commandCompletion)
    Register a custom command completion value.

    Methods inherited from interface com.griefdefender.api.event.Event

    getCause
  • Method Details

    • getCommandCompletions

      Set<String> getCommandCompletions()
      Gets an immutable set of current command completions.
      Returns:
      The immutable set of command completions
    • register

      void register(String commandCompletion)
      Register a custom command completion value.
      Parameters:
      commandCompletion -