mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-12-28 11:59:27 +01:00
Add Help Messages
This commit is contained in:
parent
62037634bc
commit
109cd04034
@ -359,12 +359,15 @@ public class AdvancedPortalsCommand implements CommandExecutor, TabCompleter {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "help":
|
case "help":
|
||||||
case "helppage":
|
sender.sendMessage(PluginMessages.customPrefix + " Help Menu");
|
||||||
sender.sendMessage(PluginMessages.customPrefix + " Still designing in game help page :(");
|
sender.sendMessage("\u00A7e\u00A7m-----------------------------------");
|
||||||
sender.sendMessage(PluginMessages.customPrefix + " For now please use the wiki http://bit.ly/portals-help");
|
sender.sendMessage("\u00A76/" + command + " selector \u00A7a- gives you a region selector");
|
||||||
break;
|
sender.sendMessage("\u00A76/" + command + " create \u00A7c[tags] \u00A7a- creates a portal with a selection ");
|
||||||
case "bukkitpage":
|
sender.sendMessage("\u00A76/" + command + " portal \u00A7a- gives you a portal block");
|
||||||
sender.sendMessage(PluginMessages.customPrefix + " Bukkit page: http://bit.ly/adv-portals!");
|
sender.sendMessage("\u00A76/" + command + " select \u00A7a- selects an existing portal");
|
||||||
|
sender.sendMessage("\u00A76/" + command + " remove \u00A7a- removes a portal");
|
||||||
|
sender.sendMessage("\u00A76/" + command + " variables \u00A7a- lists all available tags");
|
||||||
|
sender.sendMessage("\u00A7e\u00A7m-----------------------------------");
|
||||||
break;
|
break;
|
||||||
case "show":
|
case "show":
|
||||||
if (args.length > 1) {
|
if (args.length > 1) {
|
||||||
|
@ -29,5 +29,4 @@ public class PluginMessages {
|
|||||||
public static void NoPermission(CommandSender sender, String command) {
|
public static void NoPermission(CommandSender sender, String command) {
|
||||||
sender.sendMessage(customPrefixFail + " You do not have permission to perform that command!");
|
sender.sendMessage(customPrefixFail + " You do not have permission to perform that command!");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -70,6 +70,15 @@ public class DestinationCommand implements CommandExecutor, TabCompleter {
|
|||||||
for (String desti : config.getConfig().getKeys(false)) message = message + " " + desti;
|
for (String desti : config.getConfig().getKeys(false)) message = message + " " + desti;
|
||||||
sender.sendMessage(message);
|
sender.sendMessage(message);
|
||||||
break;
|
break;
|
||||||
|
case "help":
|
||||||
|
sender.sendMessage(PluginMessages.customPrefix + " Destination Help Menu");
|
||||||
|
sender.sendMessage("\u00A7e\u00A7m----------------------------");
|
||||||
|
sender.sendMessage("\u00A76/" + command + " \u00A7c[name] \u00A7a- teleport to destination");
|
||||||
|
sender.sendMessage("\u00A76/" + command + " create \u00A7c[name] \u00A7a- create destination at your location");
|
||||||
|
sender.sendMessage("\u00A76/" + command + " remove \u00A7c[name] \u00A7a- remove destination");
|
||||||
|
sender.sendMessage("\u00A76/" + command + " list \u00A7a- list all destinations");
|
||||||
|
sender.sendMessage("\u00A7e\u00A7m----------------------------");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
Destination.warp((Player) sender, args[0]);
|
Destination.warp((Player) sender, args[0]);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user