Hi, I recently started to learn Java, and you were my only one good guy, who really helps me, because I could finally understand the code, because of you speech - really helps out. Now I'm glad to see continuing this concept and I hope, that it will continue as well, as the previous one!
I highly recommend you to use kotlin instead of Java it’s like typescript for JavaScript it’s much easier to use and understand but it does the exact same thing and produces the same plugins it’s so easy that u can convert Java files to kotlin
You must compile by selecting "maven" on the sidebar and double clicking "package" to build a jar file in the target folder. Appreciate the tutorial but lost a lot of time trying to figure out why my text wouldn't print to console :(
My respects, if every video of your playlist is like this, your a really amazing tutorial creator! it helped me a lot, i know already how to do stuff with java, and im also modding, but its all the same - you need also for plugins a start-up, until you can continue with the help of the official documentation and github.
I am trying to code my first minecraft plugin but all the videos I watch seem outdated. When using the minecraft developers plugin it never gives the option to use paper and go through the steps as shown in the video. Any help would be appreciated!!
so as a new person to your channel, I see that there is no link to the page ( 0:32 ). and then you just have an app open that i have no idea how to get. Can you make this more beginner freindly please?
Just a head up for anyone trying to follow this for 1.21 select the minecraft version as 1.20 instead as the 1.21 spigot API hasn't been released yet (sorry if im wrong about this but 1.21 didnt work for me)
Hey there! I've been attempting to follow this tutorial, and it has been super helpful so far up until where I run the server with the first written plugin (the hello world on startup section). I have followed everything you have down, re-gone through the whole video twice, and it still does not come up! The server loads fine, when I do /pl it shows I have one plugin, there are no unusual errors, and yet no result! If you could offer some solutions I would be SUPER grateful as I would love to follow this tutorial all the way through.
Hey, if your plugin is being detected with "/pl" but it's functionality isn't actually working then you should double check that the main file extends JavaPlugin and that you have "onEnable" spelt exactly how it is in the tutorial. If even the capitalization is off it won't work as expected.
@@WornOffKeys thanks, some other stuff broke while I was fiddling around trying to fix it so I am just gonna start from scratch again, but hopefully I can get it working then :)
Hi, if u could help me i'm on windows 11 and in the creating a server part im i did everything like u said like 5 times on the new versions and the old ones like 1.18.1 and when i'm typing in the cmd start.bat it doesn't work, please please please help me i have wanted to learn to develop a realy realy long time so please check it and type it here or do a new video on it. thanks anyways, the best plugin creation guide i saw in a longggggggggg time.
Hey there, I'm having an issue. I'm on Windows, but when I change the text document name to start.bat it doesn't change into a batch file, and when I plug it into the terminal doesn't work. It comes up with a message saying "Windows cannot find '.bat'. Make sure you typed the name correctly, and then try again" I'm unsure as to what to do and have looked it over repeatedly, everything else is correct.
Try going into the folder it is stored in, find the "view" button near the top. Find "Show file name extensions" then try. What it is most likely doing for you, is just renaming the text file to "start.bat.txt" being still a text file but with the file name extensions, you can change the actual thing to be a batch file. Hope this helps!
i did everything same as the tutorials, but the console didn't show up the start up msg neither the shutting down msg, even tho it deteced thats plugin by >pl command.
whenever i put the "start.bat" thing (3:50) nothing really happens? it just says "Windows cannot find 'bat.'. Make sure you typed the name correctly, and then try again."
psssst you gotta change the name of your plugin written in your yml file it is often different from the name of your main class, and it needs to be the same for it to work
Hey! Could you please share your source code and error message (if any) in the Worn Off Keys Discord server? It is easier to get help in there. wornoffkeys.com/discord
Bruh. I just needed to watch 3 yt videos and download 3 trojans(jk) to update spigot plugins for my minehut server... why the authors cant update the plugins bro.
Whenever I try to start "start.bat" a JNI Error occurs even after updating my JDK und SE. I tried it for spigot 1.19.2 and even 1.18.2 like in the Video...
This error is telling us that our class was compiled at a higher version of Java than the version with which we tried to run it. For example, we compiled our class with Java 11 and tried to run it with Java 8.
java: ')' or ',' expected I know this tutorial is a year old but after i add the getLogger this is what shows up when trying to build the plugin again.
i know this is from a few months ago but i got the same thing and found a solution. I typed out "msg:" and thats what caused the failure, you need to just do "Hello World" and it will add the msg: for you
Did not get it. You create the project using Minecraft Development that creates a `pom.xml` file AKA Maven, and then you use IntelliJ Artifact build system, don't get it.
Fair point this will be changed in future videos and I'll update the description and pinned comment of existing videos explaining how to build the jar with maven instead.
Definitely, I won't be covering Java fundamentals too much and I'll just be focusing on plugin development concepts. So if you already know how to program then it might be easier and faster for you
If it has built in options I would select one of those that are at least 1.8 or higher. If you don't see any then look up how to download the Java SDK. That is the "Software Development Kit" that allows us to create software using Java
Note to everyone: if you are on a Unix system (macOS, Linux), make sure the copy command includes the FULL directory, not just "./plugins". This is because on Linux and macOS, in order to run the shell script you must use chmod to make the script available to everyone on the system, but this changes the working directory to ~/, which means you will be copying it to your user folder.
🔥 Free Java Course:
wornoffkeys.com/java-for-free
🙋♂ Need help? Ask in our Discord community:
wornoffkeys.com/discord
the first link doesn't work
i need help i cant figure out how to get to the screen that you were on intell
not free?
Hi, I recently started to learn Java, and you were my only one good guy, who really helps me, because I could finally understand the code, because of you speech - really helps out. Now I'm glad to see continuing this concept and I hope, that it will continue as well, as the previous one!
Well said, I'm super excited for this. :]
I highly recommend you to use kotlin instead of Java it’s like typescript for JavaScript it’s much easier to use and understand but it does the exact same thing and produces the same plugins it’s so easy that u can convert Java files to kotlin
I've been searching about tutorial like this for days! Please continue this series
I have a lot planned for this series! A new video will be published every Tuesday
@@WornOffKeys thanks
@@WornOffKeys Thanks so much bro
You must compile by selecting "maven" on the sidebar and double clicking "package" to build a jar file in the target folder. Appreciate the tutorial but lost a lot of time trying to figure out why my text wouldn't print to console :(
goated
@@User-145h5j3 good for you but it wasn't included in the tutorial
WWWWWWWWWWWWWWWWW THE GOAT WWWWWWW
Still works even in java 21! so many other people trying to get you to buy stuff on the way even though it doesn't get you any further
My respects, if every video of your playlist is like this, your a really amazing tutorial creator! it helped me a lot, i know already how to do stuff with java, and im also modding, but its all the same - you need also for plugins a start-up, until you can continue with the help of the official documentation and github.
Commenting for +1 Great stuff!!! Thanks for making this video!
I am trying to code my first minecraft plugin but all the videos I watch seem outdated. When using the minecraft developers plugin it never gives the option to use paper and go through the steps as shown in the video. Any help would be appreciated!!
thanks worn off keys :D
I’m gonna try do this entire series!!!
Keep it up bro! been looking for these kind of tutorials for some time now, i hope you keep uploading on this series!
Thank you for making this video! It really helped
the reason i appriciate this is because i always cant extend javaplugin but the minecraft dev plugin does it for me thank you
I got to the end and ran "start.bat" again, then I typed in "pl" and says I have 0 plugins. Yet the plugin is clearly in the "plugins" folder?
so as a new person to your channel, I see that there is no link to the page ( 0:32 ). and then you just have an app open that i have no idea how to get. Can you make this more beginner freindly please?
Just a head up for anyone trying to follow this for 1.21 select the minecraft version as 1.20 instead as the 1.21 spigot API hasn't been released yet
(sorry if im wrong about this but 1.21 didnt work for me)
amazing video!Thank you.
Hey there! I've been attempting to follow this tutorial, and it has been super helpful so far up until where I run the server with the first written plugin (the hello world on startup section). I have followed everything you have down, re-gone through the whole video twice, and it still does not come up! The server loads fine, when I do /pl it shows I have one plugin, there are no unusual errors, and yet no result! If you could offer some solutions I would be SUPER grateful as I would love to follow this tutorial all the way through.
Hey, if your plugin is being detected with "/pl" but it's functionality isn't actually working then you should double check that the main file extends JavaPlugin and that you have "onEnable" spelt exactly how it is in the tutorial. If even the capitalization is off it won't work as expected.
@@WornOffKeys thanks, some other stuff broke while I was fiddling around trying to fix it so I am just gonna start from scratch again, but hopefully I can get it working then :)
@@WornOffKeys sorry, what do you mean by the main file extends JavaPlugin? not sure which files this is talking about sorry.
Same issue here. No errors in my code, plugin reads when I use /pl but no functionality
intellij works in a weird way so you have to hit tab when the autofill comes up rather than just typing the whole thing out if you werent already
Hi, if u could help me i'm on windows 11 and in the creating a server part im i did everything like u said like 5 times on the new versions and the old ones like 1.18.1 and when i'm typing in the cmd start.bat it doesn't work, please please please help me i have wanted to learn to develop a realy realy long time so please check it and type it here or do a new video on it. thanks anyways, the best plugin creation guide i saw in a longggggggggg time.
very easy to follow tysm
Hey there, I'm having an issue. I'm on Windows, but when I change the text document name to start.bat it doesn't change into a batch file, and when I plug it into the terminal doesn't work. It comes up with a message saying "Windows cannot find '.bat'. Make sure you typed the name correctly, and then try again" I'm unsure as to what to do and have looked it over repeatedly, everything else is correct.
Try going into the folder it is stored in, find the "view" button near the top. Find "Show file name extensions" then try.
What it is most likely doing for you, is just renaming the text file to "start.bat.txt" being still a text file but with the file name extensions, you can change the actual thing to be a batch file.
Hope this helps!
@@z06ds Thanks it helped a lot man
Didn't they update because it's very different for me.
i did everything same as the tutorials, but the console didn't show up the start up msg neither the shutting down msg, even tho it deteced thats plugin by >pl command.
whenever i put the "start.bat" thing (3:50) nothing really happens?
it just says "Windows cannot find 'bat.'. Make sure you typed the name correctly, and then try again."
but then also at the same time it might be because i had to make a text document since i couldnt make a text file, it wasnt there
@@ghostiehaha I get error Unsupported Java detected (63.0). Only up to Java 17 is supported.
@@HowToFailBotehow to fix
@@PiickleWickle i quitted
"windows cannot find '.bat' but i named it start.bat?
Why these Bukkit methods dont automatically show in my IntelliJ ?
/pl detects no plugins, followed all steps entirely. Any help?
psssst you gotta change the name of your plugin written in your yml file
it is often different from the name of your main class, and it needs to be the same for it to work
when I rename the text file start.bat it dose not convert into that file, is it because I'm on windows 11?
1:21 what if i want to make a 1.8.8 plugin but there is no option for that?
In that case you can link the 1.8.8 Spigot jar file to your project manually. I show an example of this here: th-cam.com/video/rT-gZeevmZs/w-d-xo.html
when I run start.bat in the command line nothing happens pls help
Hey! Could you please share your source code and error message (if any) in the Worn Off Keys Discord server? It is easier to get help in there. wornoffkeys.com/discord
You do a tutorial of plugin for pvp?
that plugin is not working for why
i cant chose version under 1.15.2 :(
I am not admin on my pc
Quick question, in the video, which version of JDK did you use? And do you have the link for it? I don't want to mess something up lol
how do you export it as Executable Jar file
Bruh. I just needed to watch 3 yt videos and download 3 trojans(jk) to update spigot plugins for my minehut server... why the authors cant update the plugins bro.
What Java version should I use? 8? 11? Or does it not matter?
Hi i cant do ur Course to java it sais it costs 8.50$
Whenever I try to start "start.bat" a JNI Error occurs even after updating my JDK und SE. I tried it for spigot 1.19.2 and even 1.18.2 like in the Video...
This error is telling us that our class was compiled at a higher version of Java than the version with which we tried to run it. For example, we compiled our class with Java 11 and tried to run it with Java 8.
Try java 17 or higher.
@@AFGames-yq7dw How can I change it to java 17?
Would attempt it after finishing java.
java: ')' or ',' expected
I know this tutorial is a year old but after i add the getLogger this is what shows up when trying to build the plugin again.
i know this is from a few months ago but i got the same thing and found a solution. I typed out "msg:" and thats what caused the failure, you need to just do "Hello World" and it will add the msg: for you
Did not get it. You create the project using Minecraft Development that creates a `pom.xml` file AKA Maven, and then you use IntelliJ Artifact build system, don't get it.
Fair point this will be changed in future videos and I'll update the description and pinned comment of existing videos explaining how to build the jar with maven instead.
failed to extract libraries
Can i follow this if i already have intermediate overall programming skills?
Definitely, I won't be covering Java fundamentals too much and I'll just be focusing on plugin development concepts. So if you already know how to program then it might be easier and faster for you
what do I put in for the "project SDK"?
If it has built in options I would select one of those that are at least 1.8 or higher. If you don't see any then look up how to download the Java SDK. That is the "Software Development Kit" that allows us to create software using Java
I am waiting for next part too ! But can't we create in our mobile too ? Please I don't have pc :( I will be waiting
Will the written plugins be compatible with the latest version 1.18.2?
Yes they should. A lot of what we'll cover has been part of plugin development for years and minor version changes rarely have breaking changes.
baller
hi! how do i do the little msg thingy?
that should come up automatically when you type inside of the " " symbols
Hey! When will the next part be?
A new video will be published every Tuesday
Oki
Time to become Fundy
i love you
Note to everyone: if you are on a Unix system (macOS, Linux), make sure the copy command includes the FULL directory, not just "./plugins". This is because on Linux and macOS, in order to run the shell script you must use chmod to make the script available to everyone on the system, but this changes the working directory to ~/, which means you will be copying it to your user folder.
We need plugin minecraft + vscode + kotlin :(
bring back java videos🥺
🗿
💀
🧠❓
What a pity its for outdated minecraft and only for spigot instead of more common paper :/
But nice overview though!
paper is just a fork of spigot, anything that works on spigot will work on paper
eee
I have a problem. start.bat does not detect this document for me after typing on the console.
same
have you found a solution to this problem? I'm having the same one
does this still work? start.bat doesnt work for me