public class Config
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Config.BungeeAPI
BungeeAPI related settings.
|
static class |
Config.PlayerFile |
Modifier and Type | Field and Description |
---|---|
static boolean |
allowAllPermsForAuthor
Allow access to every SpigotLib command for the plugins author,
so he could debug other plugins quickly without needing to ask you
for changing his perms all the time
|
static int |
animationApiThreads
Amount of async threads used in AnimationAPI for running animations smoothly
|
static Config.BungeeAPI |
bungee
BungeeAPI related configurations
|
static Debugger |
debug
Toggle debug messages in the plugin
|
static java.lang.String |
defaultLang
Default server language used in language files
|
static boolean |
disablePluginsOnCrash
Disable plugins on crash
|
static boolean |
disableWeatherChange
Disable weather changes on the entire server, useful for testing
|
static EconomyAPI |
economy
EconomyAPI related configurations
|
static boolean |
forceReducedMode
Disable version sensitive features of SpigotLib, like PacketAPI, ScoreboardAPI for
fixing compatibility issues with older server versions
|
static boolean |
logPlayerConfigLoadUnload
Log player data management system player loading and unloading events
|
static boolean |
mysqlSSL
Require SSL for MySQL connections
|
static boolean |
phaHook
Automatically hook to PlaceholderAPI if it's added to the server
|
static boolean |
playerEval
Allow using Javascript engine for players using /sl commands.
|
static Config.PlayerFile |
playerFile
Player data storage related settings
|
static boolean |
purgePF
Purge player data storage in the next server restart
|
static boolean |
silentErrors
Hide every error handled through the SpigotLib error handler
|
static TPSMeter |
tpsMeter
TPS meter related settings
|
Constructor and Description |
---|
Config() |
public static boolean allowAllPermsForAuthor
public static int animationApiThreads
public static Config.BungeeAPI bungee
public static Debugger debug
public static java.lang.String defaultLang
public static boolean disablePluginsOnCrash
public static boolean disableWeatherChange
public static boolean logPlayerConfigLoadUnload
public static EconomyAPI economy
public static boolean forceReducedMode
public static boolean mysqlSSL
public static boolean phaHook
public static boolean playerEval
public static Config.PlayerFile playerFile
public static boolean purgePF
public static boolean silentErrors
public static TPSMeter tpsMeter