v1.3.1 [1060]

Details

  • Filename
    bPermissions.jar
  • Uploaded by
  • Uploaded
    Sep 2, 2011
  • Size
    70.92 KB
  • Downloads
    438
  • MD5
    d04fda49aaa1b63d78a2518edf06b0b7

Supported Bukkit Versions

  • CB 1060

Changelog

02/09/2011

Update to 1.3.1

Added config option to override rhe has() check in CraftPlayer via reflection adding support for the "*" node for admins.

Added TransitionSet api (per-world transitional permissions specifically for Kainzo, you're welcome) Use by casting

public TransitionSet castToTransitionSet(PermissionSet p) {
TransitionSet t = (TransitionSet) p;
return t;
}

TransitionSet.java

package de.bananaco.permissions.interfaces;

import java.util.List;

import org.bukkit.entity.Player;

public interface TransitionSet {
	/**
	 * Adds a node that is never written to a config file to a specific player
	 * @param player
	 * @param node
	 */
	public void addTransNode(Player player, String node);
	/**
	 * Adds a node that is never written to a config file to a specific player
	 * @param player
	 * @param node
	 */
	public void addTransNode(String player, String node);
	/**
	 * Removes a node that is never written to a config file from a specific player
	 * @param player
	 * @param node
	 */
	public void removeTransNode(Player player, String node);
	/**
	 * Removes a node that is never written to a config file from a specific player
	 * @param player
	 * @param node
	 */
	public void removeTransNode(String player, String node);
	/**
	 * Clears all the transitional nodes for a player
	 * @param player
	 */
	public void clearTransNodes(Player player);
	/**
	 * Clears all the transitional nodes for a player
	 * @param player
	 */
	public void clearTransNodes(String player);
	/**
	 * Lists all transitional nodes for a player
	 * @param player
	 * @return List<String>
	 */
	public List<String> listTransNodes(Player player);
	/**
	 * Lists all transitional nodes for a player
	 * @param player
	 * @return List<String>
	 */
	public List<String> listTransNodes(String player);

}