@Max8801 As @timtower said, check if a file exists with: if(file.exists()) { //do something } If you do not have a file object, you...
@stormneo7 package me.mateo226.crates; import org.bukkit.Bukkit; import org.bukkit.inventory.Inventory; public class BaseCrate {...
Hello everyone! I started creating a crate plugin for my server. It is almost the same as the plugin on Desteria or CosmicPvP. I already...
@Oxyorum I think I will just give up now. Thank you very much for helping me! :)
@Oxyorum Nope, doesn't seem to do it: @EventHandler public void PlayerDropItemEvent(PlayerDropItemEvent e) { Player player =...
@Oxyorum Thanks for the code, will try it out even thought it might not work. @bwfcwalshy Will do!
@Oxyorum That unfortunately doesn't work. Infact, it doesn't even trigger the rest of the code. I believe that is because the onDrop event is only...
@Oxyorum Haha ye that makes sense, but is there a way to for example check when the item HITS the ground and THEN check the location?? Thanks!
@Oxyorum Well I found an issue! lol! When I drop the coin, the coin has the same position as I do. Well, +1 Y. Is there a way to check the...
I'll try it out, 1 min :) @TheGamesHawk2001 Nope that doesn't work... It still doesn't trigger the code inside the brackets......
Ok thanks! I'll give it a go and if I am stuck I will report the problem back to you :) @Oxyorum Ok I am now stuck with this ANNOYING bug that I...
Hello everyone! I was just wondering, how would I check a dropped item position? I am making a wishing well plugin and when someone throws a coin...
I saw it, tried it, but it isn't really what I am looking for... Anyone???
(Sorry if this is posted in the wrong section, I am just not sure where to post this...) Hello everyone! I was wondering if there was a Crate...
@BrickBoy55 Hey, someone told me that once but I don't know how to really use HashMaps since I never needed them before.... Can you please explain...
Separate names with a comma.