Minecraft Plugin Tutorial (in Kotlin) | Project Setup

  Рет қаралды 119,750

Legitimoose

Legitimoose

Күн бұрын

Пікірлер: 256
@TyricSatyric
@TyricSatyric 2 жыл бұрын
1:08 "today we're making a plugin, a spigot plugin, that's why we're going to select, paper" -Legitimoose 2022
@bitwhyze
@bitwhyze Жыл бұрын
Paper is based on spigot
@TyricSatyric
@TyricSatyric Жыл бұрын
@@bitwhyze ik but they are not the same thing, it's like saying "mobile phones are based on fixed telephones", that's true but the are not the same thing
@qanti6582
@qanti6582 11 ай бұрын
@@TyricSatyricit's exactly the same wtf is u yapping about
@TyricSatyric
@TyricSatyric 11 ай бұрын
it takes ZERO effort to make a google search before saying something that doesn't make sense@@qanti6582
@J4yT3a
@J4yT3a 11 ай бұрын
@@qanti6582 no, they are not. moose explained it in the video.
@The10ie
@The10ie 2 жыл бұрын
best plugin tutorial i've ever seen in my life! I would follow each tutorial he makes.
@bubbagrenade
@bubbagrenade Жыл бұрын
agreed
@Legitimoose
@Legitimoose 2 жыл бұрын
At 9:05: Use the latest version from here papermc.io/using-the-api At 7:14: Change the api-version to your desired version (e.g. 1.19) Don't forget to reload Maven!
@MayankNotFound
@MayankNotFound 2 жыл бұрын
Plz bring more episodes like building other types of plugin and more knowledge
@vithrn123
@vithrn123 2 жыл бұрын
bro finally i can find a tutorial of kotlin plugins for minecraft that isn't in german
@privatechannel1272
@privatechannel1272 2 жыл бұрын
Why don't just use Visual Studio?
@vithrn123
@vithrn123 2 жыл бұрын
@@privatechannel1272 like he said in the video since jetbrains made kotlin the easiest way to convert java to kotlin while coding is with jetbrain's Intelij
@pancakehiatt
@pancakehiatt 2 жыл бұрын
@@vithrn123 except not cause he just says to figure it out yourself in the end smh
@SyberiaK
@SyberiaK 6 ай бұрын
Thanks for the tutorial! I was in fact smashing my head in the wall trying to figure out how to do it, and you made it so simple and convenient to follow! Of course, in 2024 some things have changed like creating a new project (just choose "Minecraft" -> "Bukkit" in "Platform" -> "Paper" in "Bukkit Platform", every other setting is still there, but on a single screen) or converting the project from Java to Kotlin (right-click on your .java file, not the project root), and I'd rather use Gradle for compiling, but the steps are almost exactly the same. Great job!
@WafflesTk
@WafflesTk 4 ай бұрын
Hey can you point out the directory of the .java file?
@SyberiaK
@SyberiaK 4 ай бұрын
@@WafflesTk hey there, it's your main mod file (src/main/java/*your mod group*/*your mod id*)
@imnotoverzealous1545
@imnotoverzealous1545 16 күн бұрын
Thank you, I could not figure out why the same option of conversion wasn't appearing for me
@oreiboon
@oreiboon Жыл бұрын
Recently, I decided "Hey, I want to make plugins for a very funny server idea" (because the skript plugin just isn't it for me) and remembered this channel, lo and behold, I found this video. Overall, really great tutorial, enjoyed how you explained each step. Keep up the good work!
@LightslicerGP
@LightslicerGP 2 жыл бұрын
OHMYGOD Legitemoose teaching us things nobody else wants to Thank you so much
@danielrdrigues
@danielrdrigues 2 жыл бұрын
I hate myself for giving a chance to -Java- Kotlin
@giuseppeorlando7314
@giuseppeorlando7314 Жыл бұрын
@@danielrdrigues bro kotlin is basically shit
@frogger2920
@frogger2920 2 жыл бұрын
Finally another video! I would like to see more videos about minecraft shaders, I think it offers a lot more!
@kkfan7878
@kkfan7878 2 жыл бұрын
Yes
@TheJimmyCartel
@TheJimmyCartel 2 жыл бұрын
I wouldn't say that. That's just a visual change. Plugins can really change your gameplay, that's how you can play on a hypixel server without downloading any client side mods. It's all plugins.
@oreonokamithecookie7727
@oreonokamithecookie7727 2 жыл бұрын
this man made me interested in coding only by himself huge fan
@coolearth4511
@coolearth4511 Жыл бұрын
For those of you who are coming to this video in 2023, you will need to change the platform from "Sponge" to "Bukkit" and select Paper as the initial screen with all the options for the platform is gone now
@itsaducklin
@itsaducklin Жыл бұрын
was abouta comment that myself, thank you good sir
@alsobe3D
@alsobe3D 9 ай бұрын
i am coming in 2024....
@Rxyzoren
@Rxyzoren 26 күн бұрын
And for 2025 x)
@cipher4921
@cipher4921 Жыл бұрын
Love how your able to teach but yet make it entertaining so that it doesn't sound like a robot teaching or showing how to do the lesson.
@omrishamir6038
@omrishamir6038 2 жыл бұрын
My guy is back! These videos really help me! Keep it going buddy!😀
@alexanderpoukhlovski
@alexanderpoukhlovski Жыл бұрын
I never thought a tutorial could be so fun to watch! I would love to see some more of these, maybe about how to make a command work or something
@pointyposeidon
@pointyposeidon 2 жыл бұрын
Hope to see some more videos on Minecraft modding with Kotlin! Great work
@zramctl
@zramctl 2 жыл бұрын
modding?
@juddery
@juddery 2 жыл бұрын
As a software developer myself but someone who has never tried developing a Minecraft plugin before, I'm definitely digging that sense of humour you've got going there. 😁 Java was the first language I ever learned, but haven't touched it in over 10 years, so this should be err... fun?
@SnowyRedstone
@SnowyRedstone Жыл бұрын
welp I learned to code Java last summer, coded some fabric mods, but once I realized how easy coding a datapack is, lets just say that I haven't used intellij in a long time
@TyricSatyric
@TyricSatyric 2 жыл бұрын
This only video was better than the 19283827382 other guides in KZbin together XD
@Psyan
@Psyan 2 жыл бұрын
you make the most fun and entertaining coding tutorials i've ever seen, keep it up :DDD
@Terraspark4941
@Terraspark4941 Жыл бұрын
sir i have no idea who you are and how you appeared in my recommendeds, but ive already subscribed to you, keep up the good work 👍
@cussy7526
@cussy7526 2 жыл бұрын
Me alegra mejorar mi nivel de inglés, así descubro joyas como este canal XD
@officialzeroninja
@officialzeroninja 2 жыл бұрын
This video is great. Would like to see another one where you show how to make a simple plugin like adding a command or something :)
@TGIFPluto
@TGIFPluto 4 ай бұрын
I would love to, when I try to create commands it doesn't work, even if i searched for hours...
@dev_insights101
@dev_insights101 2 жыл бұрын
To everyone watching this without any knowledge of java: I would recommend to learn little bit of java. Things such as project managers and some code syntax and also how IDE wok.
@kaninchenspeed
@kaninchenspeed 2 жыл бұрын
changing the java version in the pom.xml file allows the use of newer java features
@CodeCreature
@CodeCreature 2 жыл бұрын
Started learning code in Java... I will probably never choose to use that language again! 😅Great tutorial!
@oriinafloresta
@oriinafloresta 2 жыл бұрын
I love how I'm just opening the app when legitimoose is putting the plugin on the server
@TyricSatyric
@TyricSatyric 2 жыл бұрын
ur channel is very underrated
@maxtb8481
@maxtb8481 2 жыл бұрын
could you do more videos on plugins as well as datapacks? you're very good at explaining btw
@JustArandomDude010
@JustArandomDude010 Жыл бұрын
This is why I am subbed to this dude
@BluePotatoBP
@BluePotatoBP 2 жыл бұрын
I'm 90% sure the reason stuff breaks when you use a space in the actual file name is because windows/whatever program you're using doesn't recognize it as a valid directory, for example: To access a folder on your desktop named "Funny Project" you basically have to think about it as if you were using a terminal- **cd C:\Users\User\Desktop\Funny Project** And if you've ever tried that, you would get an error. ("The system cannot find the path specified.") That's why you might see people use quotes after **cd**, so **cd "C:\Users\User\Desktop\Funny Project"** actually works. This is also implemented into tab completion in terminals, if you try writing **cd(space)** and then pressed tab you can occasionally get directories surrounded in quotes. Hope this helped!
@MellowMustard
@MellowMustard 2 жыл бұрын
I looked for a video like this for 2 weeks.. thank you so much
@wbrim
@wbrim 2 жыл бұрын
Thanks to you, I was able to add new features to and existing plugin, compile it and contribute to the main repo ✨
@gttmone
@gttmone Жыл бұрын
Best up to date tutorial for Minecraft Plugins & Java In General Thank you ♥
@fredde200
@fredde200 2 жыл бұрын
how long i've waited for this
@paw1gaming
@paw1gaming 2 жыл бұрын
Legitimoose uploaded 😱
@setremike1754
@setremike1754 Жыл бұрын
please a new tutorial that is updated in intellij idea please
@jonathankrzeszewski9010
@jonathankrzeszewski9010 Жыл бұрын
to anyone struggling to find the community edition, IntelliJ sort of hid it on their webpage, you need to click show other versions on the download link provided
@galaexplorer3839
@galaexplorer3839 9 ай бұрын
thank you
@Sidjuhh
@Sidjuhh 7 ай бұрын
Or on the main download page just scroll down a little
@Ysancharo
@Ysancharo 2 жыл бұрын
I just tried to watch a video before this with the same program, this is SOOO much easier
@NateAustin19
@NateAustin19 2 жыл бұрын
love the charisma coming out of you my friend! 😂
@MinerBruh
@MinerBruh 2 жыл бұрын
Just create more plugin tutorials, when u made the datapack tutorials, i loved it so yes more plugin tutorials like on HOW to make the player fly or smth
@yusus_
@yusus_ 2 жыл бұрын
do i want to make a plugin: no am i watching: yes
@torge2232
@torge2232 2 жыл бұрын
About the "Unsolved Mysteries of Java Versioning". My understanding is that newer Java JVMs are backwards compatible. So for example a JVM with Java version 17 can run code written for Java version "1.8". Although a JVM with the version 1.8 can't run code written for newer Java versions, because it lacks the new features. This might not be a 100% correct, because I just wrote that of the top of my head.
@Brob3r
@Brob3r 2 жыл бұрын
Can you pls make a forge/fabric mod tutorial? Btw I have watched your videos since you had like 8k subs so congratulations!
@drakefruit
@drakefruit 2 жыл бұрын
you should really use fabric
@Brob3r
@Brob3r 2 жыл бұрын
@@drakefruit right
@popbob4780
@popbob4780 2 жыл бұрын
Bruh I literally just searched for coding Minecraft stuff in kotlin out of interest and I noticed you uploaded a vid on that
@RedSnicker
@RedSnicker 6 ай бұрын
For those of you who are coming to this video in 2024, there is no convert java to kotlin to you gotta press the infamous: CNTRL + ALT + SHIFT + K, keybind to convert. (balelr)
@dercoderjo
@dercoderjo 5 ай бұрын
Lifesaver
@DaviJohns
@DaviJohns Ай бұрын
THANK YOU
@thedoopa3169
@thedoopa3169 2 жыл бұрын
I like this guy. Made coding fun with his energy
@czebosak
@czebosak 2 жыл бұрын
Thanks legitimoose, very cool
@robbingjack8278
@robbingjack8278 Жыл бұрын
i want to smash my head seeing this and how hard and remember it is to know
@yrus7802
@yrus7802 2 жыл бұрын
Wow I am amazed by how this tutorial is good
@lolmaybe8092
@lolmaybe8092 2 жыл бұрын
BRUUUUH!!! Why this video is underrated? It shouldn't be like that(
@zjh_lol6926
@zjh_lol6926 2 жыл бұрын
can you make a plugin on basic gui opener but pls make more other plugin tutorials too
@pogfrog2388
@pogfrog2388 2 жыл бұрын
Hey mate, thanks for all the awesome videos! Wondering if u can make a loot table and advancement video for datapacks.
@billybillington5340
@billybillington5340 2 жыл бұрын
There is a great loot table tutorial by someone named Sir Roman
@JanBebendorf
@JanBebendorf 11 ай бұрын
Well instead of setting up an IDEA artifact you could've just expanded the maven goals on the right and double-click package. This will create a new maven run that will package your jar for you and is more universal than IDEA artifacts
@wahidislamlinad
@wahidislamlinad 2 жыл бұрын
sooo much underrated ngl
@untoldentity
@untoldentity 2 жыл бұрын
ah yes, plugin development, also known as hell
@Log1eI3ear
@Log1eI3ear 2 жыл бұрын
Please may you make a tutorial on adding custom music discs and, if you watch MCC, you will know that they have custom songs for each game. That is what I really want.
@DuckGoesViral
@DuckGoesViral 2 жыл бұрын
i’m pretty sure you can do that with resource packs
@Guy-wd3yi
@Guy-wd3yi 2 жыл бұрын
there's already a plugin for that search something like custom music disc plugin
@aka1021
@aka1021 2 жыл бұрын
Hi, KotlinEnjoyer here, I totally agree you saying Java is weird, especially setting up a hello world, you have to remember class public static void main String args, but in Kotlin, you only have to remember fun main, Kotlin is better then Java
@meidy3795
@meidy3795 2 жыл бұрын
Exactly
@aka1021
@aka1021 2 жыл бұрын
@@meidy3795 yes
@Skys9
@Skys9 2 жыл бұрын
Kotlin yes finally
@SamuraiDestroy
@SamuraiDestroy 2 жыл бұрын
Y E E B O IIIIIIIIIIII PLUGIN TUTORIAL
@randomidiot34
@randomidiot34 Жыл бұрын
BRO SAVED MY LIFE
@AcornGR
@AcornGR 2 жыл бұрын
Bruh my subscription box hates me, I asked for this and you made it and KZbin didn’t even send it in the subscription box I looked at your channel right now and I found out I didn’t see two videos 💀
@crola7169
@crola7169 2 жыл бұрын
pretty sure the pom.xml java version is useful when you are building via maven, to do so you would need to delegate build and run tasks to maven in intellij, however these steps are not required in this case everything works, and if everything works then there is no need to mess with it
@citybuildmc2516
@citybuildmc2516 2 ай бұрын
Hey Legitimoose... i noticed the java version thing 11:00 . It is because there are 2 types of Java. Java RE and JDK the RE is the Runtime aka waht a consumer installs so he can istall and use minecraft or install things like forge. java 17 is the JDK the Java Development Kit. the Java JDK now is at 23 and the Java RE still at 1.8 so that's the java 1.8 version!
@CraftBlack
@CraftBlack Жыл бұрын
Thanks! 🥰
@DrollerApollo13
@DrollerApollo13 Жыл бұрын
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!!
@mrguny8715
@mrguny8715 Жыл бұрын
Hi, if you still need help in order to select paper you neeed to select bukkit then you chose betwen paper and spigot, hope this helped
@foxiqval69
@foxiqval69 2 жыл бұрын
just to be clear, the java.version is only for some configuration if it was public, the jvm target tmk is also useless. i like to change it anyway cuz im a fan of doing dumb things
@pancakehiatt
@pancakehiatt 2 жыл бұрын
part 2? no one else made a tutorial for kotlin and papermc. they're all for spigot
@sullymlg9785
@sullymlg9785 2 жыл бұрын
1:20 Oh yeah - if you like redstone.. choose neither and learn fabric. (or choose paper but paper still makes redstone a bit jank)
@LMC.AudiusParty
@LMC.AudiusParty 2 жыл бұрын
please do more ! please is possible to make something where you take an open-source project and contribute to it ? thanks for any answer!!!
@hinterhaeltiger
@hinterhaeltiger 2 жыл бұрын
you can build the artifact in the maven tab
@luckybeeyt
@luckybeeyt Жыл бұрын
Will it work for 1.16.5?
@fishimply
@fishimply 2 жыл бұрын
so what is the extreme fly part??? i dont know java
@owopotato
@owopotato 2 жыл бұрын
Is there any documentation on Paper/Spigot in Kotlin? Or any way to know how the java is converted without just guessing?
@Legitimoose
@Legitimoose 2 жыл бұрын
If you copy/paste complete java code into a Kotlin file, it will automatically ask if you want to convert it!
@blakedoesmc
@blakedoesmc 2 жыл бұрын
wouldve loved to see a plugin made i got it all setup but theres no tutorials out there for paper kotlin syntax development (that are in english anyway that i can find) i was hoping to build a /fly plugin for my sever to test this but now i'm lost with a hello world plugin that i cant even see in game
@TuttuTheDog
@TuttuTheDog 2 жыл бұрын
the moose is back again
@dj8201
@dj8201 Жыл бұрын
HELP! i cna't convert it to kotlin
@HxppyFan
@HxppyFan 2 жыл бұрын
Thx for helping! But what about to explain how to detect some of events player? Just like for flying (double jump)?
@BusterBrown1217
@BusterBrown1217 2 жыл бұрын
It would be nice to see how an experienced person goes through the documentation because it can be really confusing for people who don't know what they're doing (people like me)
@Legitimoose
@Legitimoose 2 жыл бұрын
that's a good idea lol. knowing how to read documentation is obviously very important, and people rarely show how to do it. maybe some kind of "let's code" could work, or just a good ol tutorial. thanks for the suggestion! (no promises I'll make it tho ;) )
@waylonmorristexas4851
@waylonmorristexas4851 2 жыл бұрын
Yeah I have no idea what to do from here so please make another
@冷
@冷 Жыл бұрын
9:19 this gave me a mental breakdown
@saltzus
@saltzus 2 жыл бұрын
Can u make tutorial how to make plugin play music
@AlphaFennec
@AlphaFennec Жыл бұрын
Haiya peep, just wondering if you could possibly make a extension to this video talking about how to make something simple like an object that gives you speed when you right click on it. I found this video really helpful and was wondering if you could do that if it's not too much trouble and such. Thankes!
@Queue3612
@Queue3612 Жыл бұрын
Im wanting to get into making MC plugins, can you please make more amazing tutorials like this one?
@itsaducklin
@itsaducklin Жыл бұрын
welp hes dead :(
@Runkang10
@Runkang10 4 ай бұрын
Can you create a command example for paper-plugin.yml because they don't register commands like the old plugin.yml anymore.
@BuildTimeMC
@BuildTimeMC Жыл бұрын
Do I have to convert it back to Java before building it?
@Legitimoose
@Legitimoose Жыл бұрын
no, kotlin compiles to the same JVM bytecode as java!
@BuildTimeMC
@BuildTimeMC Жыл бұрын
@Legitimoose oh so I can build the kotlin file to a .jar file and it will work?
@pkcrispybread1356
@pkcrispybread1356 2 жыл бұрын
I want to know about finding entity positions and replacing blocks
@kedersiz8600
@kedersiz8600 Жыл бұрын
Hey thank you so much I had to past with python no I can learn kotlin this will be good for plugins because I checked there was a script plugin for JavaScript and python or many people said it was laggy and it lacks the features
@MonsterPunishers
@MonsterPunishers 20 күн бұрын
i cant find any tutorials that work for making paper servers
@MrJojjo-cd2gx
@MrJojjo-cd2gx 5 ай бұрын
The plugin does not work. It says that the class never uses, why?
@JerryHort
@JerryHort 2 ай бұрын
I wanted to make 1.8.8 plugins but that doesn't work for me says... Unsupported? I got 2024 intellij
@athomesuperhero
@athomesuperhero 2 жыл бұрын
Can you teach us how to make custom enchantments?
@NeoAArmy
@NeoAArmy 23 күн бұрын
So, how come we are using paper for a spigot server?
@wal937
@wal937 2 жыл бұрын
yessir plugin tutorial
@abstractredy
@abstractredy 2 жыл бұрын
The only difference between java 1.8 and 17 that i noticed was enhanced Switch
@whydys839
@whydys839 8 ай бұрын
I can't convert my project to kotlin, it doesn't give me an option to. Does anybody have a fix to this? EDIT: If you are using the most recent version of IntelliJ Idea you have to convert the java file itself instead of the entire project.
@Mizso21
@Mizso21 8 ай бұрын
same i cant even find a solution on yt
@ThatKira
@ThatKira 6 ай бұрын
Thanks mate Life saver!
@katekko1
@katekko1 2 жыл бұрын
Where s the maven? You can setup the maven to install through
@vooodre2715
@vooodre2715 Жыл бұрын
Absolutely loved your video! But I have a question. I searched the web for paper docs on Kotlin but there weren’t any that I could find. Could you tell me where I could find one? And also, can you just convert java code that’s in the docs to Kotlin and use it?
@Legitimoose
@Legitimoose Жыл бұрын
Paper is written in Java, so there are not Kotlin docs available. _However!_ Kotlin is meant to be interoperable with Java, so the answer to your second question is yes! You can use the Java docs, and the IDE will usually help you convert things to Kotlin. You can even copy/paste entire snippets into IDEA and it will automatically convert it to Kotlin. Hope this helps!
@vooodre2715
@vooodre2715 Жыл бұрын
@@Legitimoose wow thanks!
@magnuskjr-jensen2972
@magnuskjr-jensen2972 Жыл бұрын
How do i download the JDK when i did like you said it says it dosent work, or specificly "Failed to prepare JDK installation to C:\Users\_____\.jdks\temurin-20.0.1" How do i fix this?
@SansSlashAB
@SansSlashAB 2 жыл бұрын
Im not even started it but i feel the pain like im coding in C# Json and fabric (a mod running thing like forge)and its still looks like super strange to me
@georgekon69
@georgekon69 6 ай бұрын
what happend if i put a java groupid that already exists ?
@NerroPlaysGames
@NerroPlaysGames Жыл бұрын
how do i make extremeplugin.class writeable.
@GeniusFormat
@GeniusFormat 2 жыл бұрын
the spaces for the project name works in linux ;)
@stefanmadalincrivat8254
@stefanmadalincrivat8254 2 жыл бұрын
Can you do a tutorial about a mod in wich you make a mob
How To Make Minecraft Plugins With ChatGPT In Minutes
14:43
Matej (kangarko)
Рет қаралды 48 М.
Introduction to Minecraft Plugin Development (2022)
10:11
Worn Off Keys
Рет қаралды 120 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Spigot: Custom Plugin Tutorial - Project Setup (#1)
13:29
TechnoVision
Рет қаралды 111 М.
Minecraft Plugin Coding FAST & EASY | Visual Bukkit
14:51
SoulStriker
Рет қаралды 84 М.
Spigot Plugin Development - 1 - Your First Plugin
14:51
Kody Simpson
Рет қаралды 178 М.
I'm Making the Next Big Minecraft Server (BETTER THAN HYPIXEL)
11:12
How to make a Minecraft Plugin #1
15:36
EnderSlain
Рет қаралды 1,5 М.
How to code a Minecraft plugin in 10 minutes
9:11
CustomRealms
Рет қаралды 175 М.
Ep1. Bukkit, CraftBukkit, Spigot and NMS - Minecraft Plugin Development
10:04
Spigot: Custom Plugin Tutorial - First Plugin (#2)
11:26
TechnoVision
Рет қаралды 50 М.
How We Run & Host Hermitcraft
11:57
xisumavoid
Рет қаралды 925 М.