类 PluginConfig
java.lang.Object
me.dreamvoid.miraimc.interfaces.PluginConfig
-
字段概要
字段修饰符和类型字段说明boolean
boolean
long
boolean
boolean
boolean
boolean
int
int
int
int
int
int
boolean
boolean
boolean
long
boolean
boolean
long
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected abstract boolean
getBoolean
(String path, boolean defaults) protected abstract int
protected abstract long
protected abstract String
final void
protected abstract void
-
字段详细资料
-
PluginDir
-
General_AllowBStats
public boolean General_AllowBStats -
General_CheckUpdate
public boolean General_CheckUpdate -
General_CheckUpdatePeriod
public long General_CheckUpdatePeriod -
General_DisableSafeWarningMessage
public boolean General_DisableSafeWarningMessage -
General_MiraiWorkingDir
-
General_MiraiCoreVersion
-
General_MavenRepoUrl
-
General_AutoOpenQRCodeFile
public boolean General_AutoOpenQRCodeFile -
General_LogEvents
public boolean General_LogEvents -
General_WebAPITimeout
public long General_WebAPITimeout -
Bot_DisableNetworkLogs
public boolean Bot_DisableNetworkLogs -
Bot_DisableBotLogs
public boolean Bot_DisableBotLogs -
Bot_UseMinecraftLogger_BotLogs
public boolean Bot_UseMinecraftLogger_BotLogs -
Bot_UseMinecraftLogger_NetworkLogs
public boolean Bot_UseMinecraftLogger_NetworkLogs -
Bot_ContactCache_EnableFriendListCache
public boolean Bot_ContactCache_EnableFriendListCache -
Bot_ContactCache_EnableGroupMemberListCache
public boolean Bot_ContactCache_EnableGroupMemberListCache -
Bot_ContactCache_SaveIntervalMillis
public long Bot_ContactCache_SaveIntervalMillis -
Database_Type
-
Database_Drivers_SQLite_Path
-
Database_Drivers_MySQL_Address
-
Database_Drivers_MySQL_Username
-
Database_Drivers_MySQL_Password
-
Database_Drivers_MySQL_Database
-
Database_Drivers_MySQL_Parameters
-
Database_Settings_Prefix
-
Database_Settings_Pool_ConnectionTimeout
public int Database_Settings_Pool_ConnectionTimeout -
Database_Settings_Pool_IdleTimeout
public int Database_Settings_Pool_IdleTimeout -
Database_Settings_Pool_MaxLifetime
public int Database_Settings_Pool_MaxLifetime -
Database_Settings_Pool_MaximumPoolSize
public int Database_Settings_Pool_MaximumPoolSize -
Database_Settings_Pool_KeepaliveTime
public int Database_Settings_Pool_KeepaliveTime -
Database_Settings_Pool_MinimumIdle
public int Database_Settings_Pool_MinimumIdle
-
-
构造器详细资料
-
PluginConfig
public PluginConfig()
-
-
方法详细资料
-
loadConfig
- 抛出:
IOException
-
saveDefaultConfig
- 抛出:
IOException
-
getString
-
getInt
-
getLong
-
getBoolean
-