package uk.co.eluinhost.ultrahardcore.config;

import org.bukkit.permissions.Permission;
import org.bukkit.permissions.PermissionDefault;

//TODO make neater and not so stupid...
public class PermissionNodes {

    /**
     * Players with this take no enderpearl damage
     */


    /**
     * Players with this have lightning strike when they die
     */

    /**
     * Players with this have their health shown in the player list
     */

    /**
     * Various recipe permissions for crafting new recipes
     */


    /**
     * Whether the satiated health is cancelled
     */



    public static final String HEAL_NODE = "UHC.heal";
    public static final String HEAL_ALL = HEAL_NODE + ".all";
    public static final String HEAL_SELF = HEAL_NODE + ".self";
    public static final String HEAL_OTHER = HEAL_NODE + ".other";
    public static final String HEAL_ANNOUNCE = HEAL_NODE + ".announce";

    public static final String FEED_NODE = "UHC.feed";
    public static final String FEED_ALL = FEED_NODE + ".all";
    public static final String FEED_SELF = FEED_NODE + ".self";
    public static final String FEED_OTHER = FEED_NODE + ".other";
    public static final String FEED_ANNOUNCE = FEED_NODE + ".announce";

    public static final String FEATURE_TOGGLE = "UHC.feature.toggle";
    public static final String FEATURE_LIST = "UHC.feature.list";

    public static final String ANTIFREEZE = "UHC.freeze.antifreeze";
    public static final String FREEZE_PERMISSION = "UHC.freeze.command";

    public static final String SCATTER_COMMAND = "UHC.scatter";

    public static final String GENERATE_BORDER = "UHC.generateborder";

    //public static final String TP_ALL = "UHC.tpall";

    public static final String CLEAR_INVENTORY_SELF = "UHC.ci.self";
    public static final String CLEAR_INVENTORY_OTHER = "UHC.ci.other";
    public static final String CLEAR_INVENTORY_IMMUNE = "UHC.ci.immune";

    public static final String RANDOM_TEAMS = "UHC.teams.random";
    public static final String RANDOM_TEAMS_CLEAR = "UHC.teams.clear";
    public static final String LIST_TEAMS = "UHC.teams.list";
    public static final String RANDOM_TEAMS_CREATE = "UHC.teams.create";
    public static final String RANDOM_TEAMS_REMOVE_UHC = "UHC.teams.remove.UHC";
    public static final String RANDOM_TEAMS_REMOVE_ALL = "UHC.teams.remove.all";
    public static final String RANDOM_TEAMS_JOIN_UHC = "UHC.teams.join.UHC";
    public static final String RANDOM_TEAMS_JOIN_ALL = "UHC.teams.join.all";
    public static final String RANDOM_TEAMS_JOIN_OTHER = "UHC.teams.join.other";
    public static final String RANDOM_TEAMS_LEAVE_SELF = "UHC.teams.leave.self";
    public static final String RANDOM_TEAMS_LEAVE_OTHER = "UHC.teams.leave.other";
    public static final String RANDOM_TEAMS_EMPTY = "UHC.teams.empty";


    public static final String DEATH_BAN_BAN = BASE_DEATH_BAN + "unban";
    public static final String DEATH_BAN_UNBAN = BASE_DEATH_BAN + "ban";

    public static final String GIVE_DROPS = "UHC.givedrops";
    public static final String TIMER_COMMAND = "UHC.timer";

    public static Permission TP_ALL = new Permission(
            "UHC.tpall",
            "Allows player to teleport players to players/locations",
            PermissionDefault.OP);


    private PermissionNodes() {
    }
    //TODO clean this up, move into relevant file
}

@@ -144,446 +144,64 @@
 DO m
-ake neater and not so stupid...%0Apublic class PermissionNodes %7B%0A%0A    /**%0A     * Players with this take no enderpearl damage%0A     */%0A%0A%0A    /**%0A     * Players with this have lightning strike when they die%0A     */%0A%0A    /**%0A     * Players with this have their health shown in the player list%0A     */%0A%0A    /**%0A     * Various recipe permissions for crafting new recipes%0A     */%0A%0A%0A    /**%0A     * Whether the satiated health is cancelled%0A     */%0A%0A
+ove into relevant classes%0Apublic class PermissionNodes %7B
 %0A%0A  
@@ -2888,96 +2888,6 @@
 P);%0A
-%0A%0A    private PermissionNodes() %7B%0A    %7D%0A    //TODO clean this up, move into relevant file%0A
 %7D%0A

add todo