diff --git a/src/client/command/CommandsExecutor.java b/src/client/command/CommandsExecutor.java index 975f73fa7f..4f0ee477b7 100644 --- a/src/client/command/CommandsExecutor.java +++ b/src/client/command/CommandsExecutor.java @@ -292,6 +292,7 @@ public class CommandsExecutor { addCommand("pe", 3, PeCommand.class); addCommand("startevent", 3, StartEventCommand.class); addCommand("endevent", 3, EndEventCommand.class); + addCommand("startmapevent", 3, StartMapEventCommand.class); addCommand("online2", 3, OnlineTwoCommand.class); addCommand("warpsnowball", 3, WarpSnowBallCommand.class); addCommand("ban", 3, BanCommand.class); diff --git a/src/client/command/commands/gm3/StartMapEventCommand.java b/src/client/command/commands/gm3/StartMapEventCommand.java new file mode 100644 index 0000000000..7720eb9ab1 --- /dev/null +++ b/src/client/command/commands/gm3/StartMapEventCommand.java @@ -0,0 +1,38 @@ +/* + This file is part of the HeavenMS MapleStory Server, commands OdinMS-based + Copyleft (L) 2016 - 2018 RonanLana + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as + published by the Free Software Foundation version 3 as published by + the Free Software Foundation. You may not use, modify or distribute + this program under any other version of the GNU Affero General Public + License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . +*/ + +/* + @Author: MedicOP - Start actual event +*/ +package client.command.commands.gm3; + +import client.MapleClient; +import client.command.Command; + +public class StartMapEventCommand extends Command { + { + setDescription(""); + } + + @Override + public void execute(MapleClient c, String[] params) { + c.getPlayer().getMap().startEvent(c.getPlayer()); + } +}