** "//Will log "hai" 130 times" **
... I think you mean for(int i = 0; i <=130; i++){ getLogger().info("Hai"); //Will log "hai" 130 times }
SoThatsIt how could I add bold to the entire colourwave? When I try adding +ChatColor.BOLD to the string, when I update it sometimes a wierd...
If online mode is disabled, this just means mojang doesn't authenticate when a player joins. Which allows for cracked accounts to join. Still, two...
.. have you learned java before bukkit? or bukkit before java?
Uhm, two people can't be online at the same time with the same name.. this is only deprecated to raise awareness for the potential plugin-breaking...
I'm trying to get the top 10 of a player stat using a command (/stats top) Ex /stats top - shows top 10 kills Here is my current code: (its kinda...
Nice!
public void teleportCountdown(Player p, Location loc, int time){ Bukkit.getScheduler().runTaskTimer(plugin, new Runnable(){ public void run(){...
don't store player objects ;p
Change return false to return true;
http://forums.bukkit.org/threads/util-fireworkeffectplayer-v1-0.119424/
Rather than constantly reading/writing from and to a flat file, maybe cache the stats in a hashmap and save/load it on join/quit Edit: I also...
how i currently do it: void setScoreboard(Player p) { board = Bukkit.getScoreboardManager().getNewScoreboard(); o =...
try making sure you check if .item.hasItemMeta()
List<String> players = new ArrayList<String>(); //on an event If(players.contains(p.getName()){ // cancel the events and to add them just...
spigot ain't supported here. and I'm seeing this error more and more often, try making sure you are running the same jar on your server that you...
You are sure you are compiling and running your server on the exact same versions, correct?
pass them into a method, create an objective of the players name, and set the scoreboard
Is the version of craftbukkit you are running your server on the same version you are compiling with?
Separate names with a comma.