Up
This commit is contained in:
parent
df19d40689
commit
85668b9d93
24 changed files with 217 additions and 55 deletions
|
|
@ -1,12 +1,15 @@
|
|||
package org.gsdistance.grimmsServer.Events;
|
||||
|
||||
import org.gsdistance.grimmsServer.Commands.CommandRegistry;
|
||||
import org.gsdistance.grimmsServer.Commands.LogSelfStatsCommand;
|
||||
import org.gsdistance.grimmsServer.GrimmsServer;
|
||||
|
||||
import java.util.logging.Level;
|
||||
|
||||
public class ServerStartupEvent {
|
||||
|
||||
public static void Event() {
|
||||
GrimmsServer.instance.getCommand("logselfstats").setExecutor(new LogSelfStatsCommand());
|
||||
System.out.println("Grimm's Server has been loaded.");
|
||||
CommandRegistry.registerCommands();
|
||||
GrimmsServer.logger.log(Level.INFO, "GrimmsServer has started successfully.");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue