Class PAFSubCommandEvent<T extends SubCommand>

  • All Implemented Interfaces:
    net.md_5.bungee.api.plugin.Cancellable
    Direct Known Subclasses:
    FriendshipCommandEvent, InviteEvent, JumpToFriendEvent

    public abstract class PAFSubCommandEvent<T extends SubCommand>
    extends net.md_5.bungee.api.plugin.Event
    implements net.md_5.bungee.api.plugin.Cancellable
    • Constructor Detail

      • PAFSubCommandEvent

        public PAFSubCommandEvent​(OnlinePAFPlayer pExecutor,
                                  java.lang.String[] args,
                                  T pCaller)
    • Method Detail

      • getArgs

        public java.lang.String[] getArgs()
      • getCaller

        public T getCaller()
      • isCancelled

        public boolean isCancelled()
        Specified by:
        isCancelled in interface net.md_5.bungee.api.plugin.Cancellable
      • setCancelled

        public void setCancelled​(boolean b)
        Specified by:
        setCancelled in interface net.md_5.bungee.api.plugin.Cancellable