Use -1 to denote disabled options

This commit is contained in:
Draycia committed 2020-06-13 03:03:24 -07:00
1 parent c4e3a11f10
commit 5a5c721209
2 files changed
+3 -3

No files matched your search

@@ -324,7 +324,7 @@ public class SimpleChatChannel extends ChatChannel {
private boolean isDefault = false;
private boolean ignorable = true;
private String name;
private double distance = 0;
private double distance = -1;
private String switchMessage = "<gray>You are now in <color><channel> <gray>chat!";
private String toggleOffMessage = "<gray>You can no longer see <color><channel> <gray>chat!";
private String toggleOnMessage = "<gray>You can now see <color><channel> <gray>chat!";
+2 -2
View File
@@ -1,6 +1,6 @@
channels:
global:
id: 0 # Set to 0, comment out, or remove to disable channel bridge
id: -1 # Set to -1, comment out, or remove to disable channel bridge
switch-message: '<gray>You are now in <color><channel> <gray>chat!'
toggle-on-message: '<gray>You can now see <color><channel> <gray>chat!'
toggle-off-message: '<gray>You can no longer see <color><channel> <gray>chat!'
@@ -11,4 +11,4 @@ channels:
color: WHITE
default: true
ignorable: true
distance: 0
distance: -1 # Set to -1, comment out, or remove to disable distance checking