command.set/getDescription replaces a now deprecated set/getTooltip + javadocs
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -103,7 +103,7 @@ public final class SimpleCommandMap implements CommandMap {
|
||||
public VersionCommand(String name, Server server) {
|
||||
super(name);
|
||||
this.server = server;
|
||||
this.tooltip = "Gets the version of this server including any plugins in use";
|
||||
this.description = "Gets the version of this server including any plugins in use";
|
||||
this.usageMessage = "/version [plugin name]";
|
||||
this.setAliases(Arrays.asList("ver", "about"));
|
||||
}
|
||||
@@ -184,7 +184,7 @@ public final class SimpleCommandMap implements CommandMap {
|
||||
public ReloadCommand(String name, Server server) {
|
||||
super(name);
|
||||
this.server = server;
|
||||
this.tooltip = "Reloads the server configuration and plugins";
|
||||
this.description = "Reloads the server configuration and plugins";
|
||||
this.usageMessage = "/reload";
|
||||
this.setAliases(Arrays.asList("rl"));
|
||||
}
|
||||
@@ -208,7 +208,7 @@ public final class SimpleCommandMap implements CommandMap {
|
||||
public PluginsCommand(String name, Server server) {
|
||||
super(name);
|
||||
this.server = server;
|
||||
this.tooltip = "Gets a list of plugins running on the server";
|
||||
this.description = "Gets a list of plugins running on the server";
|
||||
this.usageMessage = "/plugins";
|
||||
this.setAliases(Arrays.asList("pl"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user