Add 'passthrough-protocol-name' config option (#1124)

* Initial version (tested)

* Don't bump config version

* Misc changes

* Add punctuation to config
This commit is contained in:
James Cahill 2020-08-18 04:36:15 +01:00 committed by GitHub
parent 80a36344eb
commit e7363b4e9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 24 additions and 2 deletions

View file

@ -89,6 +89,11 @@ public class GeyserSpongeConfiguration implements GeyserConfiguration {
return node.getNode("passthrough-motd").getBoolean(false);
}
@Override
public boolean isPassthroughProtocolName() {
return node.getNode("passthrough-protocol-name").getBoolean(false);
}
@Override
public boolean isPassthroughPlayerCounts() {
return node.getNode("passthrough-player-counts").getBoolean(false);