Package net.gcnt.additionsplus.main
Class ActionSender
java.lang.Object
net.gcnt.additionsplus.main.ActionSender
Class that is used in the execution of actions.
-
Constructor Summary
ConstructorDescriptionActionSender(org.bukkit.command.CommandSender arg0)
ActionSender(org.bukkit.entity.Player arg0)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
dispatchCommand(String cmd)
getName()
org.bukkit.entity.Player
org.bukkit.command.CommandSender
boolean
hasPermission(String perm)
boolean
isOp()
boolean
isPlayer()
void
sendMessage(String msg)
-
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
-
hasPermission
-
dispatchCommand
-
chat
-
getName
-
getInstantName
-
isOp
public boolean isOp() -
getInstantWorldName
-
getWorldName
-