Add descriptions to all gm 2 commands

This commit is contained in:
P0nk
2021-04-06 19:51:20 +02:00
parent 3cd23a07e2
commit a9b23552b0
37 changed files with 103 additions and 103 deletions

View File

@@ -23,14 +23,14 @@
*/ */
package client.command.commands.gm2; package client.command.commands.gm2;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
import config.YamlConfig; import config.YamlConfig;
public class ApCommand extends Command { public class ApCommand extends Command {
{ {
setDescription(""); setDescription("Set available AP.");
} }
@Override @Override

View File

@@ -23,16 +23,16 @@
*/ */
package client.command.commands.gm2; package client.command.commands.gm2;
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.life.MapleLifeFactory; import server.life.MapleLifeFactory;
import tools.MaplePacketCreator; import tools.MaplePacketCreator;
public class BombCommand extends Command { public class BombCommand extends Command {
{ {
setDescription(""); setDescription("Bomb a player, dealing damage.");
} }
@Override @Override

View File

@@ -23,15 +23,15 @@
*/ */
package client.command.commands.gm2; package client.command.commands.gm2;
import client.MapleCharacter;
import client.MapleClient;
import client.Skill; import client.Skill;
import client.SkillFactory; import client.SkillFactory;
import client.command.Command; import client.command.Command;
import client.MapleClient;
import client.MapleCharacter;
public class BuffCommand extends Command { public class BuffCommand extends Command {
{ {
setDescription(""); setDescription("Activate a buff.");
} }
@Override @Override

View File

@@ -23,14 +23,14 @@
*/ */
package client.command.commands.gm2; package client.command.commands.gm2;
import client.MapleCharacter;
import client.MapleClient;
import client.SkillFactory; import client.SkillFactory;
import client.command.Command; import client.command.Command;
import client.MapleClient;
import client.MapleCharacter;
public class BuffMapCommand extends Command { public class BuffMapCommand extends Command {
{ {
setDescription(""); setDescription("Give GM buffs to the whole map.");
} }
@Override @Override

View File

@@ -23,13 +23,13 @@
*/ */
package client.command.commands.gm2; package client.command.commands.gm2;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
public class ClearDropsCommand extends Command { public class ClearDropsCommand extends Command {
{ {
setDescription(""); setDescription("Clear drops by player.");
} }
@Override @Override

View File

@@ -23,14 +23,14 @@
*/ */
package client.command.commands.gm2; package client.command.commands.gm2;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
import server.maps.SavedLocationType; import server.maps.SavedLocationType;
public class ClearSavedLocationsCommand extends Command { public class ClearSavedLocationsCommand extends Command {
{ {
setDescription(""); setDescription("Clear saved locations for a player.");
} }
@Override @Override

View File

@@ -23,16 +23,16 @@
*/ */
package client.command.commands.gm2; package client.command.commands.gm2;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
import client.inventory.Item; import client.inventory.Item;
import client.inventory.MapleInventoryType; import client.inventory.MapleInventoryType;
import client.inventory.manipulator.MapleInventoryManipulator; import client.inventory.manipulator.MapleInventoryManipulator;
public class ClearSlotCommand extends Command { public class ClearSlotCommand extends Command {
{ {
setDescription(""); setDescription("Clear all items in an inventory tab.");
} }
@Override @Override

View File

@@ -23,13 +23,13 @@
*/ */
package client.command.commands.gm2; package client.command.commands.gm2;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
public class DcCommand extends Command { public class DcCommand extends Command {
{ {
setDescription(""); setDescription("Disconnect a player.");
} }
@Override @Override

View File

@@ -23,14 +23,14 @@
*/ */
package client.command.commands.gm2; package client.command.commands.gm2;
import client.MapleCharacter;
import client.MapleClient;
import client.SkillFactory; import client.SkillFactory;
import client.command.Command; import client.command.Command;
import client.MapleClient;
import client.MapleCharacter;
public class EmpowerMeCommand extends Command { public class EmpowerMeCommand extends Command {
{ {
setDescription(""); setDescription("Activate all useful buffs.");
} }
@Override @Override

View File

@@ -28,7 +28,7 @@ import client.command.Command;
*/ */
public class GachaListCommand extends Command { public class GachaListCommand extends Command {
{ {
setDescription(""); setDescription("Show gachapon rewards.");
} }
@Override @Override

View File

@@ -23,14 +23,13 @@
*/ */
package client.command.commands.gm2; package client.command.commands.gm2;
import client.command.Command;
import client.MapleClient; import client.MapleClient;
import client.MapleCharacter; import client.command.Command;
import server.MapleShopFactory; import server.MapleShopFactory;
public class GmShopCommand extends Command { public class GmShopCommand extends Command {
{ {
setDescription(""); setDescription("Open the GM shop.");
} }
@Override @Override

View File

@@ -23,13 +23,13 @@
*/ */
package client.command.commands.gm2; package client.command.commands.gm2;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
public class HealCommand extends Command { public class HealCommand extends Command {
{ {
setDescription(""); setDescription("Fully heal your HP/MP.");
} }
@Override @Override

View File

@@ -23,14 +23,14 @@
*/ */
package client.command.commands.gm2; package client.command.commands.gm2;
import client.MapleCharacter;
import client.MapleClient;
import client.SkillFactory; import client.SkillFactory;
import client.command.Command; import client.command.Command;
import client.MapleClient;
import client.MapleCharacter;
public class HideCommand extends Command { public class HideCommand extends Command {
{ {
setDescription(""); setDescription("Hide from players.");
} }
@Override @Override

View File

@@ -3,17 +3,19 @@ package client.command.commands.gm2;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient; import client.MapleClient;
import client.command.Command; import client.command.Command;
import server.ThreadManager;
import tools.exceptions.IdTypeNotSupportedException; import tools.exceptions.IdTypeNotSupportedException;
import java.io.BufferedReader; import java.io.BufferedReader;
import java.io.FileReader; import java.io.FileReader;
import java.io.IOException; import java.io.IOException;
import java.util.*; import java.util.Arrays;
import server.ThreadManager; import java.util.HashMap;
import java.util.Map;
public class IdCommand extends Command { public class IdCommand extends Command {
{ {
setDescription(""); setDescription("Search in handbook.");
} }
private final Map<String, String> handbookDirectory = new HashMap<>(); private final Map<String, String> handbookDirectory = new HashMap<>();

View File

@@ -23,9 +23,9 @@
*/ */
package client.command.commands.gm2; package client.command.commands.gm2;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
import client.inventory.MaplePet; import client.inventory.MaplePet;
import client.inventory.manipulator.MapleInventoryManipulator; import client.inventory.manipulator.MapleInventoryManipulator;
import config.YamlConfig; import config.YamlConfig;
@@ -34,7 +34,7 @@ import server.MapleItemInformationProvider;
public class ItemCommand extends Command { public class ItemCommand extends Command {
{ {
setDescription(""); setDescription("Spawn an item into your inventory.");
} }
@Override @Override

View File

@@ -23,9 +23,9 @@
*/ */
package client.command.commands.gm2; package client.command.commands.gm2;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
import client.inventory.Item; import client.inventory.Item;
import client.inventory.MapleInventoryType; import client.inventory.MapleInventoryType;
import client.inventory.MaplePet; import client.inventory.MaplePet;
@@ -35,7 +35,7 @@ import server.MapleItemInformationProvider;
public class ItemDropCommand extends Command { public class ItemDropCommand extends Command {
{ {
setDescription(""); setDescription("Spawn an item onto the ground.");
} }
@Override @Override

View File

@@ -23,15 +23,15 @@
*/ */
package client.command.commands.gm2; package client.command.commands.gm2;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import server.maps.MaplePortal; import client.MapleClient;
import client.command.Command;
import server.maps.MapleMap; import server.maps.MapleMap;
import server.maps.MaplePortal;
public class JailCommand extends Command { public class JailCommand extends Command {
{ {
setDescription(""); setDescription("Move a player to the jail.");
} }
@Override @Override

View File

@@ -23,14 +23,14 @@
*/ */
package client.command.commands.gm2; package client.command.commands.gm2;
import client.MapleCharacter;
import client.MapleClient;
import client.MapleJob; import client.MapleJob;
import client.command.Command; import client.command.Command;
import client.MapleClient;
import client.MapleCharacter;
public class JobCommand extends Command { public class JobCommand extends Command {
{ {
setDescription(""); setDescription("Change job of a player.");
} }
@Override @Override

View File

@@ -23,14 +23,14 @@
*/ */
package client.command.commands.gm2; package client.command.commands.gm2;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
import config.YamlConfig; import config.YamlConfig;
public class LevelCommand extends Command { public class LevelCommand extends Command {
{ {
setDescription(""); setDescription("Set your level.");
} }
@Override @Override

View File

@@ -23,13 +23,13 @@
*/ */
package client.command.commands.gm2; package client.command.commands.gm2;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
public class LevelProCommand extends Command { public class LevelProCommand extends Command {
{ {
setDescription(""); setDescription("Set your level, one by one.");
} }
@Override @Override

View File

@@ -32,7 +32,7 @@ import java.io.File;
public class MaxSkillCommand extends Command { public class MaxSkillCommand extends Command {
{ {
setDescription(""); setDescription("Max out all job skills.");
} }
@Override @Override

View File

@@ -23,15 +23,15 @@
*/ */
package client.command.commands.gm2; package client.command.commands.gm2;
import client.MapleCharacter;
import client.MapleClient;
import client.MapleStat; import client.MapleStat;
import client.command.Command; import client.command.Command;
import client.MapleClient;
import client.MapleCharacter;
import config.YamlConfig; import config.YamlConfig;
public class MaxStatCommand extends Command { public class MaxStatCommand extends Command {
{ {
setDescription(""); setDescription("Max out all character stats.");
} }
@Override @Override

View File

@@ -23,14 +23,14 @@
*/ */
package client.command.commands.gm2; package client.command.commands.gm2;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
import server.maps.MapleMap; import server.maps.MapleMap;
public class ReachCommand extends Command { public class ReachCommand extends Command {
{ {
setDescription(""); setDescription("Warp to a player.");
} }
@Override @Override

View File

@@ -24,8 +24,8 @@
package client.command.commands.gm2; package client.command.commands.gm2;
import client.MapleCharacter; import client.MapleCharacter;
import client.command.Command;
import client.MapleClient; import client.MapleClient;
import client.command.Command;
import client.inventory.Item; import client.inventory.Item;
import client.inventory.MapleInventoryType; import client.inventory.MapleInventoryType;
import constants.inventory.ItemConstants; import constants.inventory.ItemConstants;
@@ -33,7 +33,7 @@ import server.MapleItemInformationProvider;
public class RechargeCommand extends Command { public class RechargeCommand extends Command {
{ {
setDescription(""); setDescription("Recharge and refill all USE items.");
} }
@Override @Override

View File

@@ -32,7 +32,7 @@ import java.io.File;
public class ResetSkillCommand extends Command { public class ResetSkillCommand extends Command {
{ {
setDescription(""); setDescription("Set all skill levels to 0.");
} }
@Override @Override

View File

@@ -23,20 +23,18 @@
*/ */
package client.command.commands.gm2; package client.command.commands.gm2;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
import provider.MapleData; import provider.MapleData;
import provider.MapleDataProvider; import provider.MapleDataProvider;
import provider.MapleDataProviderFactory; import provider.MapleDataProviderFactory;
import provider.MapleDataTool; import provider.MapleDataTool;
import server.MapleItemInformationProvider; import server.MapleItemInformationProvider;
import server.quest.MapleQuest; import server.quest.MapleQuest;
import tools.MaplePacketCreator;
import tools.Pair; import tools.Pair;
import java.io.File; import java.io.File;
import java.util.List;
public class SearchCommand extends Command { public class SearchCommand extends Command {
private static MapleData npcStringData; private static MapleData npcStringData;
@@ -45,7 +43,7 @@ public class SearchCommand extends Command {
private static MapleData mapStringData; private static MapleData mapStringData;
{ {
setDescription(""); setDescription("Search String.wz.");
MapleDataProvider dataProvider = MapleDataProviderFactory.getDataProvider(new File("wz/String.wz")); MapleDataProvider dataProvider = MapleDataProviderFactory.getDataProvider(new File("wz/String.wz"));
npcStringData = dataProvider.getData("Npc.img"); npcStringData = dataProvider.getData("Npc.img");

View File

@@ -23,12 +23,13 @@
*/ */
package client.command.commands.gm2; package client.command.commands.gm2;
import client.*; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command; import client.command.Command;
public class SetSlotCommand extends Command { public class SetSlotCommand extends Command {
{ {
setDescription(""); setDescription("Set amount of inventory slots in all tabs.");
} }
@Override @Override

View File

@@ -23,13 +23,13 @@
*/ */
package client.command.commands.gm2; package client.command.commands.gm2;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
public class SetStatCommand extends Command { public class SetStatCommand extends Command {
{ {
setDescription(""); setDescription("Set all primary stats to new value.");
} }
@Override @Override

View File

@@ -23,14 +23,14 @@
*/ */
package client.command.commands.gm2; package client.command.commands.gm2;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
import config.YamlConfig; import config.YamlConfig;
public class SpCommand extends Command { public class SpCommand extends Command {
{ {
setDescription(""); setDescription("Set available SP.");
} }
@Override @Override

View File

@@ -23,16 +23,16 @@
*/ */
package client.command.commands.gm2; package client.command.commands.gm2;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import server.maps.MapleMap; import client.MapleClient;
import client.command.Command;
import net.server.Server; import net.server.Server;
import net.server.channel.Channel; import net.server.channel.Channel;
import server.maps.MapleMap;
public class SummonCommand extends Command { public class SummonCommand extends Command {
{ {
setDescription(""); setDescription("Move a player to your location.");
} }
@Override @Override

View File

@@ -23,14 +23,13 @@
*/ */
package client.command.commands.gm2; package client.command.commands.gm2;
import client.command.Command;
import client.MapleClient; import client.MapleClient;
import client.MapleCharacter; import client.command.Command;
import tools.MaplePacketCreator; import tools.MaplePacketCreator;
public class UnBugCommand extends Command { public class UnBugCommand extends Command {
{ {
setDescription(""); setDescription("Unbug self.");
} }
@Override @Override

View File

@@ -23,14 +23,14 @@
*/ */
package client.command.commands.gm2; package client.command.commands.gm2;
import client.MapleCharacter;
import client.MapleClient;
import client.SkillFactory; import client.SkillFactory;
import client.command.Command; import client.command.Command;
import client.MapleClient;
import client.MapleCharacter;
public class UnHideCommand extends Command { public class UnHideCommand extends Command {
{ {
setDescription(""); setDescription("Toggle Hide.");
} }
@Override @Override

View File

@@ -23,13 +23,13 @@
*/ */
package client.command.commands.gm2; package client.command.commands.gm2;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
public class UnJailCommand extends Command { public class UnJailCommand extends Command {
{ {
setDescription(""); setDescription("Free a player from jail.");
} }
@Override @Override

View File

@@ -33,7 +33,7 @@ import java.util.Collection;
public class WarpAreaCommand extends Command { public class WarpAreaCommand extends Command {
{ {
setDescription(""); setDescription("Warp all nearby players to a new map.");
} }
@Override @Override

View File

@@ -23,16 +23,16 @@
*/ */
package client.command.commands.gm2; package client.command.commands.gm2;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
import server.maps.FieldLimit; import server.maps.FieldLimit;
import server.maps.MapleMap; import server.maps.MapleMap;
import server.maps.MapleMiniDungeonInfo; import server.maps.MapleMiniDungeonInfo;
public class WarpCommand extends Command { public class WarpCommand extends Command {
{ {
setDescription(""); setDescription("Warp to a map.");
} }
@Override @Override

View File

@@ -32,7 +32,7 @@ import java.util.Collection;
public class WarpMapCommand extends Command { public class WarpMapCommand extends Command {
{ {
setDescription(""); setDescription("Warp all characters on current map to a new map.");
} }
@Override @Override

View File

@@ -23,18 +23,19 @@
*/ */
package client.command.commands.gm2; package client.command.commands.gm2;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
import server.life.MapleMonster; import server.life.MapleMonster;
import server.life.MapleNPC; import server.life.MapleNPC;
import server.life.MaplePlayerNPC; import server.life.MaplePlayerNPC;
import server.maps.MapleMapObject; import server.maps.MapleMapObject;
import java.util.HashSet; import java.util.HashSet;
public class WhereaMiCommand extends Command { public class WhereaMiCommand extends Command {
{ {
setDescription(""); setDescription("Show info about objects on current map.");
} }
@Override @Override