@finalblade1234 I changed 10 to 40 and it seems to be working now, thanks :)
So first of all, I have 2 teams (red/blue), they're held in a hashmap: public static Map<Player, String> teams = new HashMap<Player, String>(); I...
I need to make it so when a player dies it will get all items in their inventory, then any items that have the lore 'not-droppable' will be kept...
@schwabfl Well that worked (hence why I set the thread to solved), however player.getInventory().remove([itemstack], 2); is also trying to remove...
I'm trying to allow players to sell gold ingots for $20 in game but the code I wrote will require them to have exactly x amount in a stack(Ie if...
@tomudding Worked! Thank you very much!
So my scenario is this.. I'm trying to have a trail of glowstone below the player that fallows them when they move, each block should only stay...
@AdamQpzm Not yet, but I will later today.
@Konato_K Okay I'll give this a try. Also I'm using an array because I'm much more used to PHP rather than java and when I get multipul things...
@Konato_K I changed it from getting the column with the index 1 to getting the column named player (which is a string). However it is still...
So I'm working on a plugin and I'm trying to get all player names from a database where guild = (guild name). Everything works fine other than...
@sgavster Thank you very much!
I had this problem for a while now where when I give an itemstack to a player the item(s) often don't appear in the inventory however if you press...
Ill try that and tell if you it works... @Bram0101 Okay, well now I'm just getting an arrow that shoots in random directions... I mean, its...
@Bram0101 Okay, thanks but now no arrow shoots. Did I setup the vector or location incorrectly maybe?
Okay so I have this.. double pitch = player.getLocation().getPitch(); double yaw =...
@Bram0101 I don't understand where are you getting "Pitch" & "Yaw" from?
@dlange What I mean is I need to get like 10 spots around a player then make a vector with them then shoot arrows from the vectors one after the other
@dlange I've tried this although it doesn't even come close to working the way I want. Location location1 = player.getEyeLocation();...
Im trying to add a feature to my plugin which creates a ring of arrows around the player for a couple seconds. Kind of like when the play right...
Separate names with a comma.