Tweak config

This commit is contained in:
Draycia committed 2020-07-25 22:56:51 -07:00
1 parent 19342a49e3
commit e111416717
2 files changed
+5 -5

No files matched your search

@@ -23,7 +23,7 @@ public class EmptyChatHandler implements Listener {
if (event.getRecipients().size() == 1 && event.getUser().equals(event.getRecipients().get(0))) { if (event.getRecipients().size() == 1 && event.getUser().equals(event.getRecipients().get(0))) {
String message = simpleChat.getConfig().getString("language.empty-channel"); String message = simpleChat.getConfig().getString("language.empty-channel");
if (message == null || message.isEmpty()) { if (message == null || message.isEmpty() || message.equalsIgnoreCase("NONE")) {
return; return;
} }
@@ -58,15 +58,15 @@ formatting:
type: 'MiniMessage' type: 'MiniMessage'
language: language:
# The following messages are only compatible with MiniMessage # The following messages are only compatible with MiniMessage/MineDown
reloaded: '<yellow>Chat config has been reloaded!' reloaded: '<yellow>Chat config has been reloaded!'
message-to-other: '<green>[<gray>Me <gold>-> <gray><target><green>] <message>' message-to-other: '<green>[<gray>Me <gold>-> <gray><target><green>] <message>'
message-from-other: '<green>[<gray><sender> <gold>-> <gray>Me<green>] <message>' message-from-other: '<green>[<gray><sender> <gold>-> <gray>Me<green>] <message>'
spy-whispers: '<yellow>Spy [<gray><sender> <gold>-> <gray><target><yellow>] <message>' spy-whispers: '<yellow>Spy [<gray><sender> <gold>-> <gray><target><yellow>] <message>'
no-reply-target: '<red>You have no one to reply to!' no-reply-target: '<red>You have no one to reply to!'
empty-channel: '<green>Nobody is around to hear you!' #<channel> empty-channel: 'NONE' #<channel>, set to "NONE" to disable
# The following messages are compatible with PlaceholderAPI and MiniMessage # The following messages are compatible with PlaceholderAPI and MiniMessage/MineDown
me: '<italic><dark_purple>*%player_displayname% <pre><message></pre>*</dark_purple></italic>' me: '<italic><dark_purple>*%player_displayname% <pre><message></pre>*</dark_purple></italic>'
ignoring-user: '<green>You are now ignoring <gold><player><green>!' ignoring-user: '<green>You are now ignoring <gold><player><green>!'
not-ignoring-user: '<green>You are no longer ignoring <gold><player><green>!' not-ignoring-user: '<green>You are no longer ignoring <gold><player><green>!'
@@ -81,7 +81,7 @@ language:
server-name: 'Server' server-name: 'Server'
item-link-placeholders: item-link-placeholders:
- '[item]' # cursed placeholder do not use - '[item]'
- '%item%' - '%item%'
spy-prefix: '<color>[SPY] ' spy-prefix: '<color>[SPY] '