Package org.bukkit.permissions

Examples of org.bukkit.permissions.PermissibleBase


    if (permField == null) {
      return null;
    }
    Permissible oldPerm = (Permissible) permField.get(player);
    if (copyValues && permissible instanceof PermissibleBase) {
      PermissibleBase newBase = (PermissibleBase) permissible;
      PermissibleBase oldBase = (PermissibleBase) oldPerm;
      copyValues(oldBase, newBase);
    }

    // Inject permissible
    permField.set(player, permissible);
View Full Code Here


     * @param profile The human's profile with name and UUID information.
     */
    public GlowHumanEntity(Location location, PlayerProfile profile) {
        super(location);
        this.profile = profile;
        permissions = new PermissibleBase(this);
        gameMode = server.getDefaultGameMode();

        inventoryView = new GlowInventoryView(this);
        addViewer(inventoryView.getTopInventory());
        addViewer(inventoryView.getBottomInventory());
View Full Code Here

      hasPlayed = player.hasPlayedBefore();
      lastPlayed = player.getLastPlayed();
      firstPlayed = player.getFirstPlayed();
    } else {
      perm = new SpoutPermissibleBase(new PermissibleBase(this));
      perm.recalculatePermissions();
    }
    mainScreen = new InGameScreen(this.getEntityId());

    mainScreen.toggleSurvivalHUD(!getGameMode().equals(GameMode.CREATIVE));
View Full Code Here

  private String messageTarget;
 
  public IRCCommandSender(SimpleIRC plugin, SimpleIRCBot bot){
    super(plugin);
   
    this.perm = new PermissibleBase(this);
    this.excludedPermissions = Arrays.asList("bukkit.broadcast", "bukkit.broadcast.admin", "bukkit.broadcast.user");
    this.bot = bot;
   
    this.name = null;
    this.messageTarget = null;
View Full Code Here

TOP

Related Classes of org.bukkit.permissions.PermissibleBase

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.