Examples of inGroup()


Examples of org.anjocaido.groupmanager.permissions.AnjoPermissionsHandler.inGroup()

        if (nameNotSafe(group)) {
            return false;
        }

        AnjoPermissionsHandler permissionHandler = getPermissionHandler(null);
        return permissionHandler != null && permissionHandler.inGroup(player.getName(), group);
    }

    @Override
    public String[] getGroups(OfflinePlayer player) {
        return getGroups(player.getName());
View Full Code Here

Examples of org.anjocaido.groupmanager.permissions.AnjoPermissionsHandler.inGroup()

            handler = groupManager.getWorldsHolder().getWorldPermissions(worldName);
        }
        if (handler == null) {
            return false;
        }
        return handler.inGroup(playerName, groupName);
    }

    @Override
    public boolean playerAddGroup(String worldName, String playerName, String groupName) {
        OverloadedWorldHolder owh;
View Full Code Here

Examples of ru.tehkode.permissions.PermissionUser.inGroup()

    public boolean playerInGroup(String worldName, OfflinePlayer op, String groupName) {
      PermissionUser user = getUser(op);
      if (user == null) {
        return false;
      }
      return user.inGroup(groupName, worldName);
    }

    @Override
    public boolean playerInGroup(String worldName, String playerName, String groupName) {
        return PermissionsEx.getPermissionManager().getUser(playerName).inGroup(groupName, worldName);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.