File tree Expand file tree Collapse file tree
java/dev/tonimatas/perworldplugins/listener Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public void onPluginEnable(PluginEnableEvent event) {
2121 CommandManager .addPluginCommands (event .getPlugin ().getName ());
2222
2323 if (PerWorldPlugins .getInstance ().getConfig ().getStringList ("plugins." + event .getPlugin ().getName ()).isEmpty ()) {
24- PerWorldPlugins .getInstance ().getConfig ().set ("plugins." + event .getPlugin ().getName (), Collections .singletonList ("Example " ));
24+ PerWorldPlugins .getInstance ().getConfig ().set ("plugins." + event .getPlugin ().getName (), Collections .singletonList (":ignore " ));
2525 PerWorldPlugins .getInstance ().saveConfig ();
2626 PerWorldPlugins .getInstance ().reloadConfig ();
2727 }
Original file line number Diff line number Diff line change @@ -14,9 +14,7 @@ blacklist: true
1414plugins :
1515 # For set group set - g:example (example is the name of group)
1616 # Add and edit groups in the groups.yml
17+ # ":ignore" is for ignore this plugin and don't check this.
18+ # In the Example case, the plugin is blocked in "world" (If is the blacklist on true)
1719 Example :
18- - " PutWorldInThisListForDisableThisPluginOnWorld"
1920 - " world"
20- Example2 :
21- # ":ignore" is for ignore this plugin and don't check this.
22- - " ignore:"
You can’t perform that action at this time.
0 commit comments