2014-09-22 13:02:14 +02:00
|
|
|
/*
|
2014-10-12 00:37:36 -07:00
|
|
|
* Copyright (c) IntellectualCrafters - 2014. You are not allowed to distribute
|
|
|
|
* and/or monetize any of our intellectual property. IntellectualCrafters is not
|
|
|
|
* affiliated with Mojang AB. Minecraft is a trademark of Mojang AB.
|
2014-11-05 14:42:08 +11:00
|
|
|
*
|
2014-10-12 00:37:36 -07:00
|
|
|
* >> File = Settings.java >> Generated by: Citymonstret at 2014-08-09 01:44
|
2014-09-22 13:02:14 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
package com.intellectualcrafters.plot;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Updater and DB settings
|
2014-10-11 00:33:10 -07:00
|
|
|
*
|
2014-09-22 13:02:14 +02:00
|
|
|
* @author Citymonstret
|
|
|
|
* @author Empire92
|
|
|
|
*/
|
|
|
|
public class Settings {
|
2014-11-05 14:42:08 +11:00
|
|
|
public static boolean TITLES = true;
|
2014-10-28 01:57:14 +01:00
|
|
|
/**
|
|
|
|
* Schematic Save Path
|
|
|
|
*/
|
2014-11-05 14:42:08 +11:00
|
|
|
public static String SCHEMATIC_SAVE_PATH = "/var/www/schematics";
|
2014-10-28 01:57:14 +01:00
|
|
|
/**
|
|
|
|
* Max allowed plots
|
|
|
|
*/
|
2014-11-05 14:42:08 +11:00
|
|
|
public static int MAX_PLOTS = 20;
|
|
|
|
/**
|
|
|
|
* WorldGuard region on claimed plots
|
|
|
|
*/
|
|
|
|
public static boolean WORLDGUARD = false;
|
|
|
|
/**
|
|
|
|
* metrics
|
|
|
|
*/
|
|
|
|
public static boolean METRICS = true;
|
|
|
|
/**
|
|
|
|
* plot specific resource pack
|
|
|
|
*/
|
|
|
|
public static String PLOT_SPECIFIC_RESOURCE_PACK = "";
|
|
|
|
/**
|
|
|
|
* Kill road mobs?
|
|
|
|
*/
|
|
|
|
public static boolean KILL_ROAD_MOBS;
|
|
|
|
/**
|
|
|
|
* Default kill road mobs: true
|
|
|
|
*/
|
|
|
|
public static boolean KILL_ROAD_MOBS_DEFAULT = true;
|
|
|
|
/**
|
|
|
|
* mob pathfinding?
|
|
|
|
*/
|
|
|
|
public static boolean MOB_PATHFINDING;
|
|
|
|
/**
|
|
|
|
* Default mob pathfinding: true
|
|
|
|
*/
|
|
|
|
public static boolean MOB_PATHFINDING_DEFAULT = true;
|
2014-10-21 18:53:52 +02:00
|
|
|
/**
|
|
|
|
* Delete plots on ban?
|
|
|
|
*/
|
2014-11-05 14:42:08 +11:00
|
|
|
public static boolean DELETE_PLOTS_ON_BAN = false;
|
2014-10-28 01:57:14 +01:00
|
|
|
/**
|
|
|
|
* Verbose?
|
|
|
|
*/
|
2014-11-05 14:42:08 +11:00
|
|
|
public static boolean DEBUG = true;
|
2014-10-28 01:57:14 +01:00
|
|
|
/**
|
|
|
|
* Auto clear enabled
|
|
|
|
*/
|
2014-11-05 14:42:08 +11:00
|
|
|
public static boolean AUTO_CLEAR = false;
|
2014-10-28 01:57:14 +01:00
|
|
|
/**
|
|
|
|
* Days until a plot gets cleared
|
|
|
|
*/
|
2014-11-05 14:42:08 +11:00
|
|
|
public static int AUTO_CLEAR_DAYS = 365;
|
2014-10-28 01:57:14 +01:00
|
|
|
/**
|
|
|
|
* API Location
|
|
|
|
*/
|
2014-11-05 14:42:08 +11:00
|
|
|
public static String API_URL = "http://www.intellectualsites.com/minecraft.php";
|
2014-10-28 01:57:14 +01:00
|
|
|
/**
|
|
|
|
* Use the custom API
|
|
|
|
*/
|
2014-11-05 14:42:08 +11:00
|
|
|
public static boolean CUSTOM_API = true;
|
2014-09-24 20:29:30 +02:00
|
|
|
|
2014-11-05 14:42:08 +11:00
|
|
|
/**
|
|
|
|
* Database settings
|
|
|
|
*
|
|
|
|
* @author Citymonstret
|
|
|
|
*/
|
|
|
|
public static class DB {
|
2014-10-28 01:57:14 +01:00
|
|
|
/**
|
|
|
|
* MongoDB enabled?
|
|
|
|
*/
|
2014-11-05 14:42:08 +11:00
|
|
|
public static boolean USE_MONGO = false; /*
|
|
|
|
* TODO: Implement Mongo
|
|
|
|
* @Brandon
|
|
|
|
*/
|
2014-10-28 01:57:14 +01:00
|
|
|
/**
|
|
|
|
* SQLite enabled?
|
|
|
|
*/
|
2014-11-05 14:42:08 +11:00
|
|
|
public static boolean USE_SQLITE = false;
|
2014-10-28 01:57:14 +01:00
|
|
|
/**
|
|
|
|
* MySQL Enabled?
|
|
|
|
*/
|
2014-11-05 14:42:08 +11:00
|
|
|
public static boolean USE_MYSQL = true; /* NOTE: Fixed connector */
|
2014-10-28 01:57:14 +01:00
|
|
|
/**
|
|
|
|
* SQLite Database name
|
|
|
|
*/
|
2014-11-05 14:42:08 +11:00
|
|
|
public static String SQLITE_DB = "storage";
|
2014-10-28 01:57:14 +01:00
|
|
|
/**
|
|
|
|
* MySQL Host name
|
|
|
|
*/
|
2014-11-05 14:42:08 +11:00
|
|
|
public static String HOST_NAME = "localhost";
|
2014-10-28 01:57:14 +01:00
|
|
|
/**
|
|
|
|
* MySQL Port
|
|
|
|
*/
|
2014-11-05 14:42:08 +11:00
|
|
|
public static String PORT = "3306";
|
2014-10-28 01:57:14 +01:00
|
|
|
/**
|
|
|
|
* MySQL DB
|
|
|
|
*/
|
2014-11-05 14:42:08 +11:00
|
|
|
public static String DATABASE = "plot_db";
|
2014-10-28 01:57:14 +01:00
|
|
|
/**
|
|
|
|
* MySQL User
|
|
|
|
*/
|
2014-11-05 14:42:08 +11:00
|
|
|
public static String USER = "root";
|
2014-10-28 01:57:14 +01:00
|
|
|
/**
|
|
|
|
* MySQL Password
|
|
|
|
*/
|
2014-11-05 14:42:08 +11:00
|
|
|
public static String PASSWORD = "password";
|
2014-10-28 01:57:14 +01:00
|
|
|
/**
|
|
|
|
* MySQL Prefix
|
|
|
|
*/
|
2014-11-05 14:42:08 +11:00
|
|
|
public static String PREFIX = "";
|
|
|
|
}
|
2014-09-24 22:21:43 +10:00
|
|
|
}
|