Examples of recalculatePermissions()


Examples of com.overmc.overpermissions.Group.recalculatePermissions()

        Group group = overPerms.getGroupManager().getGroup(groupName);
        if (group == null) {
            return;
        }
        group.setMeta(node, value);
        group.recalculatePermissions();
    }

    public class PermissionServerListener implements Listener {
        Chat_OverPermissions chat = null;
View Full Code Here

Examples of org.bukkit.entity.Player.recalculatePermissions()

          break;

        case PERMISSIONS_CHANGED:
        case TIMEDPERMISSION_EXPIRED:
          updatePlayerPermission(getCreateWrapper(p, ""), user, p.getWorld().getName());
          p.recalculatePermissions();
          break;

        case OPTIONS_CHANGED:
        case INFO_CHANGED:
          updatePlayerMetadata(getCreateWrapper(p, ".options"), user, p.getWorld().getName());
View Full Code Here

Examples of org.bukkit.entity.Player.recalculatePermissions()

          break;

        case OPTIONS_CHANGED:
        case INFO_CHANGED:
          updatePlayerMetadata(getCreateWrapper(p, ".options"), user, p.getWorld().getName());
          p.recalculatePermissions();
          break;

        default:
          updateAttachment(p);
      }
View Full Code Here

Examples of org.bukkit.entity.Player.recalculatePermissions()

                    permAttaches.get(cp.toPlayer()).setPermission(perm, true);
                }
                if (plugin.getSettingsManager().isAutoGroupGroupName()) {
                    permAttaches.get(cp.toPlayer()).setPermission("group." + cp.getClan().getTag(), true);
                }
                player.recalculatePermissions();
            }
        }
    }

    /**
 
View Full Code Here

Examples of org.bukkit.entity.Player.recalculatePermissions()

            attachment = player.addAttachment(plugin);
            attachment.setPermission(permName, true);
        }
       
        // recalculate!
        player.recalculatePermissions();
    }
   
    public void registerPermissions() {
        PluginManager pm = plugin.getServer().getPluginManager();
        for (World world : plugin.getServer().getWorlds()) {
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.