Merge pull request #10 from P0nk/command-descriptions

Add descriptions to all in game commands
This commit is contained in:
Ponk
2021-04-06 20:11:05 +02:00
committed by GitHub
172 changed files with 437 additions and 447 deletions

View File

@@ -29,7 +29,7 @@ import client.processor.action.BuybackProcessor;
public class BuyBackCommand extends Command { public class BuyBackCommand extends Command {
{ {
setDescription(""); setDescription("Revive yourself after a death.");
} }
@Override @Override

View File

@@ -23,12 +23,12 @@
*/ */
package client.command.commands.gm0; package client.command.commands.gm0;
import client.command.Command;
import client.MapleClient; import client.MapleClient;
import client.command.Command;
public class ChangeLanguageCommand extends Command { public class ChangeLanguageCommand extends Command {
{ {
setDescription(""); setDescription("Change language settings.");
} }
@Override @Override

View File

@@ -23,15 +23,15 @@
*/ */
package client.command.commands.gm0; package client.command.commands.gm0;
import client.command.Command;
import client.MapleClient; import client.MapleClient;
import client.command.Command;
import scripting.npc.NPCScriptManager; import scripting.npc.NPCScriptManager;
import scripting.quest.QuestScriptManager; import scripting.quest.QuestScriptManager;
import tools.MaplePacketCreator; import tools.MaplePacketCreator;
public class DisposeCommand extends Command { public class DisposeCommand extends Command {
{ {
setDescription(""); setDescription("Dispose to fix NPC chat.");
} }
@Override @Override

View File

@@ -29,7 +29,7 @@ import config.YamlConfig;
public class DropLimitCommand extends Command { public class DropLimitCommand extends Command {
{ {
setDescription(""); setDescription("Check drop limit of current map.");
} }
@Override @Override

View File

@@ -23,13 +23,13 @@
*/ */
package client.command.commands.gm0; package client.command.commands.gm0;
import client.command.Command;
import client.MapleClient; import client.MapleClient;
import client.command.Command;
import net.server.coordinator.login.MapleLoginBypassCoordinator; import net.server.coordinator.login.MapleLoginBypassCoordinator;
public class EnableAuthCommand extends Command { public class EnableAuthCommand extends Command {
{ {
setDescription(""); setDescription("Enable PIC code by resetting the cooldown.");
} }
@Override @Override

View File

@@ -23,12 +23,12 @@
*/ */
package client.command.commands.gm0; package client.command.commands.gm0;
import client.command.Command;
import client.MapleClient; import client.MapleClient;
import client.command.Command;
public class EquipLvCommand extends Command { public class EquipLvCommand extends Command {
{ {
setDescription(""); setDescription("Show levels of all equipped items.");
} }
@Override @Override

View File

@@ -23,14 +23,14 @@
*/ */
package client.command.commands.gm0; package client.command.commands.gm0;
import client.command.Command;
import client.MapleClient; import client.MapleClient;
import client.command.Command;
import server.MapleItemInformationProvider; import server.MapleItemInformationProvider;
import server.gachapon.MapleGachapon; import server.gachapon.MapleGachapon;
public class GachaCommand extends Command { public class GachaCommand extends Command {
{ {
setDescription(""); setDescription("Show gachapon rewards.");
} }
@Override @Override

View File

@@ -24,8 +24,8 @@
package client.command.commands.gm0; package client.command.commands.gm0;
import client.MapleCharacter; import client.MapleCharacter;
import client.command.Command;
import client.MapleClient; import client.MapleClient;
import client.command.Command;
import net.server.Server; import net.server.Server;
import tools.FilePrinter; import tools.FilePrinter;
import tools.MaplePacketCreator; import tools.MaplePacketCreator;
@@ -33,7 +33,7 @@ import tools.Randomizer;
public class GmCommand extends Command { public class GmCommand extends Command {
{ {
setDescription(""); setDescription("Send a message to the game masters.");
} }
@Override @Override

View File

@@ -28,7 +28,7 @@ import client.command.Command;
public class HelpCommand extends Command { public class HelpCommand extends Command {
{ {
setDescription(""); setDescription("Show available commands.");
} }
@Override @Override

View File

@@ -24,14 +24,14 @@
package client.command.commands.gm0; package client.command.commands.gm0;
import client.MapleCharacter; import client.MapleCharacter;
import client.command.Command;
import client.MapleClient; import client.MapleClient;
import client.command.Command;
import server.events.gm.MapleEvent; import server.events.gm.MapleEvent;
import server.maps.FieldLimit; import server.maps.FieldLimit;
public class JoinEventCommand extends Command { public class JoinEventCommand extends Command {
{ {
setDescription(""); setDescription("Join active event.");
} }
@Override @Override

View File

@@ -24,12 +24,12 @@
package client.command.commands.gm0; package client.command.commands.gm0;
import client.MapleCharacter; import client.MapleCharacter;
import client.command.Command;
import client.MapleClient; import client.MapleClient;
import client.command.Command;
public class LeaveEventCommand extends Command { public class LeaveEventCommand extends Command {
{ {
setDescription(""); setDescription("Leave active event.");
} }
@Override @Override

View File

@@ -23,15 +23,15 @@
*/ */
package client.command.commands.gm0; package client.command.commands.gm0;
import client.command.Command;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient; import client.MapleClient;
import client.command.Command;
import config.YamlConfig; import config.YamlConfig;
import server.maps.MapleMap; import server.maps.MapleMap;
public class MapOwnerClaimCommand extends Command { public class MapOwnerClaimCommand extends Command {
{ {
setDescription(""); setDescription("Claim ownership of the current map.");
} }
@Override @Override

View File

@@ -24,14 +24,14 @@
package client.command.commands.gm0; package client.command.commands.gm0;
import client.MapleCharacter; import client.MapleCharacter;
import client.command.Command;
import client.MapleClient; 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;
public class OnlineCommand extends Command { public class OnlineCommand extends Command {
{ {
setDescription(""); setDescription("Show all online players.");
} }
@Override @Override

View File

@@ -24,17 +24,17 @@
package client.command.commands.gm0; package client.command.commands.gm0;
import client.MapleCharacter; import client.MapleCharacter;
import client.command.Command;
import client.MapleClient; import client.MapleClient;
import client.command.Command;
import net.server.Server; import net.server.Server;
import tools.MaplePacketCreator; import tools.MaplePacketCreator;
import tools.Pair;
import java.util.List; import java.util.List;
import tools.Pair;
public class RanksCommand extends Command { public class RanksCommand extends Command {
{ {
setDescription(""); setDescription("Show player rankings.");
} }
@Override @Override

View File

@@ -24,13 +24,13 @@
package client.command.commands.gm0; package client.command.commands.gm0;
import client.MapleCharacter; import client.MapleCharacter;
import client.command.Command;
import client.MapleClient; import client.MapleClient;
import client.command.Command;
import config.YamlConfig; import config.YamlConfig;
public class RatesCommand extends Command { public class RatesCommand extends Command {
{ {
setDescription(""); setDescription("Show your rates.");
} }
@Override @Override

View File

@@ -6,7 +6,7 @@ import client.command.Command;
public class ReadPointsCommand extends Command { public class ReadPointsCommand extends Command {
{ {
setDescription(""); setDescription("Show point total.");
} }
@Override @Override

View File

@@ -24,15 +24,15 @@
package client.command.commands.gm0; package client.command.commands.gm0;
import client.MapleCharacter; import client.MapleCharacter;
import client.command.Command;
import client.MapleClient; import client.MapleClient;
import client.command.Command;
import net.server.Server; import net.server.Server;
import tools.FilePrinter; import tools.FilePrinter;
import tools.MaplePacketCreator; import tools.MaplePacketCreator;
public class ReportBugCommand extends Command { public class ReportBugCommand extends Command {
{ {
setDescription(""); setDescription("Send in a bug report.");
} }
@Override @Override

View File

@@ -24,13 +24,13 @@
package client.command.commands.gm0; package client.command.commands.gm0;
import client.MapleCharacter; import client.MapleCharacter;
import client.command.Command;
import client.MapleClient; import client.MapleClient;
import client.command.Command;
import config.YamlConfig; import config.YamlConfig;
public class ShowRatesCommand extends Command { public class ShowRatesCommand extends Command {
{ {
setDescription(""); setDescription("Show all world/character rates.");
} }
@Override @Override

View File

@@ -28,7 +28,7 @@ import client.command.Command;
public class StaffCommand extends Command { public class StaffCommand extends Command {
{ {
setDescription(""); setDescription("Show credits. These people made the server possible.");
} }
@Override @Override

View File

@@ -30,7 +30,7 @@ import config.YamlConfig;
public class StatDexCommand extends Command { public class StatDexCommand extends Command {
{ {
setDescription(""); setDescription("Assign AP into DEX.");
} }
@Override @Override

View File

@@ -23,14 +23,14 @@
*/ */
package client.command.commands.gm0; package client.command.commands.gm0;
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 StatIntCommand extends Command { public class StatIntCommand extends Command {
{ {
setDescription(""); setDescription("Assign AP into INT.");
} }
@Override @Override

View File

@@ -30,7 +30,7 @@ import config.YamlConfig;
public class StatLukCommand extends Command { public class StatLukCommand extends Command {
{ {
setDescription(""); setDescription("Assign AP into LUK.");
} }
@Override @Override

View File

@@ -23,14 +23,14 @@
*/ */
package client.command.commands.gm0; package client.command.commands.gm0;
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 StatStrCommand extends Command { public class StatStrCommand extends Command {
{ {
setDescription(""); setDescription("Assign AP into STR.");
} }
@Override @Override

View File

@@ -33,7 +33,7 @@ import java.util.TimeZone;
public class TimeCommand extends Command { public class TimeCommand extends Command {
{ {
setDescription(""); setDescription("Show current server time.");
} }
@Override @Override

View File

@@ -23,12 +23,12 @@
*/ */
package client.command.commands.gm0; package client.command.commands.gm0;
import client.command.Command;
import client.MapleClient; import client.MapleClient;
import client.command.Command;
public class ToggleExpCommand extends Command { public class ToggleExpCommand extends Command {
{ {
setDescription(""); setDescription("Toggle enable/disable all exp gain.");
} }
@Override @Override

View File

@@ -23,13 +23,13 @@
*/ */
package client.command.commands.gm0; package client.command.commands.gm0;
import client.command.Command;
import client.MapleClient; import client.MapleClient;
import client.command.Command;
import net.server.Server; import net.server.Server;
public class UptimeCommand extends Command { public class UptimeCommand extends Command {
{ {
setDescription(""); setDescription("Show server online time.");
} }
@Override @Override

View File

@@ -24,13 +24,13 @@
package client.command.commands.gm1; package client.command.commands.gm1;
import client.MapleCharacter; import client.MapleCharacter;
import client.command.Command;
import client.MapleClient; import client.MapleClient;
import client.command.Command;
import server.life.MapleMonster; import server.life.MapleMonster;
public class BossHpCommand extends Command { public class BossHpCommand extends Command {
{ {
setDescription(""); setDescription("Show HP of bosses on current map.");
} }
@Override @Override

View File

@@ -24,13 +24,13 @@
package client.command.commands.gm1; package client.command.commands.gm1;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.SkillFactory; import client.SkillFactory;
import client.command.Command; import client.command.Command;
import client.MapleClient;
public class BuffMeCommand extends Command { public class BuffMeCommand extends Command {
{ {
setDescription(""); setDescription("Activate GM buffs on self.");
} }
@Override @Override

View File

@@ -24,27 +24,18 @@
package client.command.commands.gm1; package client.command.commands.gm1;
import client.MapleCharacter; import client.MapleCharacter;
import client.command.Command;
import client.MapleClient; import client.MapleClient;
import client.command.Command;
import constants.game.GameConstants; import constants.game.GameConstants;
import java.util.ArrayList; import server.maps.*;
import java.util.Collections;
import server.maps.MaplePortal;
import server.maps.FieldLimit;
import server.maps.MapleMap;
import server.maps.MapleMapFactory;
import server.maps.MapleMiniDungeonInfo;
import java.util.Comparator; import java.util.*;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry; import java.util.Map.Entry;
public class GotoCommand extends Command { public class GotoCommand extends Command {
{ {
setDescription(""); setDescription("Warp to a predefined map.");
List<Entry<String, Integer>> towns = new ArrayList<>(GameConstants.GOTO_TOWNS.entrySet()); List<Entry<String, Integer>> towns = new ArrayList<>(GameConstants.GOTO_TOWNS.entrySet());
sortGotoEntries(towns); sortGotoEntries(towns);

View File

@@ -24,13 +24,13 @@
package client.command.commands.gm1; package client.command.commands.gm1;
import client.MapleCharacter; import client.MapleCharacter;
import client.command.Command;
import client.MapleClient; import client.MapleClient;
import client.command.Command;
import server.life.MapleMonster; import server.life.MapleMonster;
public class MobHpCommand extends Command { public class MobHpCommand extends Command {
{ {
setDescription(""); setDescription("Show HP of mobs on current map.");
} }
@Override @Override

View File

@@ -24,8 +24,8 @@
package client.command.commands.gm1; package client.command.commands.gm1;
import client.MapleCharacter; import client.MapleCharacter;
import client.command.Command;
import client.MapleClient; import client.MapleClient;
import client.command.Command;
import server.MapleItemInformationProvider; import server.MapleItemInformationProvider;
import server.life.MapleMonsterInformationProvider; import server.life.MapleMonsterInformationProvider;
import server.life.MonsterDropEntry; import server.life.MonsterDropEntry;
@@ -35,7 +35,7 @@ import java.util.Iterator;
public class WhatDropsFromCommand extends Command { public class WhatDropsFromCommand extends Command {
{ {
setDescription(""); setDescription("Show what items drop from a mob.");
} }
@Override @Override

View File

@@ -38,7 +38,7 @@ import java.util.Iterator;
public class WhoDropsCommand extends Command { public class WhoDropsCommand extends Command {
{ {
setDescription(""); setDescription("Show what drops an item.");
} }
@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 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

View File

@@ -37,7 +37,7 @@ import java.sql.SQLException;
public class BanCommand extends Command { public class BanCommand extends Command {
{ {
setDescription(""); setDescription("Ban a player.");
} }
@Override @Override

View File

@@ -23,13 +23,13 @@
*/ */
package client.command.commands.gm3; package client.command.commands.gm3;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
public class ChatCommand extends Command { public class ChatCommand extends Command {
{ {
setDescription(""); setDescription("Toggle white GM chat.");
} }
@Override @Override

View File

@@ -24,13 +24,13 @@
package client.command.commands.gm3; package client.command.commands.gm3;
import client.MapleBuffStat; import client.MapleBuffStat;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
public class CheckDmgCommand extends Command { public class CheckDmgCommand extends Command {
{ {
setDescription(""); setDescription("Show stats and damage of a player.");
} }
@Override @Override

View File

@@ -23,13 +23,13 @@
*/ */
package client.command.commands.gm3; package client.command.commands.gm3;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
public class ClosePortalCommand extends Command { public class ClosePortalCommand extends Command {
{ {
setDescription(""); setDescription("Close a portal.");
} }
@Override @Override

View File

@@ -23,10 +23,10 @@
*/ */
package client.command.commands.gm3; package client.command.commands.gm3;
import client.MapleCharacter;
import client.MapleClient;
import client.MapleDisease; import client.MapleDisease;
import client.command.Command; import client.command.Command;
import client.MapleClient;
import client.MapleCharacter;
import server.life.MobSkill; import server.life.MobSkill;
import server.life.MobSkillFactory; import server.life.MobSkillFactory;
import server.maps.MapleMapObject; import server.maps.MapleMapObject;
@@ -36,7 +36,7 @@ import java.util.Arrays;
public class DebuffCommand extends Command { public class DebuffCommand extends Command {
{ {
setDescription(""); setDescription("Put a debuff on all nearby players.");
} }
@Override @Override

View File

@@ -23,13 +23,13 @@
*/ */
package client.command.commands.gm3; package client.command.commands.gm3;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
public class EndEventCommand extends Command { public class EndEventCommand extends Command {
{ {
setDescription(""); setDescription("Close entry for ongoing event.");
} }
@Override @Override

View File

@@ -23,9 +23,9 @@
*/ */
package client.command.commands.gm3; package client.command.commands.gm3;
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 net.server.channel.Channel; import net.server.channel.Channel;
import server.expeditions.MapleExpedition; import server.expeditions.MapleExpedition;
@@ -35,7 +35,7 @@ import java.util.Map.Entry;
public class ExpedsCommand extends Command { public class ExpedsCommand extends Command {
{ {
setDescription(""); setDescription("Show all ongoing boss expeditions.");
} }
@Override @Override

View File

@@ -23,16 +23,16 @@
*/ */
package client.command.commands.gm3; package client.command.commands.gm3;
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 constants.inventory.ItemConstants; import constants.inventory.ItemConstants;
import server.MapleItemInformationProvider; import server.MapleItemInformationProvider;
public class FaceCommand extends Command { public class FaceCommand extends Command {
{ {
setDescription(""); setDescription("Change face of a player.");
} }
@Override @Override

View File

@@ -23,14 +23,14 @@
*/ */
package client.command.commands.gm3; package client.command.commands.gm3;
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;
public class FameCommand extends Command { public class FameCommand extends Command {
{ {
setDescription(""); setDescription("Set new fame value of a player.");
} }
@Override @Override

View File

@@ -23,14 +23,14 @@
*/ */
package client.command.commands.gm3; package client.command.commands.gm3;
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;
public class FlyCommand extends Command { public class FlyCommand extends Command {
{ {
setDescription(""); setDescription("Enable/disable fly feature.");
} }
@Override @Override

View File

@@ -23,13 +23,13 @@
*/ */
package client.command.commands.gm3; package client.command.commands.gm3;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
public class GiveMesosCommand extends Command { public class GiveMesosCommand extends Command {
{ {
setDescription(""); setDescription("Give mesos to a player.");
} }
@Override @Override

View File

@@ -23,13 +23,13 @@
*/ */
package client.command.commands.gm3; package client.command.commands.gm3;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
public class GiveNxCommand extends Command { public class GiveNxCommand extends Command {
{ {
setDescription(""); setDescription("Give NX to a player.");
} }
@Override @Override

View File

@@ -6,7 +6,7 @@ import client.command.Command;
public class GiveRpCommand extends Command { public class GiveRpCommand extends Command {
{ {
setDescription(""); setDescription("Give reward points to a player.");
} }
@Override @Override

View File

@@ -23,13 +23,13 @@
*/ */
package client.command.commands.gm3; package client.command.commands.gm3;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
public class GiveVpCommand extends Command { public class GiveVpCommand extends Command {
{ {
setDescription(""); setDescription("Give vote points to a player.");
} }
@Override @Override

View File

@@ -23,16 +23,16 @@
*/ */
package client.command.commands.gm3; package client.command.commands.gm3;
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 constants.inventory.ItemConstants; import constants.inventory.ItemConstants;
import server.MapleItemInformationProvider; import server.MapleItemInformationProvider;
public class HairCommand extends Command { public class HairCommand extends Command {
{ {
setDescription(""); setDescription("Change hair of a player.");
} }
@Override @Override

View File

@@ -23,14 +23,13 @@
*/ */
package client.command.commands.gm3; package client.command.commands.gm3;
import client.MapleStat;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
public class HealMapCommand extends Command { public class HealMapCommand extends Command {
{ {
setDescription(""); setDescription("Heal all HP/MP of all players in the map.");
} }
@Override @Override

View File

@@ -23,14 +23,13 @@
*/ */
package client.command.commands.gm3; package client.command.commands.gm3;
import client.MapleStat;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
public class HealPersonCommand extends Command { public class HealPersonCommand extends Command {
{ {
setDescription(""); setDescription("Heal all HP/MP of a player.");
} }
@Override @Override

View File

@@ -23,13 +23,13 @@
*/ */
package client.command.commands.gm3; package client.command.commands.gm3;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
public class HpMpCommand extends Command { public class HpMpCommand extends Command {
{ {
setDescription(""); setDescription("Set HP/MP of a player.");
} }
@Override @Override

View File

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

View File

@@ -23,16 +23,16 @@
*/ */
package client.command.commands.gm3; package client.command.commands.gm3;
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 tools.MapleLogger; import tools.MapleLogger;
import tools.MaplePacketCreator; import tools.MaplePacketCreator;
public class IgnoreCommand extends Command { public class IgnoreCommand extends Command {
{ {
setDescription(""); setDescription("Toggle enable/disable ignore a player in packet logs and autoban.");
} }
@Override @Override

View File

@@ -23,14 +23,14 @@
*/ */
package client.command.commands.gm3; package client.command.commands.gm3;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
import tools.MapleLogger; import tools.MapleLogger;
public class IgnoredCommand extends Command { public class IgnoredCommand extends Command {
{ {
setDescription(""); setDescription("Show all players being ignored in logs.");
} }
@Override @Override

View File

@@ -23,13 +23,13 @@
*/ */
package client.command.commands.gm3; package client.command.commands.gm3;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
public class InMapCommand extends Command { public class InMapCommand extends Command {
{ {
setDescription(""); setDescription("Show all players in the map.");
} }
@Override @Override

View File

@@ -23,9 +23,9 @@
*/ */
package client.command.commands.gm3; package client.command.commands.gm3;
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.maps.MapleMap; import server.maps.MapleMap;
import server.maps.MapleMapObject; import server.maps.MapleMapObject;
@@ -36,7 +36,7 @@ import java.util.List;
public class KillAllCommand extends Command { public class KillAllCommand extends Command {
{ {
setDescription(""); setDescription("Kill all mobs in the map.");
} }
@Override @Override

View File

@@ -23,15 +23,15 @@
*/ */
package client.command.commands.gm3; package client.command.commands.gm3;
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 tools.MaplePacketCreator; import tools.MaplePacketCreator;
public class KillCommand extends Command { public class KillCommand extends Command {
{ {
setDescription(""); setDescription("Kill a player.");
} }
@Override @Override

View File

@@ -23,13 +23,13 @@
*/ */
package client.command.commands.gm3; package client.command.commands.gm3;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
public class KillMapCommand extends Command { public class KillMapCommand extends Command {
{ {
setDescription(""); setDescription("Kill all players in the map.");
} }
@Override @Override

View File

@@ -23,14 +23,14 @@
*/ */
package client.command.commands.gm3; package client.command.commands.gm3;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
import tools.MaplePacketCreator; import tools.MaplePacketCreator;
public class MaxEnergyCommand extends Command { public class MaxEnergyCommand extends Command {
{ {
setDescription(""); setDescription("Set dojo energy to max value.");
} }
@Override @Override

View File

@@ -23,13 +23,13 @@
*/ */
package client.command.commands.gm3; package client.command.commands.gm3;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
public class MaxHpMpCommand extends Command { public class MaxHpMpCommand extends Command {
{ {
setDescription(""); setDescription("Set base HP/MP of a player.");
} }
@Override @Override

View File

@@ -23,16 +23,16 @@
*/ */
package client.command.commands.gm3; package client.command.commands.gm3;
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 tools.MapleLogger; import tools.MapleLogger;
import tools.MaplePacketCreator; import tools.MaplePacketCreator;
public class MonitorCommand extends Command { public class MonitorCommand extends Command {
{ {
setDescription(""); setDescription("Toggle logging the packets of a player.");
} }
@Override @Override

View File

@@ -23,14 +23,14 @@
*/ */
package client.command.commands.gm3; package client.command.commands.gm3;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
import tools.MapleLogger; import tools.MapleLogger;
public class MonitorsCommand extends Command { public class MonitorsCommand extends Command {
{ {
setDescription(""); setDescription("Show all players having their packets logged.");
} }
@Override @Override

View File

@@ -23,15 +23,15 @@
*/ */
package client.command.commands.gm3; package client.command.commands.gm3;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
import constants.game.GameConstants; import constants.game.GameConstants;
import tools.MaplePacketCreator; import tools.MaplePacketCreator;
public class MusicCommand extends Command { public class MusicCommand extends Command {
{ {
setDescription(""); setDescription("Play a song.");
} }
private static String getSongList() { private static String getSongList() {

View File

@@ -23,13 +23,13 @@
*/ */
package client.command.commands.gm3; package client.command.commands.gm3;
import client.command.Command;
import client.MapleClient;
import client.MapleCharacter; import client.MapleCharacter;
import client.MapleClient;
import client.command.Command;
public class MuteMapCommand extends Command { public class MuteMapCommand extends Command {
{ {
setDescription(""); setDescription("Toggle mute players in the map.");
} }
@Override @Override

Some files were not shown because too many files have changed in this diff Show More