Added more features to EasyPlugin class
Now using setConfigAutoReload can make the configuration file auto reload and listening by onConfigReload() and onConfigDelete() methods
Code (Java):
@Override
public
void enable
(
)
{
this.
setConfigAutoReload
(
true
)
;
}
@Override
public
void onConfigReload
(
)
{
this.
sendConsole
(
"Config has been reloaded"
)
;
}
@Override
public
void onConfigDelete
(
)
{
this.
sendConsole
(
"Config has been deleted"
)
;
}