Really? Pretty sure they're using singleton classes to manage stuff... https://github.com/parat26/core/blob/master/src/src/ares/core/Main.java#L57-L70
I believe that it depends on the task. For example, when looking into the code I found the method "getBlockXp(BlockState block)" I think there...
@Corndogoz Couldn't you just convert the original string to lowercase then replace your desired string?
@Corndogoz Assuming you're referring to the line "line.contains(someString)" then you could create a method. Something along the lines of: public...
@Corndogoz May I ask why you "need" this list? You may be thinking of a solution to a problem when there is another (potentially better) solution...
@Corndogoz Yes it's possible. It's fairly basic Java. Just use "myString.equalsIgnoreCase("SomeString")" this will check that the string with the...
@PDKnight I don't know if this will affect the outcome but still, worth a shot, try moving that line after the action check (if action ==...
@jebbo Sounds like you're doing to much work on the main thread. Have you tried using a separate thread for completing the "heavy duty" parts of...
@PDKnight Caused by: java.lang.NullPointerException at me.PDKnight.Airdrops.Airdrops.ADClick(Airdrops.java:174) ~[?:?] What's on line...
You're setting the co-ordinates to a string in the config file ("set(event.getPlayer().getName() + ".spawnPointX", "1");") meaning that when you...
Did you read the message you quoted? He clearly stated that the plugin will be available for both Bukkit and Spigot. What would be the point in...
You need to escape it (Put a backslash in-front of your backslash)
@galaipa No problem, glad you figured it out :) Don't forget to mark this thread as "Solved"
That's because you haven't told me what you want me to do. I have messaged you multiple times asking and I've received no replies. You cannot give...
JSONObject =(JSONObject) JSONParser#parse(String) And because JSONObject implements java.util.Map, you can just do JSONObject#get("VALUE")
Change the number from -1 to one of the values given (50, 110, 200 or 400)
Create a URL object with the URL that contains the JSON file. Create a BufferedReader (Using URL#openStream() inside of a InputStreamReader (I...
Delete it then restart the server.
@DaanSander What have you tried? Helpful Links: Skull Meta: http://docs.codelanx.com/Bukkit/1.8/org/bukkit/inventory/meta/SkullMeta.html Skull...
@NoLife I think you should put this project on hold for a while whilst you get a better grip of Java. A stack-trace is a report that appears when...
Separate names with a comma.