Class SpongeCMDSender

    • Constructor Detail

      • SpongeCMDSender

        public SpongeCMDSender​(org.spongepowered.api.command.CommandSource source)
    • Method Detail

      • getPlayerName

        public java.util.Optional<java.lang.String> getPlayerName()
        Specified by:
        getPlayerName in interface CMDSender
      • hasPermission

        public boolean hasPermission​(java.lang.String permission)
        Specified by:
        hasPermission in interface CMDSender
      • getUUID

        public java.util.Optional<java.util.UUID> getUUID()
        Specified by:
        getUUID in interface CMDSender
      • send

        public void send​(java.lang.String text)
        Specified by:
        send in interface CMDSender
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object