Class ArgAddRemove
java.lang.Object
dev.espi.protectionstones.commands.ArgAddRemove
- All Implemented Interfaces:
PSCommandArg
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
determinePlayerSurpassedLimit(org.bukkit.entity.Player commandSender, List<PSRegion> regionsToBeAddedTo, PSPlayer addedPlayer)
boolean
executeArgument(org.bukkit.command.CommandSender s, String[] args, HashMap<String,String> flags)
getNames()
tabComplete(org.bukkit.command.CommandSender sender, String alias, String[] args)
-
Constructor Details
-
ArgAddRemove
public ArgAddRemove()
-
-
Method Details
-
getNames
- Specified by:
getNames
in interfacePSCommandArg
-
allowNonPlayersToExecute
public boolean allowNonPlayersToExecute()- Specified by:
allowNonPlayersToExecute
in interfacePSCommandArg
-
getPermissionsToExecute
- Specified by:
getPermissionsToExecute
in interfacePSCommandArg
-
getRegisteredFlags
- Specified by:
getRegisteredFlags
in interfacePSCommandArg
-
executeArgument
public boolean executeArgument(org.bukkit.command.CommandSender s, String[] args, HashMap<String,String> flags)- Specified by:
executeArgument
in interfacePSCommandArg
-
tabComplete
public List<String> tabComplete(org.bukkit.command.CommandSender sender, String alias, String[] args)- Specified by:
tabComplete
in interfacePSCommandArg
-
determinePlayerSurpassedLimit
-