113
Welcome back to the third tutorial blog in the 'How to make a plugin' series. In this tutorial you will be learning the following :
- Creating logging messages
I know this is a little short but want to keep the blogs short and snappy plus easy to follow off.
If you've already followed this tutorial then click the link below to view the next tutorial...
Next Tutorial - Click Here
After following the second tutorial, you should have a class looking like this :
Spoiler
If all is good then inside the curly braces ( {} ) add the following :
Spoiler
this.getLogger().info("Hello world");
Now, it should look like this :
Spoiler
Add that to the onDisable and thats all! Yep, thats all for the logger. So when you enable and disable it will say your message.
I hope this tutorial has been useful. I will be uploading more daily or even 2/3 per day.
To create these tutorials for you is quite a challenge, If
you'd like to see more tutorials and more sections covered then please
donate to our team as generously as you can. Every bit of it helps and
supports us even more.
Donators will be able to get private lessons from myself or anyone else from TeamJaval. Including their name posted on numerous blogs as a big thank you.
Tags |
2829304
6
Create an account or sign in to comment.