Okay, thanks everyone!
Because this hasn't been answered yet: how performance hungry is the PlayerMoveEvent? Are you even allowed to use it when high amounts of players...
Does that make a difference in performance? Calling e.something() instead of event.something()?
Hi everyone, I was wondering what kind of code will make a plugin performance hungry if there are higher amounts of players online. What is to be...
Wow, thanks so much! :D @mythbusterma But, wait, I still need to find out what direction I am going to use for the relative block. The direction...
Hi everyone, I am trying to remove 8 blocks around a block when it's broken (so 9 in total), which means we get a 3x3 hole. If someone is digging...
@henderry2019 Yes, but that would cost a whole lot of performance. Isn't there a better way?
Hi everyone, is there an event that is triggered by a player triggering a string? I mean the ones that you obtain by killing spiders or destroying...
@Oxyorum I originally did that, but I changed it to see if the UUIDs are causing the error; will change it back. Yes, there is no message in the...
Well, here's a screenshot: [img] I know the result set is receiving null, because when I send a player the balance only, there is no message in...
Hi everyone, I'm trying to retrieve a player's balance from a database. However, my result set won't return the integer. Can you spot any errors...
@blablubbabc Thank you very much, that was very detailed and helpful. I coded it that way, so far there are no errors. I was only able to test it...
@Gonmarte No, but that is irrelevant to whether or not you should learn there.
Hi everyone, I have assigned all players one of two teams and now I need them to see the enemy nametags as red and the nametags of their allies as...
@Gonmarte Check his signature. You don't need a teacher.
Get the dropped item in the BlockBreakEvent and remove it. That should do it.
@Nebuler "I'd like to make it so no items can be dropped onto the ground and are removed" My interpretation was that they can't drop them. And to...
"for(int : guildcost)" will not work. You are not looping through the items.
Instead of removing the item once it's dropped, just put "event.setCancelled(true) into your "PlayerDropItemEvent". They will not be able to drop...
Do you want the onCommand method in a different class than your main class or do you need the player who sent a command? Also, please use more...
Separate names with a comma.