This was a good tutorial. It helped me (A beginner) A lot. Keep making these please.
Thanks. Been looking for this.
How do i change it it a block clicked listener instead of login listener?
This is the main class
Isnt that what the @EventHandler part does? And what do you mean register the plugin?
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")
Trying to make a plugin that will create an explosion at where a block was clicked... But no explosion or lightning happens? Here is...
public void onEnable()
PluginDescriptionFile pdfFile = this.getDescription();...
Still doesnt work.
Put all defaults in the one in the .jar
Still doesnt make a config.yml in the plugin's plugin folder
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...
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:
Separate names with a comma.