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;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
import config.YamlConfig;
public class ApCommand extends Command {
{
setDescription("");
setDescription("Set available AP.");
}
@Override

View File

@@ -23,16 +23,16 @@
*/
package client.command.commands.gm2;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
import net.server.Server;
import server.life.MapleLifeFactory;
import tools.MaplePacketCreator;
public class BombCommand extends Command {
{
setDescription("");
setDescription("Bomb a player, dealing damage.");
}
@Override

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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