mirror of
https://github.com/zDevelopers/ImageOnMap.git
synced 2025-01-05 23:37:43 +01:00
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:
parent
5dbfd8caf9
commit
58abd17205
@ -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;
|
||||
|
@ -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);
|
||||
}
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user