Renamed /maptool manage to /maptool explore, and added the /maps alias.

* NEW: /maptool manage is now /maptool explore.
* NEW: added /maps as an alias of /maptool explore.
This commit is contained in:
Amaury Carrade 2015-09-10 16:30:29 +02:00
parent 5dbfd8caf9
commit 58abd17205
3 changed files with 9 additions and 5 deletions

View File

@ -38,10 +38,11 @@ public enum Commands implements TabCompleter, CommandExecutor
DeleteConfirmCommand.class,
DeleteNoConfirmCommand.class,
GetRemainingCommand.class,
ManageCommand.class,
ExploreCommand.class,
MigrateCommand.class
),
TOMAP(MAPTOOL, NewCommand.class, "tomap");
TOMAP(MAPTOOL, NewCommand.class, "tomap"),
MAPS(MAPTOOL, ExploreCommand.class, "maps");
static private final Commands[] commandGroups = Commands.class.getEnumConstants();
private final Commands shortcutCommandGroup;

View File

@ -24,10 +24,10 @@ import fr.moribus.imageonmap.guiproko.list.MapListGui;
import fr.moribus.imageonmap.guiproko.core.Gui;
@CommandInfo(name = "manage")
public class ManageCommand extends Command
@CommandInfo(name = "explore")
public class ExploreCommand extends Command
{
public ManageCommand(Commands commandGroup)
public ExploreCommand(Commands commandGroup)
{
super(commandGroup);
}

View File

@ -8,6 +8,9 @@ commands:
usage: /<command> [URL]
maptool:
description: manage maps
maps:
description: manage maps through a GUI
permissions:
imageonmap.userender:
description: Allows you to use /tomap