And you can use CommandExecutor to subcommand, so you can change is config yours commands. Eg: /game start /game join ... When you change config...
You can rewrite args to remove subcommand arg, remove cmd and label in CommandInterface, and small sugestion: handler.registerPlayerCommand(...);
event.getRecipients().clear(); event.getRecipients().addAll(your list);
Block b = headLoc.getBlock(); b.setType(Material.SKUL); SkullMeta meta = (SkullMeta) b.setData().getItemMeta(); meta.setSkullType(SkullType.ZOMBIE);
And you can use spigot ;)
public List<Player> getPlayers() { return this.getPlayers(); } Do you understand this code? Change to: public List<Player>...
Small suggestion :D player.hasPremium() in Player interface ;)
http://dev.bukkit.org/bukkit-plugins/superchat/
Use: new BukkitRunnable(){ @Override public void run() { Player p = e.getPlayer(); miner.remove(p.getName()); }...
I use: EbeanServer s = plugin.getDatabase(); String q = "CREATE TABLE IF NOT EXISTS `" + table + "` (`id` INTEGER PRIMARY KEY NOT NULL, `player`...
How use mysql and sqlite with EbeanServer? I found this but it doesn't work :/
I don't want use preprocess because player can't see command in /help
That work but now I cant't check config. Eclipse error: The value for annotation attribute ReflectCommand.Command.name must be a constant...
Can I register commands from config?? not from plugin.yml I find http://jd.bukkit.org/beta/apidocs/index.html?org/bukkit/command/CommandMap.html...
Hey I need information how much exp give player if he take somehink from furnace??
Separate names with a comma.