Class TabCompleteEvent

    • Method Detail

      • isCancelled

        public boolean isCancelled()
        Cancelled state.
        Specified by:
        isCancelled in interface Cancellable
        the cancelled state of this event
      • getCursor

        public String getCursor()
        The message the player has already entered.
      • getSuggestions

        public List<String> getSuggestions()
        The suggestions that will be sent to the client. This list is mutable. If this list is empty, the request will be forwarded to the server.
      • setCancelled

        public void setCancelled​(boolean cancelled)
        Cancelled state.
        Specified by:
        setCancelled in interface Cancellable
        cancelled - the state to set