changes AdminBypass permission to enable new "bypass" command which toggles admin bypass mode on or off, defaults to off

added tracking for the SaveTask() and shutdown of it when the plugin is disabled
This commit is contained in:
Brettflan
2011-04-06 05:04:57 -05:00
parent 542ad4a6a0
commit 26c708b65e
6 changed files with 50 additions and 4 deletions

View File

@@ -87,6 +87,10 @@ public class Conf {
safeZoneNerfedCreatureTypes.add(CreatureType.SLIME);
safeZoneNerfedCreatureTypes.add(CreatureType.ZOMBIE);
}
// track players with admin access who have enabled "admin bypass" mode, and should therefore be able to build anywhere
// not worth saving between server restarts, I think
public static transient Set<String> adminBypassPlayers = Collections.synchronizedSet(new HashSet<String>());
// -------------------------------------------- //
// Persistance