package musician101.controlcreativemode.lib;

import java.util.Arrays;
import java.util.List;

import org.bukkit.Bukkit;
import org.bukkit.ChatColor;

public class Constants
{
	/** Command Names */
	public static final String CCM_CMD = "ccm";
	public static final String HELP_CMD = "help";
	public static final String RELOAD_CMD = "reload";
	
	/** Command Permissions*/
	public static final String BASE_PERMISSION = "ccm.";
	public static final String ALLOW_PERM = "allow.";
	public static final String ALLOW_ATTACK_PERM = BASE_PERMISSION + ALLOW_PERM + "attack";
	public static final String ALLOW_BLOCK_PERM = BASE_PERMISSION + ALLOW_PERM + "block";
	public static final String ALLOW_DROP_PERM = BASE_PERMISSION + ALLOW_PERM + "drop";
	public static final String ALLOW_OPEN_CHESTS_PERM = BASE_PERMISSION + ALLOW_PERM + "openchests";
	public static final String ALLOW_SPAWN_PERM = BASE_PERMISSION + ALLOW_PERM + "spawn";
	public static final String ALLOW_THROW_PERM = BASE_PERMISSION + ALLOW_PERM + "throw";
	public static final String KEEP_ITEMS_PERM = BASE_PERMISSION + ALLOW_PERM + "keepitems";
	public static final String RELOAD_PERM = BASE_PERMISSION + RELOAD_CMD;
	public static final String SPY_PERM = BASE_PERMISSION + "spy";
	public static final String USE_PERM = BASE_PERMISSION + "use";
	
	/** GameMode Aliases */
	public static final List<String> CREATIVE_ALIASES = Arrays.asList("creative", "c", "1");
	public static final List<String> SURVIVAL_ALIASES = Arrays.asList("survival", "s", "0");
	
	/** Formatting */
	public static final String PREFIX = ChatColor.DARK_PURPLE + "[" + Bukkit.getPluginManager().getPlugin("ControlCreativeMode").getDescription().getPrefix() + "] ";
	
	/** Error strings */
	public static final String PLAYER_ONLY = PREFIX + "Error: This is a player command.";
	public static final String NON_EMPTY_INV = PREFIX + "Error: You have items in your inventory.";
	
	/** "No Permission" strings */
	public static final String NO_PERMISSION_ATTACK = PREFIX + "You do not have permission to attack this mob/player.";
	public static final String NO_PERMISSION_COMMAND = PREFIX + "You do not have permission for that command.";
	public static final String NO_PERMISSION_DROP = PREFIX + "You do not have permission to drop items while in creative.";
	public static final String NO_PERMISSION_INVENTORY = PREFIX + "You do not have permission to access this inventory.";
	public static final String NO_PERMISSION_PLACE = PREFIX + "You do not have permission to place this block.";
	public static final String NO_PERMISSION_THROW = PREFIX + "You do not have permission to throw this item.";
	public static final String NO_PERMISSION_SPAWN = PREFIX + "You do not have permission to spawn this mob.";
}

@@ -367,62 +367,8 @@
 s*/%0A
-%09public static final String BASE_PERMISSION = %22ccm.%22;%0A
 %09pub
@@ -458,39 +458,37 @@
 TACK_PERM = 
-BASE_PERMISSION
+CCM_CMD + %22.%22
  + ALLOW_PER
@@ -544,39 +544,37 @@
 LOCK_PERM = 
-BASE_PERMISSION
+CCM_CMD + %22.%22
  + ALLOW_PER
@@ -628,39 +628,37 @@
 DROP_PERM = 
-BASE_PERMISSION
+CCM_CMD + %22.%22
  + ALLOW_PER
@@ -718,39 +718,37 @@
 ESTS_PERM = 
-BASE_PERMISSION
+CCM_CMD + %22.%22
  + ALLOW_PER
@@ -808,39 +808,37 @@
 PAWN_PERM = 
-BASE_PERMISSION
+CCM_CMD + %22.%22
  + ALLOW_PER
@@ -893,39 +893,37 @@
 HROW_PERM = 
-BASE_PERMISSION
+CCM_CMD + %22.%22
  + ALLOW_PER
@@ -981,31 +981,29 @@
 _PERM = 
-BASE_PERMISSION
+CCM_CMD + %22.%22
  + ALLOW
@@ -1065,31 +1065,29 @@
 _PERM = 
-BASE_PERMISSION
+CCM_CMD + %22.%22
  + RELOA
@@ -1128,39 +1128,37 @@
  SPY_PERM = 
-BASE_PERMISSION
+CCM_CMD + %22.%22
  + %22spy%22;%0A%09p
@@ -1198,23 +1198,21 @@
 M = 
-BASE_PERMISSION
+CCM_CMD + %22.%22
  + %22

Remove BASE_PERMISSION.