diff options
| author | MODKILLER1001 | 2022-08-07 15:57:49 -0400 |
|---|---|---|
| committer | MODKILLER1001 | 2022-08-07 15:57:49 -0400 |
| commit | 22e94861eb043a7898bc03ba8db6826c4a7041b2 (patch) | |
| tree | 60c193e339c100af467027fdecba239daa7d43fb | |
| parent | 65bf39a5017bda114aa1743971711467683768f4 (diff) | |
Add instructions
| -rw-r--r-- | src/main/java/com/aizistral/nochatreports/ModMenuIntegration.java | 4 | ||||
| -rw-r--r-- | src/main/resources/assets/nochatreports/lang/en_us.json | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/main/java/com/aizistral/nochatreports/ModMenuIntegration.java b/src/main/java/com/aizistral/nochatreports/ModMenuIntegration.java index 832fd51..884bf12 100644 --- a/src/main/java/com/aizistral/nochatreports/ModMenuIntegration.java +++ b/src/main/java/com/aizistral/nochatreports/ModMenuIntegration.java @@ -117,6 +117,10 @@ public class ModMenuIntegration implements ModMenuApi { .setSaveConsumer(newValue -> NoReportsConfig.getInstance().whitelistAllServers = newValue) .build()); + // Instructions for adding servers + whitelistedServers.addEntry(entryBuilder.startTextDescription(Component.translatable("option.NoChatReports.whitelistedServers.instructions")) + .build()); + // Add or remove whitelisted servers whitelistedServers.addEntry(entryBuilder.startStrList(Component.translatable("option.NoChatReports.whitelistedServers"), NoReportsConfig.getInstance().whitelistedServers) .setExpanded(true) diff --git a/src/main/resources/assets/nochatreports/lang/en_us.json b/src/main/resources/assets/nochatreports/lang/en_us.json index 621e66c..a7893ed 100644 --- a/src/main/resources/assets/nochatreports/lang/en_us.json +++ b/src/main/resources/assets/nochatreports/lang/en_us.json @@ -43,5 +43,6 @@ "option.NoChatReports.whitelistedServers":"Whitelisted servers", "option.NoChatReports.whitelistedServers.tooltip":"Current list of whitelisted unsafe servers.\nUsed on client to remember which servers user disabled unsafety warnings for.", "option.NoChatReports.whitelistedServers.addButtonTooltip":"Add server", - "option.NoChatReports.whitelistedServers.removeButtonTooltip":"Remove server" + "option.NoChatReports.whitelistedServers.removeButtonTooltip":"Remove server", + "option.NoChatReports.whitelistedServers.instructions":"When adding a server click below Whitelisted servers to type in the field." }
\ No newline at end of file |
