I've created a nice utility that make creating commands with a high amount of variances without having to if...else if...else if...else for an...
What? You should learn Java (and what you want to do) before asking this
I belive UUID (used to identify a player account) on 1.7 isn't on 1.6.x, so you can safely use player names, I belive the UUID being the same on...
Without code or anything like that, we can't do anything to help you );
Try to do: PlayerToggleFlightEvent { // You can create a WeakHashMap with Player, Long with the player and the last time it was attacked using...
I use runTask to make SURE it is on the main thread instead of the Runnable's "run()" that would run on the same thread it is called. Well, you...
I know this is an old thread but I want to suggest people to use HashSet or checking the List for duplicates, it made my tree to go down in 1-2...
[media] I belive you need the "/", don't you? Also, I tried to make the video be on the 1m22s exacly, but it don't work with [media things] of...
Yeah, i'm reviving this post ONE YEAR AND A HALF later and still no Anvil events :l Do anyone know any plugin that does that? (not a problem for...
iterate through all items than check if item has DisplayName and if it does, check if it is the same
This stuff is really simple (really), there are more difficult ways to do this (belive me) and I belive this is the easier (at least it was for...
Eu não sei se você sabe os prejuizos de guardar uma instance de Player numa Lista, mas procure sobre Memory leak on Java no google E você...
Since you can't store objects (at least not easily) on MySQL, you can separate Strings with "-" or other character that wouldn't influenciate your...
You could do more (IMO) difficult stuff. But what I did was create a lore that is not sent to the player. When a lore contains a line with the...
Amplifier 0 = PotionEffect level 1, so on code, you just use parenthesis (I belive it is more readable, IMO) and substract one
Well, using packets will be a little tricky, but I think i'll give up on this feature... I used the same code on the past version (a month ago and...
yeah, I tried setting the scoreboard for the player, and tried without it either (I would really like to see invisible players without needing to...
I tried.. I tried for a long time, I tried several times... BUT I CAN'T GET THIS THING WORKING... Well, here we go. I'm creating a custom...
I want people who don't want effects to not see the items, I already use events so people won't get the item dropped.
For damage effects, I'm using item drops, but with this code, I use dropItemNaturally because I couldn't use PacketWrapper to spawn Items (due...
Separate names with a comma.