Package ru.tehkode.permissions.events

Examples of ru.tehkode.permissions.events.PermissionEntityEvent


  protected void callEvent(PermissionEntityEvent event) {
    manager.callEvent(event);
  }

  protected void callEvent(PermissionEntityEvent.Action action) {
    this.callEvent(new PermissionEntityEvent(manager.getServerUUID(), this, action));
  }
View Full Code Here


      Player player = null;

      try {
        if (event instanceof PermissionEntityEvent) {
          if (PermissionEventEnums.PEXEntity_Action.valueOf(event.getEventName()) != null) {
            PermissionEntityEvent EntityEvent = (PermissionEntityEvent) event;
            PermissionEntity entity = EntityEvent.getEntity();
            if (entity instanceof PermissionGroup) {
              PermissionGroup group = (PermissionGroup)entity;
             
              // Update all players who are in this group.
              for (Player toUpdate : TownyUniverse.getOnlinePlayers()) {
View Full Code Here

TOP

Related Classes of ru.tehkode.permissions.events.PermissionEntityEvent

Copyright © 2018 www.massapicom. 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.