|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bukkit.plugin.java.JavaPlugin
org.monstercraft.irc.IRC
org.monstercraft.irc.handlers.PermissionsHandler
public class PermissionsHandler
This handles all of the plugins permissions.
| Constructor Summary | |
|---|---|
PermissionsHandler(com.nijiko.permissions.PermissionHandler perms)
Creates an instance of the PermissionsHandler class. |
|
| Method Summary | |
|---|---|
boolean |
anyGroupsInList(org.bukkit.entity.Player player,
java.util.List<java.lang.String> list)
Checks if a player is in a list. |
java.lang.String[] |
getGroups(org.bukkit.entity.Player player)
Sets the players groups. |
boolean |
hasCommandPerms(org.bukkit.entity.Player player,
GameCommand command)
Checks if the player has access to the command. |
| Methods inherited from class org.monstercraft.irc.IRC |
|---|
getCommandManager, getHandleManager, getHookManager, getSettings, onCommand, onDisable, onEnable |
| Methods inherited from class org.bukkit.plugin.java.JavaPlugin |
|---|
getCommand, getConfig, getConfiguration, getDatabase, getDatabaseClasses, getDataFolder, getDefaultWorldGenerator, getDescription, getPluginLoader, getResource, getServer, isEnabled, isInitialized, isNaggable, onLoad, reloadConfig, saveConfig, setNaggable, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PermissionsHandler(com.nijiko.permissions.PermissionHandler perms)
perms - The Permissions hooks handler.| Method Detail |
|---|
public boolean hasCommandPerms(org.bukkit.entity.Player player,
GameCommand command)
player - The player executing the command.command - The command being executed.
public boolean anyGroupsInList(org.bukkit.entity.Player player,
java.util.List<java.lang.String> list)
player - The player to check.list - The list to check.
public java.lang.String[] getGroups(org.bukkit.entity.Player player)
player - The player to set groups for.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||