Erm, I think you can't do that because it's not meant to. And if you think so badly it'll work, send me then a bit more code...
Don't you have to put a ';' after each SQL statement? Cause you didn't put one after the both executeUpdate statements. But I think it's...
Try to set the leave message to a normal string, and post the results.
Check the 'getItemInHand()' method from player in the bukkit docs.
*facepalm* It's working, I fixed it and I saved the scoreboard in the class as a property.
ugh* vault *ugh
Garris0n I'm saving the instances, I'm a java programmer, I know for sure how those things work... Anyway, thanks!
Garris0n It's that, beleive me or not. But I fixed it to let it work with multiple scoreboards. Basically when you set a below name scoreboard,...
Garris0n So, global scoreboard is the same scoreboard for everyplayer And ofcourse I save the instance. Im tryin something new, a bit of a...
@Garris0n, Well, no I have two clients, here's the code: Scoreboard sb = BattleField.pl().sm.getNewScoreboard(); Objective obj =...
@Garris0n Nope, still 0, one weird thing. The scoreboard doesn't appear on the player who typed the command, but at the other players...
@Garris0n hmh, gotta test that one xD. Stay stand-by plz
Nothing more, just this...
I wrote this yesterday, take a look at it: public PacketPlayOutBed getPacketIn(Player p){ PacketPlayOutBed b = new PacketPlayOutBed();...
@BlueMustache new PacketPlayOutBed(nms, 4, 0, 0) -> thats not displaying the credits, that's putting a player in bed...
Like I said, send the packets to all nearby players... Ugh, I used it today, and it doesn't work when you don't send the packets to the nearby...
It doesn't matter, if it's private for example, so yea, off-topic. Cause that's how packets work... EDIT by Moderator: merged posts, please...
Here ya go! Scoreboard sb = ...; Objective obj = sb.registerNewObjective("pc","pc"); obj.setDisplaySlot(BELOW_NAME); obj.setDisplayName("%");...
Errors? Don't forget to send the packet to all nearby players...
Hey, I can't get scoreboards to work, the BELOW_NAME though. It show always 0, despite the fact I put 100, or 50 (it's a custom objective). The...
Separate names with a comma.