mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2025-01-30 12:01:43 +01:00
added new message for /portal help and also fixed metrics
This commit is contained in:
parent
65b028c777
commit
43e9607ec9
@ -408,6 +408,10 @@ public class AdvancedPortalsCommand implements CommandExecutor, TabCompleter {
|
||||
}
|
||||
}
|
||||
}
|
||||
else if(args[0].toLowerCase().equals("help")) {
|
||||
sender.sendMessage("\u00A7a[\u00A7eAdvancedPortals\u00A7a] Still designing in game help page :(");
|
||||
sender.sendMessage("\u00A7a[\u00A7eAdvancedPortals\u00A7a] For now please use the wiki http://bit.ly/portals-help");
|
||||
}
|
||||
else if(args[0].toLowerCase().equals("bukkitpage")) {
|
||||
sender.sendMessage("\u00A7a[\u00A7eAdvancedPortals\u00A7a] Bukkit page: http://bit.ly/adv-portals!");
|
||||
}
|
||||
|
@ -321,7 +321,9 @@ public class Metrics {
|
||||
boolean onlineMode = Bukkit.getServer().getOnlineMode(); // TRUE if online mode is enabled
|
||||
String pluginVersion = description.getVersion();
|
||||
String serverVersion = Bukkit.getVersion();
|
||||
int playersOnline = Bukkit.getServer().getOnlinePlayers().size();//Bukkit.getServer().getOnlinePlayers().length;
|
||||
// make sure that the older versions of bukkit are added first in project imports, so it can be compiled
|
||||
// against an older version
|
||||
int playersOnline = Bukkit.getOnlinePlayers().length;//Bukkit.getServer().getOnlinePlayers().length;
|
||||
|
||||
// END server software specific section -- all code below does not use any code outside of this class / Java
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user