@mythbusterma I didn't consider other db support, so that is a fair point that should be considered when making this sort of decision....
@bennie3211 @Axanite Both of your suggested solutions are inefficient and completely unnecessary. SQL is robust enough to have built in query...
@Max8801 use an INSERT IGNORE query
@FrozenLegend If you are talking about doing so through your code you're in luck, I just implemented something similar. // get your desired...
oops, fixed ;3 @TheSporech I mean that when you set a player max no damage ticks, it will reset every time they logout. Mobs just need to have...
@TheSporech Use LivingEntity#setMaximumNoDamageTicks(int ticks). The default is 20 ticks, so you can lower it, but this is not permanent, you will...
@DoggyCodeâ„¢ You make classes that extend a runnable when it becomes more practical than creating an anonymous class every time you want to make a...
@TrippyHD https://jd.bukkit.org/org/bukkit/Server.html#getOnlinePlayers()
@MrTigreroux I'm sure there is some way to do this through nms, but the more obvious solution would be to use...
@Ethan Rocks 365 call openGUI1(player); in your switch. Also, learn java.^
@Rowinvd I spent a while figuring out how to do something similar. Here is a modified method that I use to return the ticks until a specified time...
@coc0 You can do that, or use metadata. When you listen for the EntityDeathEvent, all you need to do is use the EntityDeathEvent#getDrops() method...
@CuteCubed you can use a repeating task that keeps moving the item in whatever pattern you want it to move for as long as you want it to move....
@ZhangZijing This is what I use to serialize my inventories: https://gist.github.com/aadnk/8138186
@Zombie_Striker Good call, that's my bet.
@TharnivasOF Questions to ask: Does your hosted server recognize other plugins? If yes, do you restart, reload, or do nothing when you add a new...
@teej107 ConcurrentLinkedQueue (@tommyhoogstra look for other thread safe data structures in java.util.concurrent)
@tommyhoogstra Then make queries a CopyOnWriteArrayList. You could remove the query from the queries list at the end of your execute method...
@tommyhoogstra I don't get why you even need to use an iterator in the first place. Have you tried to use a standard for loop that calls your...
@TheMagzuz @CraftCreeper6 They have to be. Your issue wouldn't be so much be storing the YAML, that's the easy part. The more difficult part is...
Separate names with a comma.