Reference 'this' instance right? Ok, so I may have learned java/programming from reading random forums posts and getting my hands dirty, so to...
Yes. Most Bukkit plugins reference the keyword 'this' when registering listeners, etc. This is essentially referencing the running instance of the...
Would it be possible to serialize org.Bukkit itself?
yeah... i'm going to have to do that.... just so i can see where i'm going wrong.
that would definitely been WAY more easier... the only issue is, I would be over lapping in every loop iteration... but still, way easier. Thanks...
I created a method that will gather the (x,z) locations for all locations in the same biome I am standing in. y location never changes. But when I...
yeah, i was afraid that you would say that...lol. I plan on building an area protection plugin based on biome areas. Why would it be a bad idea?
had a few questions about biomes. what i'm tryin to do: get all x and z coords for every block that is within the same biome location,...
sd5 it looks good syntatically. I hope it works logically at runtime... lol. Thanks man.
I'm trying to get data from another plugin's config.yml. Is there a way to just read from the file in a similar way I would read from my own...
I just want to thank you. I've been searching for months on how to implement SQLite, and feel stupid now that I know how simple it is....lol. I've...
if you dont want your locations to ever change, declare them as constants outside of your objects.... public class className extends...
well, i think the second error may be cause because you are defining your locations inside of your onEnable(), which would make them local to that...
File is usually real touchy for me, maybe you can try leaving the .txt out of the name, and just put it into your code. public void loadFile() {...
a great addition to this plugin would allergies...... for example: on first login, a player has a random change to be "born" with one or more...
you would have to listen to everything that ever enters and leaves every players inventory and save/delete them from storage. best way to store em...
can anyone see why i'm getting a nullPointerException in this code? The stacktrace points to addChants() on line "stack.addEnchantment(ench,...
i guess I just don't get it, cause the docs isn't making anything click no matter how many times i read em.... maybe this will help, here's my...
alright, i worded that wrong. how can i cast to Enchantment FROM a string? and check if it's a safe enchant for the item?
how can I cast Enchantment onto the String value of the name? also, how can I run a check to see if that item is safe to have that enchantment?
Separate names with a comma.