0

Initial commit

This commit is contained in:
Pepich
2017-02-01 11:48:49 +01:00
commit bf06c10772
15 changed files with 754 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
package com.redstoner.modules.adminchat;
import com.redstoner.annotations.AutoRegisterEvents;
import com.redstoner.annotations.Version;
import com.redstoner.modules.Module;
/** AdminChat module. Allows staff to chat to other staff using /ac \<message\> as well as a one char prefix or a toggle.
*
* @author Pepich */
@AutoRegisterEvents
@Version(major = 1, minor = 0, revision = 0, compatible = 1)
public class Adminchat implements Module
{
private boolean enabled = false;
@Override
public void onEnable()
{
this.enabled = true;
}
@Override
public void onDisable()
{
this.enabled = false;
}
@Override
public boolean enabled()
{
return enabled;
}
@Override
public String getCommandString()
{
return null;
}
}