HomeРазвлеченияRelated VideosMore From: NikoTheDev

How to Make a Minecraft Plugin | First Plugin (Ep. 1)

195 ratings | 10265 views
Minecraft Hositing - https://voidhost.us In Episode 1 of how to make a Minecraft plugin we begin with the basics of setting up your first IDE (integrated development environment) and how to code your first Minecraft plugin. Link to download eclipse: http://www.eclipse.org/downloads/eclipse-packages/ Link to download Java JDK: http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html Link to download spigot buildtools: https://hub.spigotmc.org/jenkins/job/BuildTools/ you can also find other videos on youtube on how to properly download all the spigot versions Social Media: Twitter - https://twitter.com/ApolloDevs Website - https://apollodevs.org Spigot Profile - https://www.spigotmc.org/members/mrbandit.143433/
Html code for embedding videos on your blog
Text Comments (107)
NikoTheDev (1 month ago)
Everyone who is saying that they don’t know whats wrong with their plugin etc. Please actually read the errors that are getting spit in your console. Do not think I showed how to do it wrong it’s obviously right if it works while I show me using the plugin on the server. Your errors are all mistakes of placing brackets or not placing certain characters. Pay close attention to what you guys are doing. PLEASE.
MrCake (13 days ago)
There is a reason why this video dident get 9,272 likes.
NikoTheDev (13 days ago)
MrCake and whats the reason?
spidertyler 2005 (17 days ago)
Bigger font plz!!!!!!!!!!!!!!!
Ronaldgameking channal (26 days ago)
Error Unexpected: https://gyazo.com/9408eb4ad471febeedc5dd28a27efbfb
Ronaldgameking channal (29 days ago)
Errors! http://www.mediafire.com/view/0ykqcf0uo00de5u/Bad_thing_need_fix.png
Ronaldgameking channal (29 days ago)
fixed, had to replace - with =
Ronaldgameking channal (29 days ago)
The VAR doesn't work
DelltaDragon (1 month ago)
ok let me start this off with great tutorial! I've wanted to get into multiple classes for a while but others just beat around the bush with them but.... I spent the whole day doing this and I'm still stuck even after trying to re-write it all out. (https://hastebin.com/odupejipok.java https://hastebin.com/exahiyoxaf.md) these are the errors I'm getting...
NikoTheDev (1 month ago)
And read your console, it clears says invalid description. You need a “:” beside aliases. Aliases: [hi]
NikoTheDev (1 month ago)
DelltaDragon read your plugin.yml
GeometryCraft Rox (1 month ago)
Can i use bukkit as well?
EhsaanPlays (1 month ago)
To add colors do § [Color Code]
NikoTheDev (1 month ago)
EhsaanPlays not everyone knows how to make that symbol, and in the Minecraft community using & has become second nature.
Nake (2 months ago)
I'm confused :/ Help? https://gyazo.com/7e1888339faf1bcef97b615c1d597841
Nake (2 months ago)
Nevermind, fixed.
Drink Bleach (2 months ago)
I just spent hour on this thing
RIOT Tropical (2 months ago)
Void Entertainment, Since you know how to make Plugins and obviously you are good with server plugin stuff, I wanted to know if I can pay you Paypal to help me work on my server and creating certain plugins and basic stuff like working on Mines. I don't need you to build for me I need someone who knows how to get stuff done and might have a professional server them self. I don't know how to make Buy Craft ranks and shops etc... Someone please get back to me soon and help me I have skype. Thanks!
RIOT Tropical (2 months ago)
Ill send you a email right now.
NikoTheDev (2 months ago)
RIOT Tropical you may shoot me an email at “[email protected]
NG Subliminals (2 months ago)
how do i download eclipse? i cant when i do idk what to do i finish downloading it and nothing happens
NG Subliminals (2 months ago)
"Minecraft Hositing" error in desc
JackThePug (3 months ago)
I did pretty much what you did but with my development company website
JackThePug (3 months ago)
edit: for the package
ItzDerock (3 months ago)
My command doesn't work. It worked then I made the plug-in how I wanted and now... Unknown command. I have 3 different commands: /ppstart /ppdied and /ppjoin
JagGillarCS Dab (3 months ago)
https://hastebin.com/osuxazeqas.java Hey! I tried making a plugin for our server that will show our Discord channel. From what I see I've done everything correctly and can't find the issue. If you had time over it would be nice if you helped me a bit, hehe. Great tutorial though, you earned yourself a subscriber!
JagGillarCS Dab (3 months ago)
I also changed the "Player p - (Player) sender;" to "Player p = (Player) sender;"
JagGillarCS Dab (3 months ago)
I re-did EVERYTHING! But it still won't work... https://hastebin.com/pesaxunuvi.java
JagGillarCS Dab (3 months ago)
Ok, I don't have time rn but I will do it later, thanks!
NikoTheDev (3 months ago)
JagGillarCS Dab yes more errors. Once again bracket placements. Pay close attention to mine. I would recommend starting ur command class from scratch so that you may better understand the lesson.
JagGillarCS Dab (3 months ago)
Hey, thanks for the quick respond! Although I changed it up it still wouldn't work? Maybe a couple of more errors somewhere else? Cheers!
Random Pubg Clips (3 months ago)
I don't understand why it's not working, everything works fine until I put the jar into my plugins folder for my server, it just doesn't register it in /plugins, nor does /hello work.
NikoTheDev (3 months ago)
Also your plugin.yml is incorrect. Add two spaces before aliases and description under hello:
NikoTheDev (3 months ago)
Random Pubg Clips obviously my code works, i show exactly how to do it. You most likely missed a step.
Random Pubg Clips (3 months ago)
Update to that, it doesn't work at all, doesn't register the plugin. https://hastebin.com/anoyufirox.java that is what I did.
Random Pubg Clips (3 months ago)
Nvm I figured it out, you never said to do the "ctrl + shift + o" but I saw you need to do it to import it in other videos
NikoTheDev (3 months ago)
Put your code into a hastebin and link me.
LoganSonicWave (4 months ago)
For me 2 Install Eclipse, what do i do? i have the Zip folder and 2 .exe files, what do i do? xD
The Girl GG (3 months ago)
You go out of the zip file and right click it. Then click "Extract all" and save the new folder to somewhere you want it to be. Then you should be good to go!
Jake Woods (4 months ago)
Played on 0.5
whenofficial (3 months ago)
0.5 speed :)
NikoTheDev (4 months ago)
What?
Brancy10 (4 months ago)
I think he got momentarily possessed at 13:15
NikoTheDev (4 months ago)
Brancy10 editing mistake lol
Visen Games (4 months ago)
when I try to use the command nothing happens
Darkness (4 months ago)
Subscribed,I'm the 90th subscriber ;)
WoodCollector (4 months ago)
[17:30:19 ERROR]: Could not load 'plugins\HelloWorld.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/woodcollector/helloworld/Main has been compiled by a mo re recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0 How do I fix this? Great Tutorial BTW I only got one problem (I think) and It's this one. Seems like my "Java Runtime" is a newer version than my servers? I'm just guessing I have no idea what this is.
Tra La (21 days ago)
I could help, add me on discord skrrt#4452
WoodCollector (4 months ago)
Oh, sorry I'm new to this, that's why I'm here
NikoTheDev (4 months ago)
No that is for your computer
WoodCollector (4 months ago)
For the server I'm guessing since it says so in the link.Thanks for the quick reply
NikoTheDev (4 months ago)
Download this http://www.oracle.com/technetwork/java/javase/downloads/server-jre8-downloads-2133154.html
Lokky Prime (4 months ago)
Hey dude dont get discouraged by other people theyre opinions dont matter if you like doing this Just keep doing it
Graeson Kujath (4 months ago)
What theme is the color and fonts?
NikoTheDev (4 months ago)
Logu I have a video on it.
TO - esper2001 (4 months ago)
I understand how to script a plugin but when i put the jar file in my plugins folder and restart the server the folder of my plugin is not showing and i did every thing you said
NikoTheDev (4 months ago)
I would recommend to restart and follow the video a bit more carefully because 99.9% of the people who have followed the video do not experience any issues.
SuperHD (5 months ago)
i installed my plugin and not loaded
NikoTheDev (4 months ago)
I recommend watching the video again but this time a bit more carefully.
EpicMCGamingYT (5 months ago)
My Permission Name Is Red!! How do I Fix This??
EpicMCGamingYT (5 months ago)
NVM I have fixed this
ReDollar (6 months ago)
shit
Louis Hancock (6 months ago)
[16:54:51 ERROR]: Could not load 'plugins\Vaults.jar' in folder 'plugins' org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:154) ~[Server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:133) [Server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugins(CraftServer.java:292) [Server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:198) [Server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525) [Server.jar:git-Spigot-db6de12-18fbb24] at java.lang.Thread.run(Unknown Source) [?:1.8.0_121] Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml ... 6 more please help :(
DuckysPlaying (4 months ago)
ok
NikoTheDev (4 months ago)
If you have named your packages or classes differently than I have in the video then you can't have the same plugin.yml as me.
DuckysPlaying (5 months ago)
@Void Enterainment How do i fix it?
Louis Hancock (6 months ago)
Void Entertainment I read the plugin.yml file and it was the same as your file...
NikoTheDev (6 months ago)
Louis Hancock have you even read the error? Invalid plugin.yml
GoEasyPlease Games (6 months ago)
Hey nice job but I was wondering if you had an recommendations on websites to learn java?
Pheen (2 months ago)
https://www.youtube.com/playlist?list=PLFE2CE09D83EE3E28
Luuk Laenen (2 months ago)
this is where i learn java: https://www.udemy.com/java-tutorial/learn/v4/overview
GoEasyPlease Games (6 months ago)
And please continue this series
GoEasyPlease Games (6 months ago)
And also i used codecademy but it didn't help at all... I learned stuff like booleans for loops array lists and other weird things you didn't even you use (besides boolean)
Java 1670 (8 months ago)
how did you get your eclipse to look like that?
Java 1670 (8 months ago)
Thanks!
Laurence F. Photography (8 months ago)
1 | Go to your navigation bar. 2 | Hover over the "help" text. 3 | Click "Eclipse Marketplace" 4 | Type "Theme" in the marketplace.
Colonial Mapper (9 months ago)
When I try to mke the package inside the other one it just takes it out
Ryan Mawhinney (11 months ago)
thanks now i understand how to make mine craft plugins!!!!!
Wesley Heijman (11 months ago)
Could not load 'plugins\HelloWorld.jar' in folder 'plugins' All my work for nuffin
NikoTheDev (11 months ago)
it can be anything but it is proper to have the structure i have listed. Also just because you have no red does not mean you have not done anything wrong
Wesley Heijman (11 months ago)
+Void Entertainment I did exactly the same. I had no red anywhere. But I have 2 questions - do I need some sort of account to create me.Name.Project or can it be anything? - When I add a file it opens Notepad++ and not Eclipse. I then decided to make the author version etc to put in there and hope it would work. Could that be the issue and how to fix it?
NikoTheDev (11 months ago)
Wesley Heijman then you have followed the video wrong
RealGraphics (1 year ago)
make more please this was very imformative
NikoTheDev (1 year ago)
realparkour thanks!
RealGraphics (1 year ago)
ok thank you sub from me
NikoTheDev (1 year ago)
realparkour new episode coming soon!
MysterySources (1 year ago)
Nice video! I understand your code but if you left me to create my own I'd have no chance.... xD
The Golden Game (8 months ago)
Hello my eclipse wont show me the public boolean option? dosent say the onCommand option either it worked the first time not this one
Void Entertainment Code academy wont help much, it gives you the awnsers.
NikoTheDev (1 year ago)
TakeThatL yes of course! Just make sure you choose Java not javascript
MysterySources (1 year ago)
ok will codecademy help along side this?
NikoTheDev (1 year ago)
TakeThatL haha, you just have to keep doing it and methods become second nature xD
You know...some servers are actually 1.11.2 but they have plugins that re-create 1.8 pvp ;)
NikoTheDev (1 year ago)
TEAM HIGHRISE there are other reasons to which i do not like it.
When i type "extends JavaPlugin {" it says on the left "JavaPlugin cannot be resolved as a type" What do i do?
NikoTheDev (1 year ago)
Have you added the spigot jar dependency to your build path?
Nova1G (1 year ago)
Yo dude please continue.. and can make your own essentials plugin like adding commands like /pay /fly /tp/heal /feed etc
MrCake (13 days ago)
Just use Essentials...
NikoTheDev (1 year ago)
JavaCoded will be doing something similar to that. Gotta do the basics first. Cant just show you how to do it to copy, you have to learn it haha
Nova1G (1 year ago)
Also gamemodes too /gmc /gms
Nova1G (1 year ago)
Do this for next episode start this something new pls

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.