更新
This commit is contained in:
23
src/main/java/com/ilummc/tlib/config/TLibConfig.java
Normal file
23
src/main/java/com/ilummc/tlib/config/TLibConfig.java
Normal file
@@ -0,0 +1,23 @@
|
||||
package com.ilummc.tlib.config;
|
||||
|
||||
import com.ilummc.tlib.annotations.Config;
|
||||
|
||||
/**
|
||||
* @author sky
|
||||
* @since 2018-04-22 14:31:11
|
||||
*/
|
||||
@Config(name = "tlib.yml", listenChanges = true, readOnly = false)
|
||||
public class TLibConfig {
|
||||
|
||||
private String[] locale = {"zh_CN", "en_US"};
|
||||
|
||||
public String[] getLocale() {
|
||||
return locale;
|
||||
}
|
||||
|
||||
private boolean enablePlaceholderHookByDefault = false;
|
||||
|
||||
public boolean isEnablePlaceholderHookByDefault() {
|
||||
return enablePlaceholderHookByDefault;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user