mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-12 07:15:44 +00:00
68 lines
1.7 KiB
Java
68 lines
1.7 KiB
Java
![]() |
/*
|
||
|
* 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;
|
||
|
|
||
|
import org.bukkit.Material;
|
||
|
|
||
|
import java.util.ArrayList;
|
||
|
import java.util.List;
|
||
|
|
||
|
/**
|
||
|
* Updater and DB settings
|
||
|
* @author Citymonstret
|
||
|
*
|
||
|
* @author Empire92
|
||
|
*/
|
||
|
public class Settings {
|
||
|
/**
|
||
|
* 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;
|
||
|
/**
|
||
|
* Update settings
|
||
|
* @author Citymonstret
|
||
|
*
|
||
|
*/
|
||
|
public static String URL = "http://dev.bukkit.org/bukkit-plugins/plotsquared/";
|
||
|
public static class Update {
|
||
|
/**
|
||
|
* Update plugin?
|
||
|
*/
|
||
|
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 */;
|
||
|
public static boolean USE_MYSQL = true; /* NOTE: Fixed connector */
|
||
|
public static String HOST_NAME = "localhost";
|
||
|
public static String PORT = "3306";
|
||
|
public static String DATABASE = "plot_db";
|
||
|
public static String USER = "root";
|
||
|
public static String PASSWORD = "password";
|
||
|
}
|
||
|
}
|