aboutsummaryrefslogtreecommitdiff
path: root/spark-bukkit/src/main/java/me/lucko/spark/bukkit
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2022-01-30 18:59:48 +0000
committerLuck <git@lucko.me>2022-01-30 18:59:48 +0000
commitce56c23132383bd5d865070f23dcb89e574b97cd (patch)
treede4b900dce36e1a42cc54dfd1dba5423599fc601 /spark-bukkit/src/main/java/me/lucko/spark/bukkit
parentd35216ec6cfe39cc95ffe7bae4b57638e8cdd77b (diff)
downloadspark-ce56c23132383bd5d865070f23dcb89e574b97cd.tar.gz
spark-ce56c23132383bd5d865070f23dcb89e574b97cd.tar.bz2
spark-ce56c23132383bd5d865070f23dcb89e574b97cd.zip
Exclude rcon password from server.properties file
Diffstat (limited to 'spark-bukkit/src/main/java/me/lucko/spark/bukkit')
-rw-r--r--spark-bukkit/src/main/java/me/lucko/spark/bukkit/BukkitServerConfigProvider.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/spark-bukkit/src/main/java/me/lucko/spark/bukkit/BukkitServerConfigProvider.java b/spark-bukkit/src/main/java/me/lucko/spark/bukkit/BukkitServerConfigProvider.java
index 5fdd178..2042ee1 100644
--- a/spark-bukkit/src/main/java/me/lucko/spark/bukkit/BukkitServerConfigProvider.java
+++ b/spark-bukkit/src/main/java/me/lucko/spark/bukkit/BukkitServerConfigProvider.java
@@ -124,6 +124,7 @@ public class BukkitServerConfigProvider extends AbstractServerConfigProvider<Buk
.add("server-ip")
.add("motd")
.add("resource-pack")
+ .add("rcon\\.password")
.addAll(getTimingsHiddenConfigs())
.addAll(getSystemPropertyList("spark.serverconfigs.hiddenpaths"));