Just NAG once, to be nice

By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
Bukkit/Spigot
2011-03-30 00:38:46 +02:00
parent db5dfb3f10
commit 69973b8617
3 changed files with 32 additions and 6 deletions

View File

@@ -68,4 +68,16 @@ public interface Plugin extends CommandExecutor {
* Called when this plugin is enabled
*/
public void onEnable();
/**
* Simple boolean if we can still nag to the logs about things
* @return boolean whether we can nag
*/
public boolean isNaggable();
/**
* Set naggable state
* @param canNag is this plugin still naggable?
*/
public void setNaggable(boolean canNag);
}