1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-09-25 21:59:08 +02:00

Sneaking in an option to disable prefix/suffix selectively.

(This will probably be removed during ess chat rewrite).
This commit is contained in:
KHobbits
2011-10-27 06:17:18 +01:00
parent 32cc1b66a4
commit 04de66bc8a
3 changed files with 29 additions and 5 deletions

View File

@@ -498,6 +498,16 @@ public class Settings implements ISettings
{
return config.getBoolean("add-prefix-suffix", ess.getServer().getPluginManager().isPluginEnabled("EssentialsChat"));
}
public boolean disablePrefix()
{
return config.getBoolean("disablePrefix", false);
}
public boolean disableSuffix()
{
return config.getBoolean("disableSuffix", false);
}
@Override
public boolean isUpdateEnabled()