**How to export the plugin to your server** To export the plugin, right click on your project --> export --> Java Folder --> JAR File --> Give the plugin a destination --> Done! Note: Usually I just export it right into my servers plugin folder if you have a personal server (Check out ep 2 if you do not). Sorry I missed going over this! Check out Ep3 for more info :) Thank you.
dude i appreciate you so much the first video i saw was like "the fastest way to do this with no experience" and it was 30 minutes with a lot of buildup then basically 20 minutes in he was like "if you learn how to make a plugin any other way than through my paid program youre gonna fail in life, my program is the only real way for you to learn and the link is in the description :)" and yet in this video you actually taught me a lot within the span of 20 minutes? its almost like i have the capacity to learn for free if someone is actually willing to teach me for free! astonishing! (note ik you probably make money from this with ads, at least i hope you do bc you deserve it, and i get that ppl deserve to get paid for their time and effort i just feel like the way to do that is not through giving a big video on why paying a specific person is your only option, and i appreciate that you actually taught us things at face value)
I definitely love the support, especially because I’ve been out of a job for 8 weeks. However, I did not make this series for money. I wanted to have a bigger part in the Minecraft community and help people create awesome things! Information should be shared to all so that we can grow and become better. Thanks for the awesome reply, wish you luck in your future endeavors!
@@hbplayzishere maybe but idk how they would, since his lessons dont require minecraft or anything thats theirs they dont have much to take away from him
@@CodedRed hey hello , can you please make me aware that is there still scope in making Minecraft plugins? I mean are ppl still paying for Minecraft plugins?
I do simpler codes like Lua and so I understand basics of coding, but this is the only tutorial I’ve seen that doesn’t just tell you to make a package, but explains how and why you do this and that with the package
really well explained difference between u and others is that they just start typing without explaining then didnt tell about that ctrl shift o thing and just going on on it was just like copy their code nothing was learned again tysm
I appreciate you actually explaining, the last series I watched didn't explain anything despite it being for begineers so I beat myself up for not understanding. I am glad there's people like you who actually try to explain what you're doing because a lot of channels assume that we already know a lot in this field.
As someone with no background in java, but some cpp and python experience, this tutorial ia excelent. Javas syntax is similar to cpp, and i can pick up on the differences in your explanation. Bravo and thanks
Been searching for a long while trying to find a way for me to learn some coding. Your channel is helping me so much. I just finished this plugin and it actually works for me! I think making a point to tell someone they needed a server that's compatible with plugins would be a good point to make too. That was the problem I was having trying to get the plugin to work.
For those having trouble importing the .jar file into the Eclipse Project, I figured it out: You probably have v13 installed. Load it with 1.8 and it should be all good!
At around 11:32 you are explaining on how to make something happen. So lets say I wanna player to type /c and then get spectator then what should I write there? Cheers!
I'm really interested in getting started at coding and really appreciate these tutorials. I made my own version of this but so its a discord command aha very easy to most hell for me lol.
Im so thankful for your tutorial it helped me understand it a lot better and I ended up making a /dupe plugin that dupes items in ur hand! thank you once again ima sub and turn on notifications!
So uh I'm a huge noob when it comes to this type of stuff... is it possible to add the plugin to a singleplayer world and how would you do that? I tried dragging the plugin into the world folder but it didn't work. Anyways, your voice is so calm and this tutorial actually helped me understand some stuff so thank you so much! I don't own a server so I haven't been able to test it out, and that's also why I asked if you could add it to singleplayer.
Whenever I made my plugin and started my server it told me I had an invalid plugin.yml. Here is what I had in the text main: me.Venom.ManhuntV2.Main name: Manhunt version: 1.0 author: Venom api-version: 1.15 commands: hunter:
If you don't mind me masking, is there a specific reason you didn't put a space between the two forward slashes and the word 'shutdown' at 7:15? //shutdown or // shutdown ?
I think i figured it out! When you type // *some text* it is not registered by Eclipse as code and is just text for reference? Is that a correct assumption?
i have a question im sorry to bother, but when i tried to import player, it didnt work at 9:59, was it because I have to retype it or do i have to do everything over again? sorry nvm i figured to doo it all again and im fine
Hi, I was trying to create this simple plugin, all the code is perfect and with no mistakes but when I create the plugin.yml in the "author" and "hello:" shows a red sub, also when I install the plugin in the server it doesn't show up in the /plugins from essentials, and when I input /hello nothing happens, it says "Command doesn't exist", any solution to my problem pls?
@@Trainsallday Hi, yes, I'm using 1.15 and I could solve the issue, my problem was that I put spaces in the line "name" of the plugin.yml, it needs to be without spaces, also the red subs doesn't matter, they are appearing (At least in my case) due to the spelling of the words
I got stuck on the part 5:22 as my Eclipse is telling me the "JavaPlugin" Cannot be resolved into a Type. Edit: Fixed it. I was using the Build Tools and not the Spiggot file. Also was having issues with directories. I just used the Direct download of the .jar instead of playing with my Sys32 files.
Yea well this tutorial is good and all but every time I follow any tutorial it tells me that my plugin.yml file isn't there even if it is there. Can someone help me?
Hello! Write a plugin - an analogue of this is called Hover Chat, its essence is that when you hover over the player's nickname in the chat, a little information is displayed
guys if this dosent work even aftr debugging ur code, right click on ur project > java compiler > uncheck the second checkmark > change compiler compilance level to 1.8 note : this works if u get this error on console Could not load 'plugins\Explode.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: myplugin/Plugin has been compiled by a more recent version of the Java Runtime (class file version 59.0), this version of the Java Runtime only recognizes class file versions up to 52.0
This will work with all versions of MC. There are some differences when you start doing more advanced things however, especially in 1.13+ this beginner series will work no matter the version :)
This is an amazing set of tutorials! I have a question however. I'm trying to edit the horse entity to change the height a player sits on it and how they sit on it (their arms and legs extended and body rotated forward) I've made a 3D model for the body to look like a lightcycle for this, and have some sound files, however, is it also possible to change how long the sound files are, and the length between being called for the gallop? That way I can have one long file. And can I stop that file on the horse's movement stopping? Thank you if you see this!
Hey! Great tutorial but I keep getting an error. It says The import org.bukkit.entity.Player cannot be resolved on the import statement for org.bukkit.entity.Player when I import player at 9:58. Can you please help? I would appreciate it so much. Thanks for you help!
Help on the rainbow text that says "have fun!" part of the code it says The method translateAlternateColorCodes(char, String) in the type ChatColor is not applicable for the arguments (String, String)
Hey! You're maybe using double quotation marks (" ") instead of single quotation marks (' '). The first argument for the method translateAlternateColorCodes is a character. In Java, characters go between single quotes. The second argument is a string. In Java, strings go between double quotes. So, in short: make sure you typed '&' and not "&".
So I was following the tutorial step for step, but when I go to add the spigot jar file to the project, there is no visible change and no "References libraries" tab on the package explorer. Will this be an issue moving forwards or is it just because of programs updates over the months?
How do you make the Main.yml on a mac, when I try I get this "An internal error occurred during: "Search Marketplace for compatible editors (*.yml)". java.lang.NullPointerException"
I know this has been asked multiple times but I don't know if I'm exporting my plugin correctly, could you kindly help me here? Right click project > Export > Click "JAR file" > Click Next > name jar file and export to folder > put the .jar in the server. I'm using spigot 1.15.2 spigot jar and my server is 1.15.2 and I followed everything you did, but when I restart the server it's not detecting the plugin. What do you think I've done wrong?
When the server isn’t detecting your plugin this musically means you have an error in your plugin.yml. The plugin.yml is very case sensitive so double check your info. Also check console for error messages.
I also had the same problem when I realized that I was trying to create the plugin using JavaSE-12/13. The server wouldn't detect my plugin until I recreated the project using JavaSE-1.8. So make sure you are creating the project using JavaSE-1.8 instead of the latest versions like JavaSE-12 or 13.
I am doing this in 1.16.3 because it is backwards compatible but I have exported the Jar file and put it into my plugins folder and it still does not work :/ I have no runtime, Arithmetic, logic errors etc Im wondering if its just because Im doing it in 1.16.3
If anyone else had trouble importing the external spigot.jar file, an easy fix is to make sure you are creating the project using JavaSE-1.8 instead of the latest versions like JavaSE-12 or 13.
Must be a new thing that was added, you can just create an account. It's free and once created you will be able to download it. I did, however, went ahead and downloaded the windows JRE and put it in my dropbox if you would like to download it from there: www.dropbox.com/s/rin7ntz5zllbi36/jre-8u241-windows-x64.exe?dl=0
When I boot up my spigot server, it says that my plugin could not be loaded because of it was compilted in a version too new (59) and that I need to compile it in 55 I have solved this, I was compiling in a too new version, to fix it I right clicked on my main folder (HelloWorld) and then went to properties and compiling settings, disabled the use compliance option and changed the dropdown to 1.8
Noticed that I was using a much older JRE file... (probably from a previous RUclipsr, not entirely sure, but it definitely broke the plugin) Once I installed the 1.8.0_201 I was able to do exactly what you were able to do. Before the Compiler and Build Path were giving me warnings and when I created the new project i couldn't even say HelloWorld it forced me to use helloworld
It’s dictated by the Server. Before 1.17 came out, almost all minecraft servers were running on Java 1.8. However, if you are coding a plugin for Minecraft 1.17 you have to use Java 16
18:33 my text isn't going yellow like that and the command isn't working ask any questions about what i have done Main: import org.bukkit.ChatColor; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.bukkit.plugin.java.JavaPlugin; public class Main extends JavaPlugin { @Override public void onEnable() {
I've already run into an issue in the first few minutes. For some reason, eclipse does not add the spigot jar to libraries. I followed the exact steps shown in the video. How can I fix this?
When at the start i say extends JavaPlugin, it just underlines it and says in the debug bar "1 warning: Build path specifies ex executionable enviromental jar" and that there are no jre that are compatible with the workspace
Hey I cant seem to download the Oracle JRE, someone on reddit says it no longer really used. Is there a different JRE i should get? like amazons JRE will that work?
**How to export the plugin to your server**
To export the plugin, right click on your project --> export --> Java Folder --> JAR File --> Give the plugin a destination --> Done!
Note: Usually I just export it right into my servers plugin folder if you have a personal server (Check out ep 2 if you do not).
Sorry I missed going over this! Check out Ep3 for more info :) Thank you.
Hey coded, i use atom and im currently trying to work on a reverse crafting plugin, but i dont know how to export, its different. can you help?
that would have been nice 10 minutes ago xD i didn't read comment section lol also cant you edit exporting the plugin in?? or is that not that simple?
@@ItsSpaceManPlays if your talking to me i have no idea i quit lmfaoo
I watched like 4 tutorials and only this one worked, ur a legend
Probs cuz it's newer
@@legendaryblazit7930 yes
So I’m big dumb erm when I save the thing I don’t see the .jar can you help
@@lllllll2552 right click then "export" Then choose java then the durectly
(Click java 3 times)
Yahia Mohamed cool
dude i appreciate you so much
the first video i saw was like "the fastest way to do this with no experience" and it was 30 minutes with a lot of buildup then basically 20 minutes in he was like "if you learn how to make a plugin any other way than through my paid program youre gonna fail in life, my program is the only real way for you to learn and the link is in the description :)"
and yet in this video you actually taught me a lot within the span of 20 minutes? its almost like i have the capacity to learn for free if someone is actually willing to teach me for free! astonishing!
(note ik you probably make money from this with ads, at least i hope you do bc you deserve it, and i get that ppl deserve to get paid for their time and effort i just feel like the way to do that is not through giving a big video on why paying a specific person is your only option, and i appreciate that you actually taught us things at face value)
I definitely love the support, especially because I’ve been out of a job for 8 weeks. However, I did not make this series for money. I wanted to have a bigger part in the Minecraft community and help people create awesome things! Information should be shared to all so that we can grow and become better. Thanks for the awesome reply, wish you luck in your future endeavors!
Raphael Morgan you know mojang could take that down as it may violate their eula ij certain ways
@@hbplayzishere maybe but idk how they would, since his lessons dont require minecraft or anything thats theirs they dont have much to take away from him
Your channel is seriously underrated your content is amazing for your sub count and the content is very high quality. This is amazing, thank you.
Thank you very much!
eat your cereal
Gorgest Boi I agree
Totally agree but can't upvote dude, 69
@@CodedRed hey hello , can you please make me aware that is there still scope in making Minecraft plugins? I mean are ppl still paying for Minecraft plugins?
I do simpler codes like Lua and so I understand basics of coding, but this is the only tutorial I’ve seen that doesn’t just tell you to make a package, but explains how and why you do this and that with the package
code?
really well explained
difference between u and others is that they just start typing without explaining then didnt tell about that ctrl shift o thing and just going on on it was just like copy their code nothing was learned
again tysm
Ah, first the customisation, then the coding. This is my shit
how is this comment even allowed on youtube?
@@ssskits8747 ..?
@@eclipzyte7870 its because he said the sh word!!! seriously this guy needs to grow tf up, welcome to the internet ofc people will fucking swear
@@spencermacca lmao
@@ssskits8747 swearing is common on youtube bro
I appreciate you actually explaining, the last series I watched didn't explain anything despite it being for begineers so I beat myself up for not understanding. I am glad there's people like you who actually try to explain what you're doing because a lot of channels assume that we already know a lot in this field.
Absolutely wonderful! I've been learning Java and trying to do this for ages and this just helped me make my first working plugin!
So I’m big dumb erm when I save the thing I don’t see the .jar can you help
As someone with no background in java, but some cpp and python experience, this tutorial ia excelent. Javas syntax is similar to cpp, and i can pick up on the differences in your explanation. Bravo and thanks
AHH THE FEELING OF COMPLETING SOMETHING IS SO SATISFYING
and your pfp helps understanding
Very straight forward and simple! Props to this man 👏
Player player = (Player)
Welcome to Java
It is logic. You just don't understand it 🙂
@@Engineer9736 It is a thing of Java. You just don't understand it 🙂
@@nostalgia5031 this command is for the class
Player
this command is the name
player
and this is what we wanna run
player
Player player = player
Thx m8, not a lot of great tutorials on plugin creation but this was pretty easy to follow. Awesome content, earned a like and sub
Yes! I finally turned my server into an angry Australian!
Been searching for a long while trying to find a way for me to learn some coding. Your channel is helping me so much. I just finished this plugin and it actually works for me! I think making a point to tell someone they needed a server that's compatible with plugins would be a good point to make too. That was the problem I was having trying to get the plugin to work.
For those having trouble importing the .jar file into the Eclipse Project, I figured it out:
You probably have v13 installed. Load it with 1.8 and it should be all good!
i have the problem! what is the v13 of? eclipse version? i just downloaded the last one
@@seabarrel591 yeah eclipse, you want to install the version in his description.
This is fantastic dude, exactly what I've been looking for. Thanks a bunch!
YES FINALLY, a plugin that actually works!, thanks btw
You're the only one that actually explains, you're the best!!
This is amazing thank you so much for all the tutorials you took your time to create.
Just had to call Oracle's customer support to be able to download the JRE.. They did a great job as I now have it on my computer, next step!
I will be using this to help me work on a server and some really cool plugins,ill shout you out if i get big or something, ur a legend bro
It worked Thank you soo much and the community on discord
At around 11:32 you are explaining on how to make something happen. So lets say I wanna player to type /c and then get spectator then what should I write there?
Cheers!
Ty soooooooooo much for creating these series imma binch all of it :D.
I subbed!
when the first thing this dude did was change theme to dark, i knew he wasn't messin' around
Fantastic. That's what I've been waiting for ;D Keep going m8!
I'm really interested in getting started at coding and really appreciate these tutorials. I made my own version of this but so its a discord command aha very easy to most hell for me lol.
you are so kind . Most of people now they don't really want to share the tutorial
Agreed with everyone else it's great content and only this episode have made me come so far into plugin coding;) I will definitely sub
Im so thankful for your tutorial it helped me understand it a lot better and I ended up making a /dupe plugin that dupes items in ur hand! thank you once again ima sub and turn on notifications!
I'm used to SourceMod sourcepawn plugin coding and I find this fairly similar. Can definitely tell you did well on the tutorial throughout the video.
I LOVE U, i speak little in english (I am from Poland) but this is first tut which gave me knowledge how to start! THANK YOU
wow! you're so awesome! i love your tutorials!!! :)
Thank's so much! I appreciate you so extremely much this helped out a lot!
Finally something that actually introduces me, a non-java programmer to making plugins. Why the [beep] isn't this higher in search results?
You make amazing tutorials! You're the best! ❤️❤️❤️
So uh I'm a huge noob when it comes to this type of stuff... is it possible to add the plugin to a singleplayer world and how would you do that? I tried dragging the plugin into the world folder but it didn't work. Anyways, your voice is so calm and this tutorial actually helped me understand some stuff so thank you so much! I don't own a server so I haven't been able to test it out, and that's also why I asked if you could add it to singleplayer.
Check out episode two, it explains how to make a test server.
@@CodedRed okay thank you!
thank you so much,
the first time it didn't work but i fixed it
Holy shit, nice video dude, seriously underrated!
For A Java Beginner This Is So Helpful Thanks
Whenever I type "/hello" while on my test server the server sees that I issued the command but the plugin does not respond
Splinterun remove the / because I think it is getting messed up with normal mc commands
And change the code so it matches :)
So I’m big dumb erm when I save the thing I don’t see the .jar can you help
I’m big dumb erm when I save the thing I don’t see the .jar can you help
Bro you deserve more then 1 million subs really!!
Your explanation is very clear to understand!
Thank you so much, you made this so much easier for me!
Nice tutorial!!
Is File>Export>As Jar>Check both things
The correct way to export it to get it to run as a plugin?
Great video I have watched the Java videos from TheSimpleInformatics (TheSimpleClub) and now I want to learn plugging.
Whenever I made my plugin and started my server it told me I had an invalid plugin.yml. Here is what I had in the text
main: me.Venom.ManhuntV2.Main
name: Manhunt
version: 1.0
author: Venom
api-version: 1.15
commands:
hunter:
Dude im getting the same error
Royalzombie222 I fixed it. You have to put the plugin.yml in the src
@@russ1064 He really pointed that out in the video very clearly lol.
@@hatered6434 Check your spacing in commands: it should be 2 spaces before hunter:
are you making the assassin thing that dream and George do
If you don't mind me masking, is there a specific reason you didn't put a space between the two forward slashes and the word 'shutdown' at 7:15? //shutdown or // shutdown ?
I think i figured it out! When you type // *some text* it is not registered by Eclipse as code and is just text for reference? Is that a correct assumption?
Thanks for the awesome tutorial!
i love ur advanced help plugin!
Thank you! :D
thank you so much you are the best :) love the vid
Wow this is super useful, thank you so much!!!!
Thank you this really helped my out on wanting to code plugins
Awesome to hear!
Its Not Working for some reason :( i exported and put it in plugins folder and didnt work
same
i have a question im sorry to bother, but when i tried to import player, it didnt work at 9:59, was it because I have to retype it or do i have to do everything over again? sorry nvm i figured to doo it all again and im fine
Hard to help without seeing your code. Feel free to join the help discord so we can further help you!
Hi, I was trying to create this simple plugin, all the code is perfect and with no mistakes but when I create the plugin.yml in the "author" and "hello:" shows a red sub, also when I install the plugin in the server it doesn't show up in the /plugins from essentials, and when I input /hello nothing happens, it says "Command doesn't exist", any solution to my problem pls?
I have the same problem are you using 1.15?
@@Trainsallday Hi, yes, I'm using 1.15 and I could solve the issue, my problem was that I put spaces in the line "name" of the plugin.yml, it needs to be without spaces, also the red subs doesn't matter, they are appearing (At least in my case) due to the spelling of the words
LocoMania33 yea in the ymc I put “Name” not “name”
@@Trainsallday I don't know if it has something to do, but in the video CodedRed writes "name:", without capitals
took me 2 times to watch it to understand thanks so much :)
I got stuck on the part 5:22 as my Eclipse is telling me the "JavaPlugin" Cannot be resolved into a Type.
Edit: Fixed it. I was using the Build Tools and not the Spiggot file. Also was having issues with directories. I just used the Direct download of the .jar instead of playing with my Sys32 files.
Yea well this tutorial is good and all but every time I follow any tutorial it tells me that my plugin.yml file isn't there even if it is there. Can someone help me?
There is showing error in those override options , though i am copying everything
same
@@tallgoosejerry3397 idk y still its showing
I have been trying to make my plugin work for an hour and the server just doesn't even see it :/. There are no errors in the code.
It is either a plugin.yml issue or you are using the wrong java version. Use 1.8 java.
@@CodedRed Thank you! It was because I put a space in the name of the plugin in the yml file.
Oh wow just found this, thank you so much!
Hello! Write a plugin - an analogue of this is called Hover Chat, its essence is that when you hover over the player's nickname in the chat, a little information is displayed
guys if this dosent work even aftr debugging ur code,
right click on ur project > java compiler > uncheck the second checkmark > change compiler compilance level to 1.8
note : this works if u get this error on console
Could not load 'plugins\Explode.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: myplugin/Plugin has been compiled by a more recent version of the Java Runtime (class file version 59.0), this version of the Java Runtime only recognizes class file versions up to 52.0
I dont understand, do you drag in your project in the plugins folder or what?
I export the project straight into my plugins folder, since my server is ran from my PC.
@@CodedRed oh you export it, ty, i didn't know lol
I don't make minecraft plugins but I watched this anyway.
Will this work with 1.16? What changes do i have to make? What do I have to do differently
This will work with all versions of MC. There are some differences when you start doing more advanced things however, especially in 1.13+ this beginner series will work no matter the version :)
@@CodedRed Thank You! Love the series, keep it up!
This is an amazing set of tutorials! I have a question however. I'm trying to edit the horse entity to change the height a player sits on it and how they sit on it (their arms and legs extended and body rotated forward) I've made a 3D model for the body to look like a lightcycle for this, and have some sound files, however, is it also possible to change how long the sound files are, and the length between being called for the gallop? That way I can have one long file. And can I stop that file on the horse's movement stopping? Thank you if you see this!
Hey! Great tutorial but I keep getting an error. It says The import org.bukkit.entity.Player cannot be resolved on the import statement for org.bukkit.entity.Player when I import player at 9:58. Can you please help? I would appreciate it so much. Thanks for you help!
Help on the rainbow text that says "have fun!" part of the code it says The method translateAlternateColorCodes(char, String) in the type ChatColor is not applicable for the arguments (String,
String)
Hey! You're maybe using double quotation marks (" ") instead of single quotation marks (' ').
The first argument for the method translateAlternateColorCodes is a character. In Java, characters go between single quotes.
The second argument is a string. In Java, strings go between double quotes.
So, in short: make sure you typed '&' and not "&".
@@marianoalipi yes, thats what i was doing wrong tysm!
how do download the spigot build tools? is that the thing you selected in 3:18?
watch the second episode
So I was following the tutorial step for step, but when I go to add the spigot jar file to the project, there is no visible change and no "References libraries" tab on the package explorer. Will this be an issue moving forwards or is it just because of programs updates over the months?
How do you make the Main.yml on a mac, when I try I get this "An internal error occurred during: "Search Marketplace for compatible editors (*.yml)".
java.lang.NullPointerException"
@@systhecat It that a sofware I need to download?
I know this has been asked multiple times but I don't know if I'm exporting my plugin correctly, could you kindly help me here?
Right click project > Export > Click "JAR file" > Click Next > name jar file and export to folder > put the .jar in the server.
I'm using spigot 1.15.2 spigot jar and my server is 1.15.2 and I followed everything you did, but when I restart the server it's not detecting the plugin. What do you think I've done wrong?
When the server isn’t detecting your plugin this musically means you have an error in your plugin.yml. The plugin.yml is very case sensitive so double check your info. Also check console for error messages.
I also had the same problem when I realized that I was trying to create the plugin using JavaSE-12/13. The server wouldn't detect my plugin until I recreated the project using JavaSE-1.8. So make sure you are creating the project using JavaSE-1.8 instead of the latest versions like JavaSE-12 or 13.
How do i get the the plugin to the server other than that its a good and easy to follow tutorial
I am doing this in 1.16.3 because it is backwards compatible but I have exported the Jar file and put it into my plugins folder and it still does not work :/ I have no runtime, Arithmetic, logic errors etc Im wondering if its just because Im doing it in 1.16.3
The same is happening to me. I am also running it in 1.16.3
I got mine to work in 1.16.3 my problem was on the plugin.yml I typed
command:
Hello:
instead of
commands:
Hello:
apparently, the S is very important.
@@NothicCreates yo thank you I will give that a look
If anyone else had trouble importing the external spigot.jar file, an easy fix is to make sure you are creating the project using JavaSE-1.8 instead of the latest versions like JavaSE-12 or 13.
To download Java JRE it says i need an acc but i don`t have one what do i do now
Must be a new thing that was added, you can just create an account. It's free and once created you will be able to download it.
I did, however, went ahead and downloaded the windows JRE and put it in my dropbox if you would like to download it from there: www.dropbox.com/s/rin7ntz5zllbi36/jre-8u241-windows-x64.exe?dl=0
You can also just bypass the account part with a certain method
When I boot up my spigot server, it says that my plugin could not be loaded because of it was compilted in a version too new (59) and that I need to compile it in 55
I have solved this, I was compiling in a too new version, to fix it I right clicked on my main folder (HelloWorld) and then went to properties and compiling settings, disabled the use compliance option and changed the dropdown to 1.8
Noticed that I was using a much older JRE file... (probably from a previous RUclipsr, not entirely sure, but it definitely broke the plugin)
Once I installed the 1.8.0_201 I was able to do exactly what you were able to do.
Before the Compiler and Build Path were giving me warnings and when I created the new project i couldn't even say HelloWorld it forced me to use helloworld
Thank you Coded red!
When i export plugin, plugin.yml is being empty and my plugin doesn't working i checked it with java decompiler gui.
Why is plugin.yml is being empty
2:55 why JavaSE 1.8? is that dictated by MC/Spigot/personal choice?
I ask as someone coming in with no clue what I'm doing
It’s dictated by the Server. Before 1.17 came out, almost all minecraft servers were running on Java 1.8. However, if you are coding a plugin for Minecraft 1.17 you have to use Java 16
@@CodedRed awesome thank you
I am getting "Could not load 'plugins\helloworld.jar' in folder 'plugins' "? any ideas?
Plugin.yml issue most likely, feel free to join my help discord to receive further help :)
Thank you, this is so helpful!
18:33 my text isn't going yellow like that and the command isn't working ask any questions about what i have done
Main:
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;
public class Main extends JavaPlugin {
@Override
public void onEnable() {
//startup
//reloads
//plugin reloads
}
@Override
public void onDisable() {
//shutdown
//reloads
//plugin reloads
}
// /hello
I am from Ukraine, and i know English not pretty good, but i understand you okay! You are the best coder that i saw.
Its says when i try to import This element neither has attached source nor attached Javadoc and hence no Javadoc could be found
Great tutorial! I subbed :)
I'm gonna start learning java from 2021 February so Imma just save this video and sub to you beforehand.
How is it going?
I've already run into an issue in the first few minutes. For some reason, eclipse does not add the spigot jar to libraries. I followed the exact steps shown in the video. How can I fix this?
nvm figured out how to do it manually
my thing make me make a module and i cant get the reference thing
If you are using Eclipse 2020, I recommend switching to 2019 or make sure to import Spigot into the class path section.
8:59 im not getting the options it just stays if (label.eq)
Will this work in a 1.12 server? Or will only certain things work but the general idea works?
amazing vids ! thanks sm you helped me alot.
When at the start i say extends JavaPlugin, it just underlines it and says in the debug bar "1 warning: Build path specifies ex executionable enviromental jar" and that there are no jre that are compatible with the workspace
uhh the command works but nothing shows up when I type it in chat or in the console. can you help?
Hey I cant seem to download the Oracle JRE, someone on reddit says it no longer really used. Is there a different JRE i should get? like amazons JRE will that work?