@FisheyLP Changed to public static boolean save(String path, String fileName) { File file = new File(path, fileName); try {...
@FisheyLP The method save(File file) is in the class of FileConfiguration. So far so good. But as I said, my code seems to not work, even though...
@FisheyLP the parameter "file" is of the variable type "File". I don't have this file though. I would have to get the path of the...
I have an object of the type FileConfiguration. I write things to it, get things from it, and I'm happy with it. But I also have to save it. How...
@1Rogue Whoops, I'm using the Bukkit API from a long time ago... March 2014 in fact. I'm using Spigot on my server though. Am I wrong or is the...
@1Rogue Sorry, can't find it... [IMG] EDIT: FYI, the cast is a (Object) cast, that can't be the solution. EDIT again: Maybe I use a different...
@1Rogue Thanks, but I'm afraid there's no such method getUniqueId() for the variable type OfflinePlayer. I've tried it with the following code...
So I'm sure this question has been asked like a thousand times. But I wasn't able to find a good answer to it. I'm currently working on a plugin...
@nverdier Looks like it does... I'll use it instead of HangingPlaceEvent then too, to avoid doubling... We'll see how it works out in future.
Tested it for item frames and paintings, that works. What about Armor Stands? Seems to be neither the BlockPlaceEvent nor the HangingPlaceEvent....
Hi there :3 So when I place an ItemFrame a Painting or something like that what's actually an entity instead of a block, it's no...
Hi there, I'm currently looking for a possibility to get the whole chunk a player stands in. I anticipated to be able to find a method in the...
@567legodude Thanks, although it does not really look like nice code, it works. ;) #Solved
@567legodude Okay, so I've tried it out. String reason = "§cYou have been banned."; @EventHandler public void onJoin(PlayerJoinEvent e) { if...
@567legodude Okay first, let me thank you for your quick answer <3 I've tried it with your PlayerJoinEvent now, but as I supposed earlier, when...
Separate names with a comma.