This was a good tutorial. It helped me (A beginner) A lot. Keep making these please. negative_codezZ
Thanks. Been looking for this.
The_Coder How do i change it it a block clicked listener instead of login listener?
calebbfmv This is the main class Isnt that what the @EventHandler part does? And what do you mean register the plugin?
The_Coder The event you mean?
Also if it is a yml, you could put all the info into a string and use the this.getConfig().getString("nameofthestring")
Hey guys, Trying to make a plugin that will create an explosion at where a block was clicked... But no explosion or lightning happens? Here is...
drtshock Thanks man.
drtshock This? public void onEnable() { PluginDescriptionFile pdfFile = this.getDescription();...
So if (!configFile.exists()){ this.saveDefaultConfig(); } drtshock
http://imgur.com/FExqRrx drtshock
drtshock Still doesnt work. [IMG]
drtshock 1Rogue Put all defaults in the one in the .jar Still doesnt make a config.yml in the plugin's plugin folder
1Rogue So in the config in the .jar put all the defaults?
So i am making a plugin that relies heavily on config.yml files. At the advice of some people on an IRC, i made a config.yml in the .jar, but that...
L33m4n123 I have tried with an without them. Doesnt work for either :(
Bump. Please help me guys! :(
Are you looking for it to come back as not equal to?
You have it set to read "if item is not equal to null" meaning if it even has one if wont execute the code. Did you mean for this?
Heres the code: package me.Dmoney12321.WhereToSell; import java.io.File; import java.util.logging.Logger; import org.bukkit.ChatColor; import...
Separate names with a comma.