File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
java/com/jaimemartz/playerbalancer/settings/props Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ public class GeneralProps {
2020 @ Setting (value = "fallback-principal" )
2121 private boolean fallbackPrincipal ;
2222
23+ @ Setting
24+ private String version ;
25+
2326 public boolean isEnabled () {
2427 return enabled ;
2528 }
@@ -60,6 +63,14 @@ public void setFallbackPrincipal(boolean fallbackPrincipal) {
6063 this .fallbackPrincipal = fallbackPrincipal ;
6164 }
6265
66+ public String getVersion () {
67+ return version ;
68+ }
69+
70+ public void setVersion (String version ) {
71+ this .version = version ;
72+ }
73+
6374 @ Override
6475 public String toString () {
6576 return "GeneralProps{" +
@@ -68,6 +79,7 @@ public String toString() {
6879 ", autoReload=" + autoReload +
6980 ", redisBungee=" + redisBungee +
7081 ", fallbackPrincipal=" + fallbackPrincipal +
82+ ", version='" + version + '\'' +
7183 '}' ;
7284 }
7385}
Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ general {
1414 # When true, the plugin will get player counts from RedisBungee
1515 redis-bungee=false
1616
17- # When true, the plugin will print less messages while loading
17+ # When true, this plugin will print less messages when loading
1818 silent=false
1919
2020 # Do not modify this
21- version: "${project.version}"
21+ version= "${project.version}"
2222}
2323
2424# Effectively remove (i.e comment) a message to disable it
You can’t perform that action at this time.
0 commit comments