SimplyPerms/net/crystalyx/bukkit/simplyperms/io/PermsConfig.java

41 lines
1.1 KiB
Java
Raw Normal View History

2012-04-29 00:11:39 +00:00
package net.crystalyx.bukkit.simplyperms.io;
import java.util.List;
import java.util.Map;
public interface PermsConfig {
public void removePlayer(String player);
public void removePlayerGroups(String player);
public void removePlayerGroup(String player, String group);
public void addPlayerGroup(String player, String group);
public void addPlayerPermission(String player, String permission, boolean value);
2012-04-29 00:55:03 +00:00
2012-04-29 00:11:39 +00:00
public void addPlayerPermission(String player, String world, String permission, boolean value);
public void removePlayerPermissions(String player);
public void removePlayerPermission(String player, String permission);
public void removePlayerPermission(String player, String world, String permission);
public List<String> getPlayers(String group);
public List<String> getPlayerGroups(String player);
public Map<String, Boolean> getPlayerPermissions(String player);
public Map<String, Boolean> getPlayerPermissions(String player, String world);
public boolean isPlayerInDB(String player);
public List<String> getPlayerWorlds(String player);
2012-04-29 00:55:03 +00:00
2012-04-29 00:11:39 +00:00
public List<String> getAllPlayers();
2012-04-29 00:55:03 +00:00
2012-04-29 00:11:39 +00:00
}