File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
src/main/java/me/zetastormy/akropolis/module/modules/chat/groups Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -60,10 +60,16 @@ public void onEnable() {
6060 groupsSection .getKeys (false ).stream ()
6161 .filter (key -> !key .equals ("enabled" ))
6262 .forEach (groupName -> chatGroups .put (groupName , new ChatGroup (groupName ,
63- groupsSection .getString (groupName + ".format" , "No format." ),
63+ groupsSection .getString (
64+ groupName + ".format" ,
65+ String .format ("<red><bold>[Akropolis]</bold> Chat group <yellow>%s</yellow> has no format, check the configuration." , groupName )
66+ ),
6467 groupsSection .getInt (groupName + ".priority" , 0 ),
6568 groupsSection .getInt (groupName + ".cooldown.time" , 0 ),
66- groupsSection .getString (groupName + ".cooldown.message" , "No cooldown message." ),
69+ groupsSection .getString (
70+ groupName + ".cooldown.message" ,
71+ String .format ("<red><bold>[Akropolis]</bold> Chat group <yellow>%s</yellow> has no cooldown message, check the configuration." , groupName )
72+ ),
6773 new Emojis (groupsSection .getConfigurationSection (groupName + ".emojis" )))));
6874 }
6975
You can’t perform that action at this time.
0 commit comments