@teej107 1. I am comfortable with Java 2. Sometimes people have errors that they need help with. (You should really try to be nice sometime)
But then i cant access the config Heres my main class: public class Hub extends JavaPlugin implements Listener{ public void onEnable(){...
How would i fix it?
I'm getting a NPE on this line, I can't figure out why. Line: 22 Inventory inv = Bukkit.getServer().createInventory(null, 54,...
Thanks for the info, But this doesnt help me solve the nullPointerException
@mine-care I already know that, I know what my error is and why its there, I just can't figure out how to fix it.
Hey, So i get this error when i try running my plugin... [00:43:43] [Server thread/WARN]: [TeamUHC] Task #4 for TeamUHC v1.0 generated an...
@Xerox262 OMG!!!! THAT WAS IT!!!! LOL THANKYOU SO MUCH!!! I feel like an idiot now... xD
Ok, So i tried this, and it still doesn't work. public void onEnabled(){ getServer().getPluginManager().registerEvents(new...
@Xerox262 That's the problem... There is no file. Even when i try this, it doesn't work. public void onEnabled(){...
@Xerox262 The if statement is not being called...
@Xerox262 Its in the onEnabled method
Ok, Thanks! @Xerox262 The config is not generating... public void loadConfig(){ File file = new File(getDataFolder(), "config.yml");...
I want to have it generate by its self.(Thats what i mean)
Ok, Yea ill do that Thanks! But i would still rather do it the way i was doing it... Anyone got an idea? EDIT by Moderator: merged posts, please...
Separate names with a comma.