This commit is contained in:
tyuXX 2026-07-14 20:31:36 +03:00
parent 829ed6d96c
commit f2f89c62bb
15 changed files with 485 additions and 0 deletions

View file

@ -19,6 +19,8 @@ import org.gsdistance.grimmsServer.Commands.GHelpCommand.GHelp;
import org.gsdistance.grimmsServer.Commands.GHelpCommand.GHelpTabCompleter;
import org.gsdistance.grimmsServer.Commands.GLogCommand.GLogBaseCommand;
import org.gsdistance.grimmsServer.Commands.GLogCommand.GLogTabCompleter;
import org.gsdistance.grimmsServer.Commands.GStatsCommand.GStatsBaseCommand;
import org.gsdistance.grimmsServer.Commands.GStatsCommand.GStatsTabCompleter;
import org.gsdistance.grimmsServer.Commands.GUtilCommand.GUtilBaseCommand;
import org.gsdistance.grimmsServer.Commands.GUtilCommand.GUtilTabCompleter;
import org.gsdistance.grimmsServer.Commands.HomeCommand.HomeBaseCommand;
@ -86,6 +88,11 @@ public class CommandRegistry {
gLogCmd.setExecutor(new GLogBaseCommand());
gLogCmd.setTabCompleter(new GLogTabCompleter());
}
PluginCommand gStatsCmd = GrimmsServer.instance.getCommand("gStats");
if (gStatsCmd != null) {
gStatsCmd.setExecutor(new GStatsBaseCommand());
gStatsCmd.setTabCompleter(new GStatsTabCompleter());
}
PluginCommand gDimCmd = GrimmsServer.instance.getCommand("gDim");
if (gDimCmd != null) {
gDimCmd.setExecutor(new GDimBaseCommand());