how do you want to join 0 with first 4 players and 1 with other 4 players?
Anyway, to make a randomizer, make new Random() instance and get...
@mythbusterma Thanks for explanation :)
Hm, try to do
sign.setLine(3, color + (worldplayers+"") +"/"+ MaxPlayers(world));
It's because color (or ChatColor.something) is a string, so at line
sign.setLine(3, color worldplayers +"/"+ MaxPlayers(world));
bumpidy bump... :D
No problem! :)
I'm not really pro at this and don't know about an animated chatserializer, but I think you should try to use schedule task :)
@Binner_Done Sure I can, but as you can see, the tenth player was logged and I don't know how many lines the log will take, so the message was cut :(
I know bm.getPage(i).length(); gets the length of a page, but there are also \n's, so when I use 14 \n's, the word after them won't be on the...
First of all, if you're using Eclipse, do the little magical trick, Ctrl+Shift+F :p
Then, see your if condition, you're closing it and...
No problem at all! :)
Sooo it's solved? :D
Okay, soooo... :D
...first of all, in your loadSentry() you get double from config by path sentrys.x/y/z, but notice in your config are this...
@jusjus112 Thank you for your reply, I've repaired my code. The error appears because since 1.8 method getOnlinePlayers() only returns...
@jusjus112 made very good example, I'm just going to make it simpler, faster and shorter:
ArrayList<Player> players = new ArrayList<Player>();
Hey, Bukkit, today I've been working on my CGeo_ plugin and I don't know what to do now. For better explanation I've made a screenshot:
@across566 You're really welcome, that's awesome it's solved now! x)
PS: Anyway, please, mark your thread as solved :)
:( Than something's wrong with the code :(
Okay, I'll try to play with the code, please wait :)
EDIT: Your code works perfectly, man!
I think the code isn't executing, so try to do System.out.println("Type: "+type); after p.getInventory().setContents(contents); and tell us if it...
Separate names with a comma.