2013-04-10 12:52:22 +02:00
|
|
|
package com.massivecraft.factions;
|
|
|
|
|
2016-02-26 19:04:18 +01:00
|
|
|
import org.bukkit.ChatColor;
|
|
|
|
|
2013-04-10 12:52:22 +02:00
|
|
|
public class Const
|
|
|
|
{
|
2013-11-11 09:31:04 +01:00
|
|
|
// Collections & Aspects
|
|
|
|
public static final String BASENAME = "factions";
|
|
|
|
public static final String BASENAME_ = BASENAME+"_";
|
2013-04-11 07:04:45 +02:00
|
|
|
|
2013-11-11 09:31:04 +01:00
|
|
|
public static final String COLLECTION_BOARD = BASENAME_+"board";
|
2014-09-17 13:29:58 +02:00
|
|
|
public static final String COLLECTION_FACTION = BASENAME_+"faction";
|
2014-10-02 11:45:06 +02:00
|
|
|
public static final String COLLECTION_MFLAG = BASENAME_+"mflag";
|
|
|
|
public static final String COLLECTION_MPERM = BASENAME_+"mperm";
|
2013-11-11 09:31:04 +01:00
|
|
|
public static final String COLLECTION_MPLAYER = BASENAME_+"mplayer";
|
|
|
|
public static final String COLLECTION_MCONF = BASENAME_+"mconf";
|
|
|
|
|
|
|
|
public static final String ASPECT = BASENAME;
|
2013-04-22 12:26:13 +02:00
|
|
|
|
2013-04-12 09:47:43 +02:00
|
|
|
// ASCII Map
|
2014-10-16 18:03:58 +02:00
|
|
|
public static final int MAP_WIDTH = 48;
|
2013-04-10 12:52:22 +02:00
|
|
|
public static final int MAP_HEIGHT = 8;
|
2014-10-14 09:09:37 +02:00
|
|
|
public static final int MAP_HEIGHT_FULL = 17;
|
|
|
|
|
2016-06-23 12:10:06 +02:00
|
|
|
public static final char[] MAP_KEY_CHARS = "\\/#?笣$%=&^ABCDEFGHJKLMNOPQRSTUVWXYZÄÖÜÆØÅ1234567890abcdeghjmnopqrsuvwxyÿzäöüæøåâêîûô".toCharArray();
|
2016-02-26 19:04:18 +01:00
|
|
|
public static final String MAP_KEY_WILDERNESS = ChatColor.GRAY.toString() + "-";
|
|
|
|
public static final String MAP_KEY_SEPARATOR = ChatColor.AQUA.toString() + "+";
|
|
|
|
public static final String MAP_KEY_OVERFLOW = ChatColor.MAGIC.toString() + "-" + ChatColor.RESET.toString();
|
|
|
|
public static final String MAP_OVERFLOW_MESSAGE = MAP_KEY_OVERFLOW + ": Too Many Factions (>" + MAP_KEY_CHARS.length + ") on this Map.";
|
2013-04-10 12:52:22 +02:00
|
|
|
|
2014-10-15 14:35:50 +02:00
|
|
|
// SHOW
|
|
|
|
|
|
|
|
public static final String SHOW_ID_FACTION_ID = BASENAME_ + "id";
|
|
|
|
public static final String SHOW_ID_FACTION_DESCRIPTION = BASENAME_ + "description";
|
|
|
|
public static final String SHOW_ID_FACTION_AGE = BASENAME_ + "age";
|
|
|
|
public static final String SHOW_ID_FACTION_FLAGS = BASENAME_ + "flags";
|
|
|
|
public static final String SHOW_ID_FACTION_POWER = BASENAME_ + "power";
|
|
|
|
public static final String SHOW_ID_FACTION_LANDVALUES = BASENAME_ + "landvalue";
|
|
|
|
public static final String SHOW_ID_FACTION_BANK = BASENAME_ + "bank";
|
|
|
|
public static final String SHOW_ID_FACTION_FOLLOWERS = BASENAME_ + "followers";
|
|
|
|
|
|
|
|
public static final int SHOW_PRIORITY_FACTION_ID = 1000;
|
|
|
|
public static final int SHOW_PRIORITY_FACTION_DESCRIPTION = 2000;
|
|
|
|
public static final int SHOW_PRIORITY_FACTION_AGE = 3000;
|
|
|
|
public static final int SHOW_PRIORITY_FACTION_FLAGS = 4000;
|
|
|
|
public static final int SHOW_PRIORITY_FACTION_POWER = 5000;
|
|
|
|
public static final int SHOW_PRIORITY_FACTION_LANDVALUES = 6000;
|
|
|
|
public static final int SHOW_PRIORITY_FACTION_BANK = 7000;
|
|
|
|
public static final int SHOW_PRIORITY_FACTION_FOLLOWERS = 9000;
|
|
|
|
|
2013-04-10 12:52:22 +02:00
|
|
|
}
|