mirror of
https://github.com/BGHDDevelopment/PlayerBalancer.git
synced 2024-09-19 03:01:18 +02:00
I am not used to hocon...
This commit is contained in:
parent
d773800a0d
commit
0ee5d5538b
@ -20,6 +20,9 @@ public class GeneralProps {
|
||||
@Setting(value = "fallback-principal")
|
||||
private boolean fallbackPrincipal;
|
||||
|
||||
@Setting
|
||||
private String version;
|
||||
|
||||
public boolean isEnabled() {
|
||||
return enabled;
|
||||
}
|
||||
@ -60,6 +63,14 @@ public class GeneralProps {
|
||||
this.fallbackPrincipal = fallbackPrincipal;
|
||||
}
|
||||
|
||||
public String getVersion() {
|
||||
return version;
|
||||
}
|
||||
|
||||
public void setVersion(String version) {
|
||||
this.version = version;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "GeneralProps{" +
|
||||
@ -68,6 +79,7 @@ public class GeneralProps {
|
||||
", autoReload=" + autoReload +
|
||||
", redisBungee=" + redisBungee +
|
||||
", fallbackPrincipal=" + fallbackPrincipal +
|
||||
", version='" + version + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
@ -14,11 +14,11 @@ general {
|
||||
# When true, the plugin will get player counts from RedisBungee
|
||||
redis-bungee=false
|
||||
|
||||
# When true, the plugin will print less messages while loading
|
||||
# When true, this plugin will print less messages when loading
|
||||
silent=false
|
||||
|
||||
# Do not modify this
|
||||
version: "${project.version}"
|
||||
version="${project.version}"
|
||||
}
|
||||
|
||||
# Effectively remove (i.e comment) a message to disable it
|
||||
|
Loading…
Reference in New Issue
Block a user