Figured out the error and got it to work, I feel stupid as hell atm. XD Forgot the @EventHandler
zombiekiller753 I don't understand :P zombiekiller753 package me.NinjaRoyal.Champions; import java.io.File; import java.io.IOException;...
zombiekiller753 Ugh......... xD I made that mistake yet again. Thanks for pointing that out though xD. Also can you possibly provide the code or...
Hello developers! I have recently started to work on a project and more of a learning experience for myself. During this process I want to...
Gater12 Fixed. Just created another event. Probbably not best fix but it seems to work fine
Gater12 So what would a fix for this be? Example code too please.
xTigerRebornx Epicballzy xAstraah DinosParkour Thanks for all the replys but please go into a little bit more detail. Epic I am not sure what...
@EventHandler public void onWoodcutting(BlockBreakEvent e) { int w1 = 100; if (e.getBlock().getType() == Material.LOG) {...
Everything is solved. Thanks for everyone who commented and helped me :D
Skionz @EventHandler public void playerJoin(PlayerJoinEvent e) { if(!getConfig().isSet(e.getPlayer().getName() + ".WoodXp")) {...
Skionz Yep
Skionz Oh ok, integer didn't work so let me try that and I will get back to you Skionz Still sets it to 0 :( Skionz I don't really need this...
Skionz Int cannot be resolved to a type. But integer works shall I do that?
Skionz xTigerRebornx I tryed parsing and did some debug test and it seems that it thinks arg[1] is equal to 0. I did some message tests and that...
xTigerRebornx If you are talking about the WoodXp path it exists because it is setting it to 0. But it should be setting it to what I specify in...
Skionz I just did that to test but it isn't working without it. And basicly when ever I do the command it sets my "WoodXp" In the config to 0 no...
Skionz Oooooh ok I understand. Let me test this out Skionz Ok so it works but it always sets it to 0? code: //give xp\\...
Skionz Ok I will test this later but in a more important matter another thing I am having trouble with is: //give xp\\...
Skionz Ah! Didn't think about that one :P Now I feel like I'm stupid. Thanks so much for the help though. Still yet to test so will post results...
Skionz IkBenHarm LavaisWatery if (config.getInt(p.getName() + ".WoodXp") == 500 && config.getInt(p.getName() + ".WoodXp") < 1000) {...
Separate names with a comma.