Class ActionSender

java.lang.Object
net.gcnt.additionsplus.main.ActionSender

public class ActionSender extends Object
Class that is used in the execution of actions.
  • Constructor Details

    • ActionSender

      public ActionSender(org.bukkit.command.CommandSender arg0)
    • ActionSender

      public ActionSender(org.bukkit.entity.Player arg0)
  • Method Details

    • isPlayer

      public boolean isPlayer()
    • getPlayer

      public org.bukkit.entity.Player getPlayer()
    • getSender

      public org.bukkit.command.CommandSender getSender()
    • sendMessage

      public void sendMessage(String msg)
    • hasPermission

      public boolean hasPermission(String perm)
    • dispatchCommand

      public void dispatchCommand(String cmd)
    • chat

      public void chat(String msg)
    • getName

      public String getName()
    • getInstantName

      public String getInstantName()
    • isOp

      public boolean isOp()
    • getInstantWorldName

      public String getInstantWorldName()
    • getWorldName

      public String getWorldName()