Added the ability to hide or replace the log message for commands
Mainly used for sensitive information, like passwords
This commit is contained in:
@@ -4,6 +4,7 @@ import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
import com.redstoner.annotations.Version;
|
||||
import com.redstoner.coremods.moduleLoader.ModuleLoader;
|
||||
import com.redstoner.logging.PrivateLogManager;
|
||||
import com.redstoner.misc.mysql.MysqlHandler;
|
||||
|
||||
import net.nemez.chatapi.ChatAPI;
|
||||
@@ -11,7 +12,7 @@ import net.nemez.chatapi.ChatAPI;
|
||||
/** Main class. Duh.
|
||||
*
|
||||
* @author Pepich */
|
||||
@Version(major = 4, minor = 0, revision = 0, compatible = -1)
|
||||
@Version(major = 5, minor = 1, revision = 0, compatible = -1)
|
||||
public class Main extends JavaPlugin
|
||||
{
|
||||
public static JavaPlugin plugin;
|
||||
@@ -20,6 +21,9 @@ public class Main extends JavaPlugin
|
||||
public void onEnable()
|
||||
{
|
||||
plugin = this;
|
||||
|
||||
PrivateLogManager.initialize();
|
||||
|
||||
ChatAPI.initialize(this);
|
||||
// Configger.init();
|
||||
MysqlHandler.init();
|
||||
|
||||
Reference in New Issue
Block a user