TF-PlotSquared/PlotSquared/src/com/intellectualcrafters/plot/Settings.java

75 lines
2 KiB
Java
Raw Normal View History

2014-09-22 13:02:14 +02: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.
*
* >> File = Settings.java
* >> Generated by: Citymonstret at 2014-08-09 01:44
*/
package com.intellectualcrafters.plot;
/**
* Updater and DB settings
* @author Citymonstret
*
* @author Empire92
*/
public class Settings {
2014-09-23 19:02:17 +02:00
public static boolean METRICS = true;
2014-09-22 13:02:14 +02:00
/**
* 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-09-22 13:02:14 +02:00
/**
* Update settings
* @author Citymonstret
*
*/
public static String URL = "http://dev.bukkit.org/bukkit-plugins/plotsquared/";
public static class Update {
/**
* Update plugin?
2014-09-23 19:02:17 +02:00
* @deprecated
2014-09-22 13:02:14 +02:00
*/
public static boolean AUTO_UPDATE = false;
}
public static class Web {
public static boolean ENABLED = false;
public static int PORT = 9000;
}
/**
* Database settings
* @author Citymonstret
*
*/
public static class DB {
public static boolean USE_MONGO = false; /* TODO: Implement Mongo */;
2014-09-23 19:02:17 +02:00
public static boolean USE_SQLITE = false;
public static boolean USE_MYSQL = true; /* NOTE: Fixed connector */
public static String SQLITE_DB = "storage";
2014-09-22 13:02:14 +02:00
public static String HOST_NAME = "localhost";
public static String PORT = "3306";
2014-09-23 19:02:17 +02:00
public static String DATABASE = "plot_db";
public static String USER = "root";
public static String PASSWORD = "password";
2014-09-22 13:02:14 +02:00
}
}