I mean if they use a pickaxe without a silktouch on it, they will still get the ore and be able to place it and mine it again and again.
@Xp10d3 Not an answer but do you happen to figure out how will you handle iron and gold ores? Because they always drop ores even when not...
@adi0115 I think he just teleported the enderdragon somewhere no one can see since he's only using the dragon for the boss bar. This plugin can...
@HCMatt You already have your runnable. Just run it on server starts and instead of a delayed task, make it a runTaskTimer that runs every...
@HCMatt BukkitRunnable#runTaskTimer Call or make it on your onEnable
You can just make a global runnable that runs every second to check when was the last time the player hits another player and if 5 seconds have...
@timtower Oh, sorry I guess I skimmed it. Anyway, @JMCY26 MaxAFKRemove Commands: none, I guess you will do a full reload if you make changes in...
@JMCY26 Do you use Essentials to handle your AFK? That would be easier if you use it.
PlayerInteractEvent calls for two hands, both off-hand and main hand so you need to check which hand. if (e.getHand() == EquipmentSlot.HAND) {...
@Lightcaster5 PlayerLoginEvent is called before PlayerJoinEvent, halt them in PlayerLoginEvent so PlayerJoinEvent won't be called until the...
@Lightcaster5 Maybe process the player on PlayerLoginEvent and PlayerPreLoginEvent that's before PlayerJoinEvent
@baenii Check if the section and keys exist? If not make one? And, are you sure you are saving the config?
@madtomic The link just gave the whole code so I didn't do much lol. I dont understand what you mean by you need it to be more friendly to use?...
@Xp10d3 Any reason why you're still using Bukkit instead of Spigot? I mean, there's no need to create a whole plugin if there is an updated and...
I haven't tried it but I think this will do it. Player#setStatistic(@NotNull Statistic statistic,@NotNull EntityType entityType,int newValue)
Separate names with a comma.