Add descriptions to all gm 5 commands

This commit is contained in:
P0nk
2021-04-06 20:05:21 +02:00
parent f25539f389
commit 3b59f95f20
6 changed files with 15 additions and 14 deletions

View File

@@ -23,16 +23,16 @@
*/ */
package client.command.commands.gm5; package client.command.commands.gm5;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
import net.server.Server; import net.server.Server;
import server.maps.MaplePortal;
import server.TimerManager; import server.TimerManager;
import server.life.MapleMonster; import server.life.MapleMonster;
import server.life.SpawnPoint; import server.life.SpawnPoint;
import server.maps.MapleMapObject; import server.maps.MapleMapObject;
import server.maps.MapleMapObjectType; import server.maps.MapleMapObjectType;
import server.maps.MaplePortal;
import server.maps.MapleReactor; import server.maps.MapleReactor;
import java.awt.*; import java.awt.*;
@@ -43,7 +43,7 @@ public class DebugCommand extends Command {
private final static String debugTypes[] = {"monster", "packet", "portal", "spawnpoint", "pos", "map", "mobsp", "event", "areas", "reactors", "servercoupons", "playercoupons", "timer", "marriage", "buff", ""}; private final static String debugTypes[] = {"monster", "packet", "portal", "spawnpoint", "pos", "map", "mobsp", "event", "areas", "reactors", "servercoupons", "playercoupons", "timer", "marriage", "buff", ""};
{ {
setDescription(""); setDescription("Show a debug message.");
} }
@Override @Override

View File

@@ -19,14 +19,15 @@
*/ */
package client.command.commands.gm5; package client.command.commands.gm5;
import java.util.Collection;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command; import client.command.Command;
import constants.game.GameConstants; import constants.game.GameConstants;
import net.server.Server; import net.server.Server;
import net.server.world.World; import net.server.world.World;
import java.util.Collection;
/** /**
* *
* @author Mist * @author Mist
@@ -35,7 +36,7 @@ import net.server.world.World;
*/ */
public class IpListCommand extends Command { public class IpListCommand extends Command {
{ {
setDescription(""); setDescription("Show IP of all players.");
} }
@Override @Override

View File

@@ -23,13 +23,13 @@
*/ */
package client.command.commands.gm5; package client.command.commands.gm5;
import client.command.Command;
import client.MapleClient; import client.MapleClient;
import client.command.Command;
import constants.net.ServerConstants; import constants.net.ServerConstants;
public class SetCommand extends Command { public class SetCommand extends Command {
{ {
setDescription(""); setDescription("Store value in an array, for testing.");
} }
@Override @Override

View File

@@ -23,13 +23,13 @@
*/ */
package client.command.commands.gm5; package client.command.commands.gm5;
import client.command.Command;
import client.MapleClient; import client.MapleClient;
import client.command.Command;
import config.YamlConfig; import config.YamlConfig;
public class ShowMoveLifeCommand extends Command { public class ShowMoveLifeCommand extends Command {
{ {
setDescription(""); setDescription("Toggle show move life in console.");
} }
@Override @Override

View File

@@ -23,13 +23,13 @@
*/ */
package client.command.commands.gm5; package client.command.commands.gm5;
import client.command.Command;
import client.MapleClient; import client.MapleClient;
import client.command.Command;
import config.YamlConfig; import config.YamlConfig;
public class ShowPacketsCommand extends Command { public class ShowPacketsCommand extends Command {
{ {
setDescription(""); setDescription("Toggle show received packets in console.");
} }
@Override @Override

View File

@@ -29,7 +29,7 @@ import net.server.coordinator.session.MapleSessionCoordinator;
*/ */
public class ShowSessionsCommand extends Command { public class ShowSessionsCommand extends Command {
{ {
setDescription(""); setDescription("Show online sessions.");
} }
@Override @Override