OnReal, для этого нужно залезть в файл
http://my-svn.assembla.com/svn/L2JTeon/t...onfig.java
После строки 2743 добавляем:
Код:
ALL_PLAYER_CAN_EQUIP_HERO_ITEM= Boolean.parseBoolean(L2JTeonCustom.getProperty("AllPlayerCanEquipHeroItem", "False"));
Инициализируем переменную ALL_PLAYER_CAN_EQUIP_HERO_ITEM после строки 874
Код:
public static boolean ALL_PLAYER_CAN_EQUIP_HERO_ITEM ;
И в сам конфиг файл L2JTeonCustom.properties : дописываем
Код:
AllPlayerCanEquipHeroItem = False
Итоговый вид файла Config.java
[SPOILER=Аккуратно, взрывается][CODE]/*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
* Foundation, either version 3 of the License, or (at your option) any later
* version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
package net.sf.l2j;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.InputStream;
import java.io.LineNumberReader;
import java.io.OutputStream;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.logging.Logger;
import javolution.util.FastList;
import javolution.util.FastMap;
import net.sf.l2j.gameserver.util.FloodProtectorConfig;
import net.sf.l2j.gameserver.util.StringUtil;
/**
* This class containce global server configuration.<br>
* It has static final fields initialized from configuration files.<br>
* It's initialized at the very begin of startup, and later JIT will optimize away debug/unused code.
*
* @author mkizub
*/
public final class Config
{
protected static final Logger _log = Logger.getLogger(Config.class.getName());
/** Configuration files */
public static final String CONFIGURATION_FILE = "./config/server.properties";
public static final String LOGIN_CONFIGURATION_FILE = "./config/loginserver.properties";
public static final String ALT_SETTINGS_FILE = "./config/altsettings.properties";
public static final String CLAN_SETTINGS_FILE = "./config/clan.properties";
public static final String CLANHALL_CONFIG_FILE = "./config/clanhall.properties";
public static final String COMMAND_PRIVILEGES_FILE = "./config/command-privileges.properties";
public static final String FLOODPROTECTOR_CONFIG_FILE = "./config/custom/FloodProtector.properties";
public static final String GM_ACCESS_FILE = "./config/GMAccess.properties";
public static final String ENCHANT_CONFIG_FILE = "./config/enchant.properties";
public static final String ID_CONFIG_FILE = "./config/idfactory.properties";
public static final String IRC_FILE = "./config/irc.properties";
public static final String OPTIONS_FILE = "./config/options.properties";
public static final String OTHER_CONFIG_FILE = "./config/other.properties";
public static final String RATES_CONFIG_FILE = "./config/rates.properties";
public static final String PVP_CONFIG_FILE = "./config/pvp.properties";
public static final String TELNET_FILE = "./config/telnet.properties";
public static final String MMO_CONFIG_FILE = "./config/mmo.properties";
public static final String SERVER_VERSION_FILE = "./config/l2j-version.properties";
public static final String DATAPACK_VERSION_FILE = "./config/l2jdp-version.properties";
public static final String SIEGE_CONFIGURATION_FILE = "./config/siege.properties";
public static final String HEXID_FILE = "./config/hexid.txt";
public static final String CHAT_FILTER_FILE = "./config/ChatFilter.txt";
public static final String SEVENSIGNS_FILE = "./config/sevensigns.properties";
public static final String FS_CONFIG_FILE = "./config/bosses/foursepulchers.properties";
public static final String GB_CONFIG_FILE = "./config/bosses/Grandboss.properties";
public static final String L2J_TEON_CUSTOM = "./config/custom/L2JTeonCustom.properties";
public static final String L2JTEON_MODS = "./config/custom/L2JTeonMods.properties";
public static final String VOICE_COMMAND = "./config/custom/VoicedCommand.properties";
public static final String FEATURE_CONFIG_FILE = "./config/custom/Feature.properties";
public static final String GENERAL_CONFIG_FILE = "./config/custom/General.properties";
public static final String BALANCE_CONFIG_FILE = "./config/custom/BalanceClasses.properties";
public static final String CUSTOM_TABLES_FILE = "./config/custom/CustomTables.properties";
public static final String OLYMPIAD_FILE = "./config/custom/Olympiad.properties";
public static final String AUGMENT_CONFIG_FILE = "./config/custom/Augment.properties";
public static final String DEV_CONFIG_FILE = "./config/custom/Dev.properties";
/** Server and Datapack version */
public static String SERVER_VERSION;
public static String SERVER_BUILD_DATE;
public static String DATAPACK_VERSION;
public static int MAX_ITEM_IN_PACKET;
// FLOODPROTECTOR_CONFIG_FILE BY DANIELMWX
public static final FloodProtectorConfig FLOOD_PROTECTOR_USE_ITEM = new FloodProtectorConfig("UseItemFloodProtector");
public static final FloodProtectorConfig FLOOD_PROTECTOR_ROLL_DICE = new FloodProtectorConfig("RollDiceFloodProtector");
public static final FloodProtectorConfig FLOOD_PROTECTOR_FIREWORK = new FloodProtectorConfig("FireworkFloodProtector");
public static final FloodProtectorConfig FLOOD_PROTECTOR_ITEM_PET_SUMMON = new FloodProtectorConfig("ItemPetSummonFloodProtector");
public static final FloodProtectorConfig FLOOD_PROTECTOR_HERO_VOICE = new FloodProtectorConfig("HeroVoiceFloodProtector");
public static final FloodProtectorConfig FLOOD_PROTECTOR_SUBCLASS = new FloodProtectorConfig("SubclassFloodProtector");
public static final FloodProtectorConfig FLOOD_PROTECTOR_DROP_ITEM = new FloodProtectorConfig("DropItemFloodProtector");
public static final FloodProtectorConfig FLOOD_PROTECTOR_SERVER_BYPASS = new FloodProtectorConfig("ServerBypassFloodProtector");
public static final FloodProtectorConfig FLOOD_PROTECTOR_UNK_PACKETS = new FloodProtectorConfig("UnkPacketsFloodProtector");
public static final FloodProtectorConfig FLOOD_PROTECTOR_BUFFER = new FloodProtectorConfig("BufferFloodProtector");
public static final FloodProtectorConfig FLOOD_PROTECTOR_CRAFT = new FloodProtectorConfig("CraftFloodProtector");
public static final FloodProtectorConfig FLOOD_PROTECTOR_MULTISELL = new FloodProtectorConfig("MultiSellFloodProtector");
public static final FloodProtectorConfig FLOOD_PROTECTOR_BANKING_SYSTEM = new FloodProtectorConfig("BankingSystemFloodProtector");
public static final FloodProtectorConfig FLOOD_PROTECTOR_WEREHOUSE = new FloodProtectorConfig("WerehouseFloodProtector");
public static final FloodProtectorConfig FLOOD_PROTECTOR_MISC = new FloodProtectorConfig("MiscFloodProtector");
public static final FloodProtectorConfig FLOOD_PROTECTOR_CHAT = new FloodProtectorConfig("ChatFloodProtector");
public static final FloodProtectorConfig FLOOD_PROTECTOR_GLOBAL = new FloodProtectorConfig("GlobalFloodProtector");
public static final FloodProtectorConfig FLOOD_PROTECTOR_TRADE = new FloodProtectorConfig("TradeFloodProtector");
public static final FloodProtectorConfig FLOOD_PROTECTOR_POTION = new FloodProtectorConfig("PotionFloodProtector");
public static final FloodProtectorConfig FLOOD_PROTECTOR_ENCHANT = new FloodProtectorConfig("EnchantFloodProtector");
/** Start AltSettings.properties */
// Auto loots configs
public static boolean AUTO_LOOT;
public static boolean AUTO_LOOT_RAID;
public static boolean AUTO_LOOT_HERBS;
public static boolean AUTO_LEARN_SKILLS;
public static boolean AUTO_LEARN_DIVINE_INSPIRATION;
public static int ALT_PARTY_RANGE;
public static int ALT_PARTY_RANGE2;
public static double ALT_WEIGHT_LIMIT;
public static boolean ALT_RECOMMEND;
public static boolean ALT_GAME_DELEVEL;
public static boolean ALT_GAME_MAGICFAILURES;
public static boolean ALT_GAME_CANCEL_BOW;
public static boolean ALT_GAME_CANCEL_CAST;
public static boolean ALT_GAME_SHIELD_BLOCKS;
public static boolean ALT_GAME_MOB_ATTACK_AI;
public static boolean GUARD_ATTACK_AGGRO_MOB;
public static boolean ALT_GAME_FREIGHTS;
public static int ALT_GAME_FREIGHT_PRICE;
public static float ALT_GAME_EXPONENT_XP;
public static float ALT_GAME_EXPONENT_SP;
public static boolean ALT_GAME_TIREDNESS;
// Soul Crystal Configs
public static int SOUL_CRYSTAL_LEVEL_CHANCE;
// Karma Punishment
public static boolean ALT_GAME_KARMA_PLAYER_CAN_BE_KILLED_IN_PEACEZONE;
public static boolean ALT_GAME_KARMA_PLAYER_CAN_SHOP;
public static boolean ALT_GAME_KARMA_PLAYER_CAN_USE_GK;
public static boolean ALT_GAME_KARMA_PLAYER_CAN_TELEPORT;
public static boolean ALT_GAME_KARMA_PLAYER_CAN_TRADE;
public static boolean ALT_GAME_KARMA_PLAYER_CAN_USE_WAREHOUSE;
// Crafting and Recipes Configs
public static boolean IS_CRAFTING_ENABLED;
public static int DWARF_RECIPE_LIMIT;
public static int COMMON_RECIPE_LIMIT;
public static boolean ALT_GAME_CREATION;
public static double ALT_GAME_CREATION_SPEED;
public static double ALT_GAME_CREATION_XP_RATE;
public static double ALT_GAME_CREATION_SP_RATE;
public static boolean ALT_BLACKSMITH_USE_RECIPES;
// Balance Classes START
public static boolean ENABLE_BALANCE;
public static float FIGHT_P_DMG;
public static float KNIGHT_P_DMG;
public static float ROGUE_P_DMG;
public static float MAGE_INI_P_DMG;
public static float WIZARD_P_DMG;
public static float FIGHT_M_DMG;
public static float KNIGHT_M_DMG;
public static float ROGUE_M_DMG;
public static float MAGE_INI_M_DMG;
public static float WIZARD_M_DMG;
public static float DAGGER_P_DMG;
public static float ARCHER_P_DMG;
public static float TANKER_P_DMG;
public static float DUAL_P_DMG;
public static float POLE_P_DMG;
public static float MAGE_P_DMG;
public static float ORC_MONK_P_DMG;
public static float ORC_RAIDER_P_DMG;
public static float DWARF_P_DMG;
public static float DAGGER_M_DMG;
public static float ARCHER_M_DMG;
public static float TANKER_M_DMG;
public static float DUAL_M_DMG;
public static float POLE_M_DMG;
public static float MAGE_M_DMG;
public static float ORC_MONK_M_DMG;
public static float ORC_RAIDER_M_DMG;
public static float DWARF_M_DMG;
// Balance Classes END
// multiples damages Pet's and Mobs
public static float ALT_PETS_PHYSICAL_DAMAGE_MULTI;
public static float ALT_PETS_MAGICAL_DAMAGE_MULTI;
public static float ALT_NPC_PHYSICAL_DAMAGE_MULTI;
public static float ALT_NPC_MAGICAL_DAMAGE_MULTI;
// Allow use Event Managers for change occupation ?
public static boolean ALLOW_CLASS_MASTERS;
public static boolean SP_BOOK_NEEDED;
public static boolean ES_SP_BOOK_NEEDED;
public static boolean ALT_GAME_SKILL_LEARN;
public static boolean ALT_GAME_SUBCLASS_WITHOUT_QUESTS;
public static boolean RESTORE_EFFECTS_ON_SUBCLASS_CHANGE;
public static byte BUFFS_MAX_AMOUNT;
// Clan and Ally configs
public static int ALT_CLAN_MEMBERS_FOR_WAR;
public static int ALT_CLAN_JOIN_DAYS;
public static int ALT_CLAN_CREATE_DAYS;
public static int ALT_CLAN_DISSOLVE_DAYS;
public static int ALT_ALLY_JOIN_DAYS_WHEN_LEAVED;
public static int ALT_ALLY_JOIN_DAYS_WHEN_DISMISSED;
public static int ALT_ACCEPT_CLAN_DAYS_WHEN_DISMISSED;
public static int ALT_CREATE_ALLY_DAYS_WHEN_DISSOLVED;
public static boolean ALT_GAME_NEW_CHAR_ALWAYS_IS_NEWBIE;
public static boolean ALT_MEMBERS_CAN_WITHDRAW_FROM_CLANWH;
public static int ALT_MAX_NUM_OF_CLANS_IN_ALLY;
// Olympiad time configs
public static int ALT_OLY_START_TIME;
public static int ALT_OLY_MIN;
public static long ALT_OLY_CPERIOD;
public static long ALT_OLY_BATTLE;
public static long ALT_OLY_BWAIT;
public static long ALT_OLY_IWAIT;
public static long ALT_OLY_WPERIOD;
public static long ALT_OLY_VPERIOD;
// More Olympiad Configs!!!
public static int ALT_OLY_CLASSED;
public static int ALT_OLY_NONCLASSED;
public static int ALT_OLY_BATTLE_REWARD_ITEM;
public static int ALT_OLY_CLASSED_RITEM_C;
public static int ALT_OLY_NONCLASSED_RITEM_C;
public static int ALT_OLY_COMP_RITEM;
public static int ALT_OLY_GP_PER_POINT;
public static int ALT_OLY_MIN_POINT_FOR_EXCH;
public static int ALT_OLY_HERO_POINTS;
public static String ALT_OLY_RESTRICTED_ITEMS;
public static List<Integer> LIST_OLY_RESTRICTED_ITEMS = new FastList<Integer>();
// Lottery configs
public static int ALT_LOTTERY_PRIZE;
public static int ALT_LOTTERY_TICKET_PRICE;
public static float ALT_LOTTERY_5_NUMBER_RATE;
public static float ALT_LOTTERY_4_NUMBER_RATE;
public static float ALT_LOTTERY_3_NUMBER_RATE;
public static int ALT_LOTTERY_2_AND_1_NUMBER_PRIZE;
// Chat Filter Configs
public static int CHAT_FILTER_PUNISHMENT_PARAM1;
public static int CHAT_FILTER_PUNISHMENT_PARAM2;
public static boolean USE_SAY_FILTER;
public static String CHAT_FILTER_CHARS;
public static String CHAT_FILTER_PUNISHMENT;
public static ArrayList<String> FILTER_LIST = new ArrayList<String>();
// For development
public static boolean ALT_DEV_NO_QUESTS;
public static boolean ALT_DEV_NO_SPAWNS;
/** The End AltSettings.properties */
/** Start clanhall.properties */
// Clan Hall function related configs
public static long CH_TELE_FEE_RATIO;
public static int CH_TELE1_FEE;
public static int CH_TELE2_FEE;
public static long CH_ITEM_FEE_RATIO;
public static int CH_ITEM1_FEE;
public static int CH_ITEM2_FEE;
public static int CH_ITEM3_FEE;
public static long CH_MPREG_FEE_RATIO;
public static int CH_MPREG1_FEE;
public static int CH_MPREG2_FEE;
public static int CH_MPREG3_FEE;
public static int CH_MPREG4_FEE;
public static int CH_MPREG5_FEE;
public static long CH_HPREG_FEE_RATIO;
public static int CH_HPREG1_FEE;
public static int CH_HPREG2_FEE;
public static int CH_HPREG3_FEE;
public static int CH_HPREG4_FEE;
public static int CH_HPREG5_FEE;
public static int CH_HPREG6_FEE;
public static int CH_HPREG7_FEE;
public static int CH_HPREG8_FEE;
public static int CH_HPREG9_FEE;
public static int CH_HPREG10_FEE;
public static int CH_HPREG11_FEE;
public static int CH_HPREG12_FEE;
public static int CH_HPREG13_FEE;
public static long CH_EXPREG_FEE_RATIO;
public static int CH_EXPREG1_FEE;
public static int CH_EXPREG2_FEE;
public static int CH_EXPREG3_FEE;
public static int CH_EXPREG4_FEE;
public static int CH_EXPREG5_FEE;
public static int CH_EXPREG6_FEE;
public static int CH_EXPREG7_FEE;
public static long CH_SUPPORT_FEE_RATIO;
public static int CH_SUPPORT1_FEE;
public static int CH_SUPPORT2_FEE;
public static int CH_SUPPORT3_FEE;
public static int CH_SUPPORT4_FEE;
public static int CH_SUPPORT5_FEE;
public static int CH_SUPPORT6_FEE;
public static int CH_SUPPORT7_FEE;
public static int CH_SUPPORT8_FEE;
public static long CH_CURTAIN_FEE_RATIO;
public static int CH_CURTAIN1_FEE;
public static int CH_CURTAIN2_FEE;
public static long CH_FRONT_FEE_RATIO;
public static int CH_FRONT1_FEE;
public static int CH_FRONT2_FEE;
/** The End clanhall.properties */
/** Start GMAcess.properties */
// GM access level
public static int GM_ACCESSLEVEL;
public static int GM_MIN;
public static int GM_ALTG_MIN_LEVEL;
public static int GM_ANNOUNCE;
public static int GM_BAN;
public static int GM_BAN_CHAT;
public static int GM_CREATE_ITEM;
public static int GM_DELETE;
public static int GM_KICK;
public static int GM_MENU;
public static int GM_GODMODE;
public static int GM_CHAR_EDIT;
public static int GM_CHAR_EDIT_OTHER;
public static int GM_CHAR_VIEW;
public static int GM_NPC_EDIT;
public static int GM_NPC_VIEW;
public static int GM_PRIV_EDIT;
public static int GM_PRIV_VIEW;
public static int GM_TELEPORT;
public static int GM_TELEPORT_OTHER;
public static int GM_RESTART;
public static int GM_MONSTERRACE;
public static int GM_RIDER;
public static int GM_ESCAPE;
public static int GM_FIXED;
public static int GM_CREATE_NODES;
public static int GM_ENCHANT;
public static int GM_DOOR;
public static int GM_RES;
public static int GM_PEACEATTACK;
public static int GM_HEAL;
public static int GM_UNBLOCK;
public static int GM_CACHE;
public static int GM_TALK_BLOCK;
public static int GM_TEST;
public static int GM_FORTSIEGE;
public static int GM_CLAN_PANEL;
public static int GM_REPAIR = 75;
// Disable transaction
public static boolean GM_DISABLE_TRANSACTION;
public static int GM_TRANSACTION_MIN;
public static int GM_TRANSACTION_MAX;
public static int GM_CAN_GIVE_DAMAGE;
public static int GM_DONT_TAKE_EXPSP;
public static int GM_DONT_TAKE_AGGRO;
public static int MAX_ITEM_ENCHANT_KICK;
/** The End GMacess.properties */
/** Start idfactory.properties */
/*
* Properties file that allows selection of new Classes for storage of World Objects. <br> This may help servers with large amounts of players recieving error messages related to the <i>IdFactoryType</i> and <i>L2ObjectHashMap</i> and <i>L2ObejctHashSet</i> classes.
*/
public static enum ObjectMapType
{
L2ObjectHashMap, WorldObjectMap
}
public static enum ObjectSetType
{
L2ObjectHashSet, WorldObjectSet
}
public static enum IdFactoryType
{
Compaction, BitSet, Stack
}
// ID Factory type and Check for bad ID
public static IdFactoryType IDFACTORY_TYPE;
public static boolean BAD_ID_CHECKING;
// Type of map and set object
public static ObjectMapType MAP_TYPE;
public static ObjectSetType SET_TYPE;
/** The End idfactory.properties */
/** Start irc.properties */
// IRC Settings
public static String IRC_HOSTNAME;
public static int IRC_PORT;
public static String IRC_USERNAME;
public static String IRC_USERREALNAME;
public static String IRC_USERMAIL;
public static String IRC_CHANNEL;
public static String IRC_IGTOIRC_FILE;
public static String IRC_KEYWORDTOIG;
public static String IRC_KEYWORDTOIRC;
public static boolean IRC_LOAD;
/** The end irc.properties */
/** Start options.properties */
// Debug/ assertions / code 'in progress' mode
public static boolean DEBUG;
public static boolean ASSERT;
public static boolean DEVELOPER;
// Setting for serverList
public static boolean SERVER_LIST_BRACKET;
public static boolean SERVER_LIST_CLOCK;
public static boolean SERVER_LIST_TESTSERVER;
public static boolean SERVER_GMONLY;
// Set if this server is a test server used for development
public static boolean TEST_SERVER;
// For test servers - everybody has admin rights
public static boolean EVERYBODY_HAS_ADMIN_RIGHTS;
// Global and Trade chat state
public static String DEFAULT_GLOBAL_CHAT;
public static String DEFAULT_TRADE_CHAT;
// Default punishment for illegal actions
public static int DEFAULT_PUNISH;
public static int DEFAULT_PUNISH_PARAM;
/*
* This is setting of experimental Client <--> Server Player coordinates synchronization<br> <b><u>Valeurs :</u></b> <li>0 - no synchronization at all</li> <li>1 - parcial synchronization Client --> Server only using this option it is difficult for players to bypass obstacles</li> <li>2 - parcial synchronization Server --> Client only</li> <li>3 - full synchronization Client <--> Server</li>
* <li>-1 - Old system: will synchronize Z only</li>
*/
public static int COORD_SYNCHRONIZE;
// Zone Setting
public static int ZONE_TOWN;
// Bypass exploit protection
public static boolean BYPASS_VALIDATION;
// GameGuard options
public static boolean GAMEGUARD_ENFORCE;
public static boolean GAMEGUARD_PROHIBITACTION;
// Period in days after which character is deleted
public static int DELETE_DAYS;
// FloodProtector initial capacity
public static int FLOODPROTECTOR_INITIALSIZE;
// Auto-delete invalid quest data ?
public static boolean AUTODELETE_INVALID_QUEST_DATA;
// Allow Discard item ?
public static boolean ALLOW_DISCARDITEM;
public static boolean FORCE_INVENTORY_UPDATE;
// Accept multi-items drop
public static boolean MULTIPLE_ITEM_DROP;
// Accept precise drop calculation
public static boolean PRECISE_DROP_CALCULATION;
// HTML Lazy chace.
public static boolean LAZY_CACHE;
// Maximum range mobs can randomly go from spawn point
public static int MAX_DRIFT_RANGE;
// Activate position recorder ?
public static boolean ACTIVATE_POSITION_RECORDER;
// Time after which a packet is considered as lost
public static int PACKET_LIFETIME;
// List of items that will not be destroyed (seperated by ",")
public static String PROTECTED_ITEMS;
public static List<Integer> LIST_PROTECTED_ITEMS = new FastList<Integer>();
// Save, deatroy and emply player drops
public static int AUTODESTROY_ITEM_AFTER;
public static int HERB_AUTO_DESTROY_TIME;
public static boolean DESTROY_DROPPED_PLAYER_ITEM;
public static boolean DESTROY_EQUIPABLE_PLAYER_ITEM;
public static boolean SAVE_DROPPED_ITEM;
public static boolean EMPTY_DROPPED_ITEM_TABLE_AFTER_LOAD;
public static int SAVE_DROPPED_ITEM_INTERVAL;
public static boolean CLEAR_DROPPED_ITEM_TABLE;
// random animation interval
public static int MIN_NPC_ANIMATION;
public static int MAX_NPC_ANIMATION;
// Show L2Monster level and aggro ? */
public static boolean SHOW_NPC_LVL;
// Allow Warehouse?
public static boolean ALLOW_WAREHOUSE;
public static boolean WAREHOUSE_CACHE;
public static int WAREHOUSE_CACHE_TIME;
// Allow wear ? (try on in shop)
public static boolean ALLOW_WEAR;
public static int WEAR_DELAY;
public static int WEAR_PRICE;
/*
* Allow lottery, race, water, Fishing, rent pet, boat, cursed weapons and freight ?
*/
public static boolean ALLOW_LOTTERY;
public static boolean ALLOW_RACE;
public static boolean ALLOW_WATER;
public static boolean ALLOW_FISHING;
public static boolean ALLOWFISHING;
public static boolean ALLOW_RENTPET;
public static boolean ALLOW_BOAT;
public static boolean ALLOW_CURSED_WEAPONS;
public static boolean ALLOW_FREIGHT;
// Logging Chat and Item Window
public static boolean LOG_CHAT;
public static boolean LOG_ITEMS;
public static boolean LOG_TRADES;
public static boolean LOG_PDAM;
public static boolean LOG_MDAM;
// Community Board
public static String COMMUNITY_TYPE;
public static String BBS_DEFAULT;
public static boolean SHOW_LEVEL_COMMUNITYBOARD;
public static boolean SHOW_STATUS_COMMUNITYBOARD;
public static int NAME_PAGE_SIZE_COMMUNITYBOARD;
public static int NAME_PER_ROW_COMMUNITYBOARD;
// Thread pools size
public static int THREAD_P_EFFECTS;
public static int THREAD_P_GENERAL;
public static int GENERAL_PACKET_THREAD_CORE_SIZE;
public static int IO_PACKET_THREAD_CORE_SIZE;
public static int GENERAL_THREAD_CORE_SIZE;
public static int AI_MAX_THREAD;
// Grid Options
public static boolean GRIDS_ALWAYS_ON;
public static int GRID_NEIGHBOR_TURNON_TIME;
public static int GRID_NEIGHBOR_TURNOFF_TIME;
// GeoData Options
public static int GEODATA;
public static boolean FORCE_GEODATA;
public static boolean MOVE_BASED_KNOWNLIST;
public static long KNOWNLIST_UPDATE_INTERVAL;
public static boolean ACCEPT_GEOEDITOR_CONN;
/** The end options.properties */
/** Start other.properties */
// Amount of adenas when starting a new character
public static int STARTING_ADENA;
/** Amount of Ancient Adena when starting a new character */
public static int STARTING_AA;
public static byte STARTING_LEVEL;
// Pets
public static int WYVERN_SPEED;
public static int STRIDER_SPEED;
public static boolean ALLOW_WYVERN_UPGRADER;
/*
* Allow lesser effects to be canceled if stronger effects are used when effects of the same stack group are used.<br> New effects that are added will be canceled if they are of lesser priority to the old one.
*/
public static boolean EFFECT_CANCELING;
// Disable the use of guards against agressive monsters ?
public static boolean ALLOW_GUARDS;
// Deep Blue Mobs' Drop Rules Enabled
public static boolean DEEPBLUE_DROP_RULES;
// Inventory slots limit
public static int INVENTORY_MAXIMUM_NO_DWARF;
public static int INVENTORY_MAXIMUM_DWARF;
public static int INVENTORY_MAXIMUM_GM;
// Warehouse slots limits
public static int WAREHOUSE_SLOTS_NO_DWARF;
public static int WAREHOUSE_SLOTS_DWARF;
public static int WAREHOUSE_SLOTS_CLAN;
public static int FREIGHT_SLOTS;
// Chance that an item will succesfully be enchanted
public static int ENCHANT_CHANCE_WEAPON;
public static int ENCHANT_CHANCE_ARMOR;
public static int ENCHANT_CHANCE_JEWELRY;
// Maximum level of enchantment
public static int ENCHANT_MAX_WEAPON;
public static int ENCHANT_MAX_ARMOR;
public static int ENCHANT_MAX_JEWELRY;
// maximum level of safe enchantment for normal items
public static int ENCHANT_SAFE_MAX;
// maximum level of safe enchantment for full body armor
public static int ENCHANT_SAFE_MAX_FULL;
// Character multipliers
public static double HP_REGEN_MULTIPLIER;
public static double MP_REGEN_MULTIPLIER;
public static double CP_REGEN_MULTIPLIER;
// Raid Boss multipliers
public static double RAID_HP_REGEN_MULTIPLIER;
public static double RAID_MP_REGEN_MULTIPLIER;
public static double RAID_DEFENCE_MULTIPLIER;
// Raid Boss Minin Spawn Timer
public static double RAID_MINION_RESPAWN_TIMER;
// Mulitplier for Raid boss minimum and maximum time respawn
public static float RAID_MIN_RESPAWN_MULTIPLIER;
public static float RAID_MAX_RESPAWN_MULTIPLIER;
// Unstuck Interval
public static int UNSTUCK_INTERVAL;
// Player Protection control
public static int PLAYER_SPAWN_PROTECTION;
public static int PLAYER_FAKEDEATH_UP_PROTECTION;
/*
* Define Party XP cutoff point method - Possible values: level and percentage
*/
public static String PARTY_XP_CUTOFF_METHOD;
public static int PARTY_XP_CUTOFF_LEVEL;
public static double PARTY_XP_CUTOFF_PERCENT;
// Percent CP / HP / MP is restore on respawn
public static double RESPAWN_RESTORE_CP;
public static double RESPAWN_RESTORE_HP;
public static double RESPAWN_RESTORE_MP;
// Allow randomizing of the respawn point in towns.
public static boolean RESPAWN_RANDOM_ENABLED;
public static int RESPAWN_RANDOM_MAX_OFFSET;
// Maximum number of available slots for pvt stores (sell/buy) - Dwarves / Others
public static int MAX_PVTSTORE_SLOTS_DWARF;
public static int MAX_PVTSTORE_SLOTS_OTHER;
// Store skills cooltime on char exit/relogin
public static boolean STORE_SKILL_COOLTIME;
// List of NPCs that rent pets (seperated by ",")
public static String PET_RENT_NPC;
public static List<Integer> LIST_PET_RENT_NPC = new FastList<Integer>();
public static boolean ANNOUNCE_MAMMON_SPAWN;
// Alternative privileges for admin
public static boolean ALT_PRIVILEGES_ADMIN;
public static boolean ALT_PRIVILEGES_SECURE_CHECK;
public static int ALT_PRIVILEGES_DEFAULT_LEVEL;
// Enable colored name for GM / Admin ? */
public static boolean GM_NAME_COLOR_ENABLED;
public static int GM_NAME_COLOR;
public static int ADMIN_NAME_COLOR;
public static int MASTERACCESS_LEVEL;
public static int MASTERACCESS_NAME_COLOR;
public static int MASTERACCESS_TITLE_COLOR;
// Set the GM in startup ?
public static boolean GM_HERO_AURA;
public static boolean GM_STARTUP_INVULNERABLE;
public static boolean GM_STARTUP_INVISIBLE;
public static boolean GM_STARTUP_SILENCE;
public static boolean GM_STARTUP_AUTO_LIST;
// Allow petition ?
public static boolean PETITIONING_ALLOWED;
public static int MAX_PETITIONS_PER_PLAYER;
public static int MAX_PETITIONS_PENDING;
// Jail config
public static boolean JAIL_IS_PVP;
public static boolean JAIL_DISABLE_CHAT;
/** The end other.properties */
/** Start pvp.properties */
// Maximum and Minimum karma gain/loss
public static int KARMA_MIN_KARMA;
public static int KARMA_MAX_KARMA;
// Number to divide the xp recieved by, to calculate karma lost on xp gain/lost
public static int KARMA_XP_DIVIDER;
// The Minimum Karma lost if 0 karma is to be removed
public static int KARMA_LOST_BASE;
// Can a GM drop item ?
public static boolean KARMA_DROP_GM;
// Should award a pvp point for killing a player with karma ?
public static boolean KARMA_AWARD_PK_KILL;
// Minimum PK required to drop
public static int KARMA_PK_LIMIT;
// List of pet items that cannot be dropped (seperated by ",") when PVP
public static String KARMA_NONDROPPABLE_PET_ITEMS;
public static String KARMA_NONDROPPABLE_ITEMS;
// List of pet items that cannot be dropped when PVP
public static List<Integer> KARMA_LIST_NONDROPPABLE_PET_ITEMS = new FastList<Integer>();
public static List<Integer> KARMA_LIST_NONDROPPABLE_ITEMS = new FastList<Integer>();
// List of items that cannot be dropped (seperated by ",")
public static String NONDROPPABLE_ITEMS;
public static List<Integer> LIST_NONDROPPABLE_ITEMS = new FastList<Integer>();
// PvP times
public static int PVP_NORMAL_TIME;
public static int PVP_PVP_TIME;
// * Announce PvP System *//
public static boolean ANNOUNCE_PVP_KILL;
public static boolean ANNOUNCE_PK_KILL;
/** The end pvp.properties */
/** Start rate.properties */
/* Rate control */
public static float RATE_XP;
public static float RATE_SP;
public static float RATE_PARTY_XP;
public static float RATE_PARTY_SP;
public static float RATE_QUESTS_REWARD;
public static float RATE_DROP_ADENA;
public static float RATE_CONSUMABLE_COST;
public static float RATE_DROP_ITEMS;
public static float RATE_DROP_SPOIL;
public static int RATE_DROP_MANOR;
// ADENA BOSS
public static float ADENA_BOSS;
public static float ADENA_RAID;
public static float ADENA_MINON;
// ITEMS BOSS
public static float ITEMS_BOSS;
public static float ITEMS_RAID;
public static float ITEMS_MINON;
// SPOIL BOSS
public static float SPOIL_BOSS;
public static float SPOIL_RAID;
public static float SPOIL_MINON;
// Rate for quest items
public static float RATE_DROP_QUEST;
// Rate for karma and experience lose
public static float RATE_KARMA_EXP_LOST;
// Rate siege guards prices
public static float RATE_SIEGE_GUARDS_PRICE;
// Rate herbs
public static float RATE_DROP_COMMON_HERBS;
public static float RATE_DROP_MP_HP_HERBS;
public static float RATE_DROP_GREATER_HERBS;
public static float RATE_DROP_SUPERIOR_HERBS;
public static float RATE_DROP_SPECIAL_HERBS;
// Player Drop Rate control
public static int PLAYER_DROP_LIMIT;
public static int PLAYER_RATE_DROP;
public static int PLAYER_RATE_DROP_ITEM;
public static int PLAYER_RATE_DROP_EQUIP;
public static int PLAYER_RATE_DROP_EQUIP_WEAPON;
// Pet Rates (Multipliers)
public static float PET_XP_RATE;
public static int PET_FOOD_RATE;
public static float SINEATER_XP_RATE;
// Karma Drop Rate control
public static int KARMA_DROP_LIMIT;
public static int KARMA_RATE_DROP;
public static int KARMA_RATE_DROP_ITEM;
public static int KARMA_RATE_DROP_EQUIP;
public static int KARMA_RATE_DROP_EQUIP_WEAPON;
/** The end rates.properties */
/** Start sevensigns */
public static boolean ALT_GAME_REQUIRE_CASTLE_DAWN;
public static boolean ALT_GAME_REQUIRE_CLAN_CASTLE;
public static boolean ALT_GAME_FREE_TELEPORT;
public static int ALT_FESTIVAL_MIN_PLAYER;
public static int ALT_MAXIMUM_PLAYER_CONTRIB;
public static long ALT_FESTIVAL_MANAGER_START;
public static long ALT_FESTIVAL_LENGTH;
public static long ALT_FESTIVAL_CYCLE_LENGTH;
public static long ALT_FESTIVAL_FIRST_SPAWN;
public static long ALT_FESTIVAL_FIRST_SWARM;
public static long ALT_FESTIVAL_SECOND_SPAWN;
public static long ALT_FESTIVAL_SECOND_SWARM;
public static long ALT_FESTIVAL_CHEST_SPAWN;
/** The end sevensigns */
/** Start telnet.properties */
public static boolean IS_TELNET_ENABLED;
/** The end telnet.properties */
/** Game Server ports */
public static int PORT_GAME;
/** Login Server port */
public static int PORT_LOGIN;
/** Login Server bind ip */
public static String LOGIN_BIND_ADDRESS;
/** Number of login tries before IP ban gets activated, default 10 */
public static int LOGIN_TRY_BEFORE_BAN;
/** Number of seconds the IP ban will last, default 10 minutes */
public static int LOGIN_BLOCK_AFTER_BAN;
/** Hostname of the Game Server */
public static String GAMESERVER_HOSTNAME;
// Access to database
/** Driver to access to database */
public static String DATABASE_DRIVER;
/** Path to access to database */
public static String DATABASE_URL;
/** Database login */
public static String DATABASE_LOGIN;
/** Database password */
public static String DATABASE_PASSWORD;
/** Maximum number of Statements to the players */
public static int DATABASE_MAXSTATEMENTS;
/** Maximum number of connections to the database */
public static int DATABASE_MAX_CONNECTIONS;
/** Maximum PoolSize */
public static int DATABASE_MIN_POOLSIZE;
/** Minimum PoolSize */
public static int DATABASE_MAX_POOLSIZE;
/** If Pool Is Exhausted, Get 1 More Connections At A Time */
public static int DATABASE_ACQUIREINCREMENT;
/** Test Idle Connection Time */
public static int DATABASE_IDLECONNECTIONTEST;
/** Max Idle Time */
public static int DATABASE_MAXIDLETIME;
/** Maximum number of players allowed to play simultaneously on server */
public static int MAXIMUM_ONLINE_USERS;
/** Character name template */
public static String CNAME_TEMPLATE;
/** Pet name template */
public static String PET_NAME_TEMPLATE;
/** Maximum number of characters per account */
public static int MAX_CHARACTERS_NUMBER_PER_ACCOUNT;
/** L2J Teon Mods Customizations -Begin * */
// * TVT Event Engine *//
public static String TVT_EVEN_TEAMS;
public static boolean TVT_ALLOW_INTERFERENCE;
public static boolean TVT_ALLOW_POTIONS;
public static boolean TVT_ALLOW_SUMMON;
public static boolean TVT_ON_START_REMOVE_ALL_EFFECTS;
public static boolean TVT_ON_START_UNSUMMON_PET;
public static boolean TVT_REVIVE_RECOVERY;
public static boolean TVT_ANNOUNCE_TEAM_STATS;
public static boolean TVT_PRICE_NO_KILLS;
public static boolean TVT_JOIN_CURSED;
public static boolean TVT_CLOSE_COLISEUM_DOORS;
// * CTF Event Engine *//
public static String CTF_EVEN_TEAMS;
public static boolean CTF_ALLOW_INTERFERENCE;
public static boolean CTF_ALLOW_POTIONS;
public static boolean CTF_ALLOW_SUMMON;
public static boolean CTF_ON_START_REMOVE_ALL_EFFECTS;
public static boolean CTF_ON_START_UNSUMMON_PET;
public static boolean CTF_ANNOUNCE_TEAM_STATS;
public static boolean CTF_JOIN_CURSED;
public static boolean CTF_REVIVE_RECOVERY;
// * DM Event Engine *//
public static boolean DM_ALLOW_INTERFERENCE;
public static boolean DM_ALLOW_POTIONS;
public static boolean DM_ALLOW_SUMMON;
public static boolean DM_ON_START_REMOVE_ALL_EFFECTS;
public static boolean DM_ON_START_UNSUMMON_PET;
// * Fortress Siege Event Engine *//
public static String FortressSiege_EVEN_TEAMS;
public static boolean FortressSiege_SAME_IP_PLAYERS_ALLOWED;
public static boolean FortressSiege_ALLOW_INTERFERENCE;
public static boolean FortressSiege_ALLOW_POTIONS;
public static boolean FortressSiege_ALLOW_SUMMON;
public static boolean FortressSiege_ON_START_REMOVE_ALL_EFFECTS;
public static boolean FortressSiege_ON_START_UNSUMMON_PET;
public static boolean FortressSiege_ANNOUNCE_TEAM_STATS;
public static boolean FortressSiege_JOIN_CURSED;
public static boolean FortressSiege_REVIVE_RECOVERY;
public static boolean FortressSiege_PRICE_NO_KILLS;
// * Raid Event Engine *//
public static boolean RAID_SYSTEM_ENABLED;
public static int RAID_SYSTEM_MAX_EVENTS;
public static boolean RAID_SYSTEM_GIVE_BUFFS;
public static boolean RAID_SYSTEM_RESURRECT_PLAYER;
public static int RAID_SYSTEM_FIGHT_TIME;
// * Wedding System *//
/** Enable or Disable wedding system with this option. */
// * VoicedCommand System *//
public static boolean ALLOW_WEDDING;
public static boolean ALLOW_TRADEOFF_VOICE_COMMAND;
public static boolean ONLINE_VOICE_COMMAND;
public static boolean ENABLE_INFO;
public static int CUSTOM_SUBCLASS_LVL;
public static boolean ALLOW_HERO_COMMAND;
public static int HERO_ITEM_ID;
public static int HERO_ITEM_COUNT;
/** VoicedCommand System End. */
/** This is the cost to get married. */
public static int WEDDING_PRICE;
/** This checks if a player should get punished for infedelity. */
public static boolean WEDDING_PUNISH_INFIDELITY;
/** This checks if couples can be teleported. */
public static boolean WEDDING_TELEPORT;
/** This is the price to teleport. */
public static int WEDDING_TELEPORT_PRICE;
/** This is the time before teleporing takes place. */
public static int WEDDING_TELEPORT_INTERVAL;
/** This allows Homosexual marriage. */
public static boolean WEDDING_SAMESEX;
/** This checks if players are required to wear formal wear or not. */
public static boolean WEDDING_FORMALWEAR;
/** This checks the cost percentage to divorce. */
public static int WEDDING_DIVORCE_COSTS;
// * Champion Mobs *//
/** Enable or Disable Champion Mobs with this option. */
public static boolean CHAMPION_ENABLE;
/** Frequency of a mob being a champion. */
public static int CHAMPION_FREQUENCY;
/** Minimum champion mob level. */
public static int CHAMPION_MIN_LVL;
/** Maximum champion mob level. */
public static int CHAMPION_MAX_LVL;
/** Champion Mob HP Multiplier. */
public static int CHAMPION_HP;
/** Champion Mob reward for kill. */
public static int CHAMPION_REWARDS;
/** Champion Mob adena reward. */
public static int CHAMPION_ADENAS_REWARDS;
/** Champion Mob HP Regen Multiplier. */
public static float CHAMPION_HP_REGEN;
/** Champion Mob P.Atk Multiplier. */
public static float CHAMPION_ATK;
/** Champion Mob P.Atk.Spd Multiplier. */
public static float CHAMPION_SPD_ATK;
/** Champion Mob reward. */
public static int CHAMPION_REWARD;
/** Champion Mob reward ID. */
public static int CHAMPION_REWARD_ID;
/** Champion Mob reward quantity. */
public static int CHAMPION_REWARD_QTY;
/** ************************************************** */
/** L2J Teon Event Mods Customizations -End * */
/** ************************************************** */
/** L2J Teon Customizations -Begin * */
/** ************************************************** */
// PvP and PK Reward
public static boolean ALLOW_PVP_REWARD;
public static int PVP_REWARD_ITEM;
public static int PVP_REWARD_COUNT;
public static boolean ALLOW_PK_REWARD;
public static int PK_REWARD_ITEM;
public static int PK_REWARD_COUNT;
public static boolean PVP_NO_ESCAPE;
public static boolean ALL_PLAYER_CAN_EQUIP_HERO_ITEM;
// ** Colored pvp name system ** //
// ** Colored pvp name system ** //
public static boolean PVP_COLOR_SYSTEM_ENABLED;
/** Colored pvp name system */
public static int PVP_AMOUNT1;
/** Colored pvp name system */
public static int PVP_AMOUNT2;
/** Colored pvp name system */
public static int PVP_AMOUNT3;
/** Colored pvp name system */
public static int PVP_AMOUNT4;
/** Colored pvp name system */
public static int PVP_AMOUNT5;
/** Colored pvp name system */
public static int NAME_COLOR_FOR_PVP_AMOUNT1;
/** Colored pvp name system */
public static int NAME_COLOR_FOR_PVP_AMOUNT2;
/** Colored pvp name system */
public static int NAME_COLOR_FOR_PVP_AMOUNT3;
/** Colored pvp name system */
public static int NAME_COLOR_FOR_PVP_AMOUNT4;
/** Colored pvp name system */
public static int NAME_COLOR_FOR_PVP_AMOUNT5;
/** Colored pvp name system */
public static boolean PK_COLOR_SYSTEM_ENABLED;
/** Colored pk name system */
public static int PK_AMOUNT1;
/** Colored pk name system */
public static int PK_AMOUNT2;
/** Colored pk name system */
public static int PK_AMOUNT3;
/** Colored pk name system */
public static int PK_AMOUNT4;
/** Colored pk name system */
public static int PK_AMOUNT5;
/** Colored pk name system */
public static int TITLE_COLOR_FOR_PK_AMOUNT1;
/** Colored pk name system */
public static int TITLE_COLOR_FOR_PK_AMOUNT2;
/** Colored pk name system */
public static int TITLE_COLOR_FOR_PK_AMOUNT3;
/** Colored pk name system */
public static int TITLE_COLOR_FOR_PK_AMOUNT4;
/** Colored pk name system */
public static int TITLE_COLOR_FOR_PK_AMOUNT5;
//** Colored pk name system */
// *Character Customizations*//
/** Max Critical Rate. */
public static int MAX_RCRIT;
/** Maximum P. Attack Speed. */
public static int MAX_PATK_SPEED;
/** Maximum M. Attack Speed. */
public static int MAX_MATK_SPEED;
/** Config to keep skills of previous class after switching subclass. */
public static boolean KEEP_SUBCLASS_SKILLS;
/** Maximum Allowed subclasses for a player. */
public static int MAX_SUBCLASSES;
public static boolean NPC_ATTACKABLE;
public static List<Integer> INVUL_NPC_LIST;
/** Low Level Protection System. */
public static int PLAYER_PROTECTION_SYSTEM;
/** Alternatives damages for daggers */
public static float DAGGER_RECUDE_DMG_VS_ROBE;
public static float DAGGER_RECUDE_DMG_VS_LIGHT;
public static float DAGGER_RECUDE_DMG_VS_HEAVY;
/** Front Blow Success Rate. */
public static int FRONT_BLOW_SUCCESS;
/** Back Blow Success Rate. */
public static int BACK_BLOW_SUCCESS;
/** Side Blow Success Rate. */
public static int SIDE_BLOW_SUCCESS;
/** Config to disable or enable Grade Penalty. */
public static boolean DISABLE_GRADE_PENALTIES;
/** Config to disable or enable Weight Penalty. */
public static boolean DISABLE_WEIGHT_PENALTIES;
/**
* Config to
*
* @Checkup and delete delayed rented items.
*/
public static boolean DONATOR_DELETE_RENTED_ITEMS;
/** Config to choose donator Color on Enter. */
public static int DONATOR_NAME_COLOR;
/** Config to Enable Donator Items. */
public static boolean DONATOR_ITEMS;
/** Config to Enable Donator Auto revive. */
public static boolean DONATORS_REVIVE;
/** Config to Enable Donators Pass Check Unlegit skills. */
public static boolean ALLOW_DONATORS_UNLEGIT_SKILLS;
/** Config to choose koofs Color on Enter. */
public static int KOOFS_NAME_COLOR;
/** Config to choose noobs Color on Enter. */
public static int NOOBS_NAME_COLOR;
/** Config to Enable koofs and noobs Faction by DaRkRaGe. */
public static boolean ENABLE_FACTION_KOOFS_NOOBS;
/** Config for Announce Faction Players */
public static int FACTION_ANNOUNCE_TIME;
/** Config to choose koofs Alternative Name. */
public static String KOOFS_NAME_TEAM;
/** Config to choose Noobs Alternative Name. */
public static String NOOBS_NAME_TEAM;
/** Remote class Master By Danielmwx **/
public static boolean ALLOW_REMOTE_CLASS_MASTERS;
/** L2Walker protectio Master By Danielmwx **/
public static boolean ALLOW_L2WALKER_PROTECTION;
/** PVP BOT By Danielmwx **/
public static boolean PVP_SAME_IP;
/**
* Config option allowing server administrators/owners the ability to set a title for new players.
*/
public static boolean CHAR_TITLE;
/** This is the new players title. */
public static String ADD_CHAR_TITLE;
/** Configurable addition/subtraction to Running speed. */
public static int CUSTOM_RUN_SPEED;
public static double MULTIPLE_MCRIT;
/** Death Penalty chance */
public static int DEATH_PENALTY_CHANCE;
/** Player can drop AA ? */
public static boolean ALT_PLAYER_CAN_DROP_AA;
/** Ammount of Ancient Adena can drop */
public static int PLAYER_DROP_AA;
/** Player can Get Adena from pvp ? */
public static boolean ALLOW_ADENA_REWARD;
public static int ADENA_NUMBER_REWARD_ON_PVP;
/** Player can loose Adena on die by pvp ? */
public static boolean LOOSE_ADENA_ON_DIE;
public static int ADENA_NUMBER_LOST_ON_DIE;
/** Configuration to allow custom items to be given on character creation */
public static boolean CUSTOM_STARTER_ITEMS_ENABLED;
/** Configuration to disable official items given on character creation */
public static boolean DISABLE_OFFICIAL_STARTER_ITEMS;
/**
* This allows the administrator to set up additional items for players to start off with, items are put in the format: id,count;id,count;id,count
*/
public static List<int[]> CUSTOM_STARTER_ITEMS = new FastList<int[]>();
// * NPC Customizations*//
/** Minimal time between animations of a MONSTER */
public static int MIN_MONSTER_ANIMATION;
/** Maximal time between animations of a MONSTER */
public static int MAX_MONSTER_ANIMATION;
// Limits
public static int MAX_RUN_SPEED;
public static int MAX_EVASION;
public static int MAX_MCRIT_RATE;
/** Allow Manor system */
public static boolean ALLOW_MANOR;
/** Manor Refresh Starting time */
public static int ALT_MANOR_REFRESH_TIME;
/** Manor Refresh Min */
public static int ALT_MANOR_REFRESH_MIN;
/** Manor Next Period Approve Starting time */
public static int ALT_MANOR_APPROVE_TIME;
/** Manor Next Period Approve Min */
public static int ALT_MANOR_APPROVE_MIN;
/** Manor Maintenance Time */
public static int ALT_MANOR_MAINTENANCE_PERIOD;
/** Manor Save All Actions */
public static boolean ALT_MANOR_SAVE_ALL_ACTIONS;
/** Manor Save Period Rate */
public static int ALT_MANOR_SAVE_PERIOD_RATE;
/** Allow walker NPC ? */
public static boolean ALLOW_NPC_WALKERS;
// * Player Commands *//
/**
* Allows clan leaders the power allow clan members withdraw items from clan warehouse.
*/
public static boolean ALLOW_WITHDRAW_CWH_CMD;
// * Announcements and Messages *//
/* Show html window at login */
public static boolean SHOW_HTML_WELCOME;
public static boolean SHOW_WELCOME_PM;
public static String PM_FROM;
public static String PM_TEXT1;
public static String PM_TEXT2;
/** Announcement of GM Login. */
public static boolean SHOW_GM_LOGIN;
/** Show L2J License at login */
public static boolean SHOW_L2J_LICENSE;
/** Show Online Players announcement */
public static boolean ONLINE_PLAYERS_AT_STARTUP;
/** Increases the # of players announcment by this set amount */
public static int PLAYERS_ONLINE_TRICK;
/** Interval at which the Online Player Announcement occurs */
public static int ONLINE_PLAYERS_ANNOUNCE_INTERVAL;
/** Announce Castle Lords on login */
public static boolean ANNOUNCE_CASTLE_LORDS;
/** Enable Pk Info mod. Displays number of times player has killed other */
public static boolean ENABLE_PK_INFO;
/** NPC Announcer */
public static int NPC_ANNOUNCER_PRICE_PER_ANNOUNCE;
public static int NPC_ANNOUNCER_MAX_ANNOUNCES_PER_DAY;
public static int NPC_ANNOUNCER_MIN_LVL_TO_ANNOUNCE;
public static int NPC_ANNOUNCER_MAX_LVL_TO_ANNOUNCE;
public static boolean ALLOW_NPC_ANNOUNCER;
public static boolean NPC_ANNOUNCER_DONATOR_ONLY;
// * Dimensional Drift *//
/**
* Minimum size of a party that may enter dimensional rift, if number becomes lower then defined number, the party will be teleported back.
*/
public static int RIFT_MIN_PARTY_SIZE;
/**
* Maximum number of jumps between rooms allowed. After Maximum number, party will be teleported back.
*/
public static int RIFT_MAX_JUMPS;
/**
* After entering the room, this is the wait time before mobs will spawn in the room. (in ms, 1 second = 1000 ms)
*/
public static int RIFT_SPAWN_DELAY;
/** Time between automatic jumps (in seconds). */
public static int RIFT_AUTO_JUMPS_TIME_MIN;
public static int RIFT_AUTO_JUMPS_TIME_MAX;
/**
* To enter the dimension rift, each person in your party must have the below amount of dimension fragments.
*/
public static int RIFT_ENTER_COST_RECRUIT;
public static int RIFT_ENTER_COST_SOLDIER;
public static int RIFT_ENTER_COST_OFFICER;
public static int RIFT_ENTER_COST_CAPTAIN;
public static int RIFT_ENTER_COST_COMMANDER;
public static int RIFT_ENTER_COST_HERO;
// * Clan Customizations *//
/** Customize the clan hall system as you like. */
public static int CLAN_RAISE_FIRST_COST;
public static int CLAN_RAISE_SEC_COST;
public static int CLAN_MEMBERS_FIRST;
public static int CLAN_MEMBERS_SEC;
public static int CLAN_MEMBERS_THIRD;
public static int CLAN_REPUTATION_FIRST;
public static int CLAN_REPUTATION_SEC;
public static int CLAN_REPUTATION_THIRD;
public static int CLAN_SP_FIRST;
public static int CLAN_SP_SEC;
public static int CLAN_SP_THIRD;
public static int CLAN_SP_FORTH;
public static int CLAN_SP_FIFTH;
public static boolean CLAN_LEADER_COLOR_ENABLED;
public static int CLAN_LEADER_COLOR;
public static int CLAN_LEADER_COLOR_CLAN_LEVEL;
public static boolean CLAN_LEADER_TITLE_ENABLED;
public static int CLAN_LEADER_TITLE;
public static int CLAN_LEADER_TITLE_CLAN_LEVEL;
// * Server Customizations *//
/**
* Safe Sigterm will disable some features during restart/shutdown to prevent enchant and sublcass exploits! *
*/
public static boolean SAFE_SIGTERM;
/** GM Over Enchant value */
public static int GM_OVER_ENCHANT;
public static int ENCHANT_MAX_ALLOWED_WEAPON;
public static int ENCHANT_MAX_ALLOWED_ARMOR;
public static int ENCHANT_MAX_ALLOWED_JEWELRY;
/** Check players for illegitimate skills on player entering the server. */
public static boolean CHECK_SKILLS_ON_ENTER;
/** Code implementation by: Meyknho */
public static String ALLOWED_SKILLS; // List of Skills that are allowed for all Classes if CHECK_SKILLS_ON_ENTER = true
public static FastList<Integer> ALLOWED_SKILLS_LIST = new FastList<Integer>();
// Mana Potion Custom Regeneration
public static int MANA_POTION_RES;
/**
* Allows the Administrator/Owner the ability to change the default coordinates of ALL characters making them all at the same spawn point.
*/
public static boolean SPAWN_CHAR;
/** X Coordinate of the SPAWN_CHAR setting. */
public static int SPAWN_X;
/** Y Coordinate of the SPAWN_CHAR setting. */
public static int SPAWN_Y;
/** Z Coordinate of the SPAWN_CHAR setting. */
public static int SPAWN_Z;
/** Chance that a Crystal Scroll will have to enchant over safe limit */
public static int ENCHANT_CHANCE_WEAPON_CRYSTAL;
/** Chance that a Crystal Scroll will have to enchant over safe limit */
public static int ENCHANT_CHANCE_ARMOR_CRYSTAL;
/** Chance that a Crystal Scroll will have to enchant over safe limit */
public static int ENCHANT_CHANCE_JEWELRY_CRYSTAL;
/** Chance that a Blessed Scroll will have to enchant over safe limit */
public static int ENCHANT_CHANCE_WEAPON_BLESSED;
/** Chance that a Blessed Scroll will have to enchant over safe limit */
public static int ENCHANT_CHANCE_ARMOR_BLESSED;
/** Chance that a Blessed Scroll will have to enchant over safe limit */
public static int ENCHANT_CHANCE_JEWELRY_BLESSED;
/** Dwarfs Enchant System */
public static boolean ENABLE_DWARF_ENCHANT_BONUS;
public static int DWARF_ENCHANT_MIN_LEVEL;
public static int DWARF_ENCHANT_BONUS;
/** Change the way admin panel is shown */
public static String GM_ADMIN_MENU_STYLE;
/** Unknown Packet handler protection */
public static boolean ENABLE_PACKET_PROTECTION;
public static int MAX_UNKNOWN_PACKETS;
public static int UNKNOWN_PACKETS_PUNISHMENT;
/** GM Audit ? */
public static boolean GMAUDIT;
// * Miscellaneous Customizations *//
/** Enchant hero weapons? */
public static boolean ENCHANT_HERO_WEAPONS;
/** Allow subclass with only subclass items and no quest. */
public static boolean SUBCLASS_WITH_ITEM_AND_NO_QUEST;
/**
* Config option which allows or dis-allows use of Wyverns during Sieges.
*/
public static boolean FLYING_WYVERN_DURING_SIEGE;
/** Life Crystal needed to learn clan skill */
public static boolean LIFE_CRYSTAL_NEEDED;
/** Config for reuse delay of potions Elixirs (in seconds). */
public static int ELIXIRS_REUSE_DELAY;
/** Remove Castle circlets after clan lose his castle? - default True */
public static boolean REMOVE_CASTLE_CIRCLETS;
/** Warehouse Sorting */
public static boolean ENABLE_WAREHOUSESORTING_CLAN;
public static boolean ENABLE_WAREHOUSESORTING_PRIVATE;
public static boolean ENABLE_WAREHOUSESORTING_FREIGHT;
/**OffLine Shop */
public static boolean OFFLINE_TRADE_ENABLE;
public static boolean OFFLINE_CRAFT_ENABLE;
public static boolean OFFLINE_SET_NAME_COLOR;
public static int OFFLINE_NAME_COLOR;
/** Allow Summon Pet in Combat ? */
public static boolean DISABLE_SUMMON_IN_COMBAT;
/** Config for activeChar Attack Npcs in the list */
public static boolean DISABLE_ATTACK_NPC_TYPE;
/** Alternative Perfect shield defence rate */
public static int ALT_PERFECT_SHLD_BLOCK;
/**
* Allows or dis-allows the option for NPC types that won't allow casting
*/
public static String ALLOWED_NPC_TYPES;
/** List of NPC types that won't allow casting */
public static FastList<String> LIST_ALLOWED_NPC_TYPES = new FastList<String>();
/** Enable Custom Spawlist table */
public static boolean CUSTOM_SPAWNLIST_TABLE;
/** Save GM Spawn only on custom table */
public static boolean SAVE_GMSPAWN_ON_CUSTOM;
/** Enable GM Delete spawn in alternate table */
public static boolean DELETE_GMSPAWN_ON_CUSTOM;
/** Enable Custom Npc table */
public static boolean CUSTOM_NPC_TABLE;
/** Enable Custom Items tables */
public static boolean CUSTOM_ETCITEM_TABLE;
public static boolean CUSTOM_ARMOR_TABLE;
public static boolean CUSTOM_ARMORSETS_TABLE;
public static boolean CUSTOM_WEAPON_TABLE;
public static boolean CUSTOM_TELEPORT_TABLE;
/** Enable Custom Droplist Table */
public static boolean CUSTOM_DROPLIST_TABLE;
/** Enable Custom Merchant Tables */
public static boolean CUSTOM_MERCHANT_TABLES;
public static int OLY_ENCHANT_LIMIT;
public static boolean OLYMPIAD_ALLOW_AUTO_SS;
public static boolean OLYMPIAD_GIVE_ACUMEN_MAGES;
public static boolean OLYMPIAD_GIVE_HASTE_FIGHTERS;
public static int OLYMPIAD_ACUMEN_LVL;
public static int OLYMPIAD_HASTE_LVL;
/** Enable skill duration mod */
public static boolean ENABLE_MODIFY_SKILL_DURATION;
public static Map<Integer, Integer> SKILL_DURATION_LIST;
public static Integer MODIFIED_SKILL_COUNT;
/** Enable skill NO autolearn */
public static boolean ENABLE_NO_AUTOLEARN_LIST;
/** List of Skills not autolearned */
public static FastList<Integer> NO_AUTOLEARN_LIST;
/**
* Alternative gaming - Castle Shield can be equiped by all clan members if they own a castle. - default True
*/
public static boolean CASTLE_SHIELD;
/**
* Alternative gaming - Clan Hall Shield can be equiped by all clan members if they own a clan hall. - default True
*/
public static boolean CLANHALL_SHIELD;
/**
* Alternative gaming - Apella armors can be equiped only by clan members if their class is Baron or higher - default True
*/
public static boolean APELLA_ARMORS;
/**
* Alternative gaming - Clan Oath Armors can be equiped only by clan members - default True
*/
public static boolean OATH_ARMORS;
/**
* Alternative gaming - Castle Crown can be equiped only by castle lord - default True
*/
public static boolean CASTLE_CROWN;
/**
* Alternative gaming - Castle Circlets can be equiped only by clan members if they own a castle - default True
*/
public static boolean CASTLE_CIRCLETS;
// * Banking System *//
/** Banking System Enabled */
public static boolean BANKING_SYSTEM_ENABLED;
/**
* Configure the amount of Adena to trade for the below configured number of Gold Bars.
*/
public static int BANKING_SYSTEM_ADENA;
/**
* Configure the amount of Gold Bars to trade for the above configured number of Adena.
*/
public static int BANKING_SYSTEM_GOLDBARS;
/** ************************************************** */
/** L2J Teon Customizations -End * */
/** ************************************************** **/
/** Fortress Settings -Begin **/
/** ************************************************** **/
public static long FS_TELE_FEE_RATIO;
public static int FS_TELE1_FEE;
public static int FS_TELE2_FEE;
public static long FS_MPREG_FEE_RATIO;
public static int FS_MPREG1_FEE;
public static int FS_MPREG2_FEE;
public static long FS_HPREG_FEE_RATIO;
public static int FS_HPREG1_FEE;
public static int FS_HPREG2_FEE;
public static long FS_EXPREG_FEE_RATIO;
public static int FS_EXPREG1_FEE;
public static int FS_EXPREG2_FEE;
public static long FS_SUPPORT_FEE_RATIO;
public static int FS_SUPPORT1_FEE;
public static int FS_SUPPORT2_FEE;
/** ************************************************** **/
/** Fortress Settings -End **/
/** ************************************************** **/
// Augment.properties Configs
public static int AUGMENTATION_BASESTAT_CHANCE;
public static int AUGMENTATION_NG_SKILL_CHANCE;
public static int AUGMENTATION_NG_GLOW_CHANCE;
public static int AUGMENTATION_MID_SKILL_CHANCE;
public static int AUGMENTATION_MID_GLOW_CHANCE;
public static int AUGMENTATION_HIGH_SKILL_CHANCE;
public static int AUGMENTATION_HIGH_GLOW_CHANCE;
public static int AUGMENTATION_TOP_SKILL_CHANCE;
public static int AUGMENTATION_TOP_GLOW_CHANCE;
public static float SK_FIG;
public static float SK_MAG;
public static float AP_FIG;
public static float CP_MAG;
public static float M_TK;
/** Multiplies stay time in boss room. */
public static float RIFT_BOSS_ROOM_TIME_MUTIPLY;
/***************************************************************************
* sepulche Custom CONFIG
**************************************************************************/
public static int FS_TIME_ATTACK;
public static int FS_TIME_COOLDOWN;
public static int FS_TIME_ENTRY;
public static int FS_TIME_WARMUP;
public static int FS_PARTY_MEMBER_COUNT;
/*******************************************
* /** ClanHallSiege Settings
**/
/** ************************************************** **/
public static boolean DEVASTATED_CASTLE_ENABLED;
public static boolean FORTRESS_OF_THE_DEAD_ENABLED;
/**
* **************************************************
**/
/** General Settings -Begin **/
/** ************************************************** **/
/** Config for Fake Death Faild Feature **/
public static boolean FAILD_FAKEDEATH;
public static boolean NPCBUFFER_FEATURE_ENABLED;
public static int NPCBUFFER_MAX_SCHEMES;
public static int NPCBUFFER_MAX_SKILLS;
public static boolean NPCBUFFER_STORE_SCHEMES;
public static int NPCBUFFER_STATIC_BUFF_COST;
/** ************************************************** **/
/** General Settings -End **/
/** ************************************************** **/
/** Datapack root directory */
public static File DATAPACK_ROOT;
// protocol revision
/** Minimal protocol revision */
public static int MIN_PROTOCOL_REVISION;
/** Maximal protocol revision */
public static int MAX_PROTOCOL_REVISION;
/** ************************************************** **/
/** MMO Settings - Begin **/
/** ************************************************** **/
public static int MMO_SELECTOR_SLEEP_TIME;
public static int MMO_MAX_SEND_PER_PASS;
public static int MMO_MAX_READ_PER_PASS;
public static int MMO_HELPER_BUFFER_COUNT;
public static int MMO_IO_SELECTOR_THREAD_COUNT;
/** ************************************************** **/
/** MMO Settings - End **/
/** ************************************************** **/
/** Use 3D Map ? */
public static boolean USE_3D_MAP;
public static boolean CHECK_KNOWN;
/** Game Server login port */
public static int GAME_SERVER_LOGIN_PORT;
/** Game Server login Host */
public static String GAME_SERVER_LOGIN_HOST;
/** Internal Hostname */
public static String INTERNAL_HOSTNAME;
/** External Hostname */
public static String EXTERNAL_HOSTNAME;
public static int PATH_NODE_RADIUS;
public static int NEW_NODE_ID;
public static int SELECTED_NODE_ID;
public static boolean TOGGLE_WEAPON_ALLOWED;
public static int LINKED_NODE_ID;
public static String NEW_NODE_TYPE;
/** Time between 2 updates of IP */
public static int IP_UPDATE_TIME;
// Packet information
/** Count the amount of packets per minute ? */
public static boolean COUNT_PACKETS = false;
/** Dump packet count ? */
public static boolean DUMP_PACKET_COUNTS = false;
/** Time interval between 2 dumps */
public static int DUMP_INTERVAL_SECONDS = 60;
/**
* Show licence or not just after login (if False, will directly go to the Server List
*/
public static boolean SHOW_LICENCE;
/** Force GameGuard authorization in loginserver */
public static boolean FORCE_GGAUTH;
/** Accept new game server ? */
public static boolean ACCEPT_NEW_GAMESERVER;
/** Server ID used with the HexID */
public static int SERVER_ID;
/** Hexadecimal ID of the game server */
public static byte[] HEX_ID;
/** Accept alternate ID for server ? */
public static boolean ACCEPT_ALTERNATE_ID;
/** ID for request to the server */
public static int REQUEST_ID;
public static boolean RESERVE_HOST_ON_LOGIN = false;
public static int MINIMUM_UPDATE_DISTANCE;
public static int KNOWNLIST_FORGET_DELAY;
public static int MINIMUN_UPDATE_TIME;
/** Only GM buy items for free* */
...