How To Make Minecraft Plugins With ChatGPT In Minutes

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ก.พ. 2025
  • 🧠 The best place to start learning Minecraft plugin development ➡ mineacademy.or...
    🙋‍♂️ Need help? Ask in our Discord community:
    mineacademy.or...
    Learn how to make a Minecraft plugin in minutes as a beginner using this INSANE prompt template! It includes all the necessary elements to take your Minecraft plugin idea and turn it into a working Minecraft plugin. In this video I show you the fastest way to start making Minecraft plugins and how host a truly unique server in the long term.
    👉🏻 Subscribe:
    www.youtube.co...
    About Me 👋🏼
    Hi! My name is Matej Pacan and I’m a Java developer and entrepreneur, founder of my own Minecraft education company: MineAcademy.org (mineacademy.org) and Minecraft enthusiast since 2010.
    You’ve found my TH-cam channel where I help other people wrap their heads around Java programming by teaching them coding using Minecraft and growing a lucrative skillset.
    My only hope is that one day some of you will learn enough from my videos to see an exciting opportunity in the IT space and build a life you love.
    🧠 The best place to start learning Minecraft plugin development ➡ mineacademy.or...
    #minecraft #spigot #minecraftplugin #java

ความคิดเห็น • 105

  • @InoGamerz
    @InoGamerz ปีที่แล้ว +19

    Need More videos like this, been watching you sinces 4 months and thouwt you had millions of subscribers why people watch but don''t subscribe? Love your videos man keep up the great work

    • @kangarko
      @kangarko  ปีที่แล้ว +3

      Working on it!

  • @thecuouz
    @thecuouz ปีที่แล้ว +6

    Im trying so hard to make a plugin with chat gpt, but we facing a bunch of troubles to reach the idea that i gave to gpt, its a plugin for 1.8.8 so we having difficulties... if i finish it, can i post the git here?

    • @kangarko
      @kangarko  ปีที่แล้ว +2

      Sure! You need to be very direct and explicit with ChatGPT: Example: "Use Spigot API 1.8.8. Write this and that class. Do this etc." It's about trial and error. And also correcting it a few times when the first prompts are not correct.

    • @KencordFGC
      @KencordFGC 8 หลายเดือนก่อน

      shocker chatgpt is very bad at programming

    • @GranolaMC
      @GranolaMC 4 หลายเดือนก่อน

      @@KencordFGC ong

  • @rui.dew.
    @rui.dew. 10 หลายเดือนก่อน +3

    this saved me thank you so much!!!

    • @kangarko
      @kangarko  10 หลายเดือนก่อน +2

      You're welcome!

  • @senkashiromc
    @senkashiromc 2 หลายเดือนก่อน

    Thanks for this! im using chatgpt to help me out a bit on coding custom smp minecraft plugins such as bliss smp and everything else, any other tips?

  • @raierf
    @raierf 4 หลายเดือนก่อน

    This is amazing

  • @KnightExtras_77
    @KnightExtras_77 5 หลายเดือนก่อน +3

    hey i am from india earlier i was findig a course in bkz other forieners speak very fast but he is spekaing nice to my level so i loved this course very much

  • @L0NG3R
    @L0NG3R หลายเดือนก่อน

    Everything works except at the end, I got the target file but for some reason there isn't the jar file in it. It's just the top 3 files without those 2 jar files.

  • @shaharavnaim4314
    @shaharavnaim4314 9 หลายเดือนก่อน

    Can you make a video of you showing us how to enter this code into intelij please? Love the content!!

    • @kangarko
      @kangarko  8 หลายเดือนก่อน

      I now recommend using GitHub copilot extension

    • @momacods5958
      @momacods5958 2 หลายเดือนก่อน

      can you do a quick run down? Some cant afford to be microtransactioned to death

  • @TheJm203
    @TheJm203 11 หลายเดือนก่อน

    i would like to see some plugin do similar as buildcraft or indrustrial craft mod ive have played a lots with those mods and most of the plugin i see are not close to be the same

  • @GranolaMC
    @GranolaMC 4 หลายเดือนก่อน +4

    ChatGPT Refused to any problem I reported to it, and continued to make the same mistake. And made up variables inside code.

    • @0x00DE
      @0x00DE หลายเดือนก่อน

      That is to expect from AI today. I had an issue with parsing objects and rotating signs. Chat GPT did solve the problem but it still helped by getting confused with multiple classes named "Sign" aswell.

  • @ZephrusZ
    @ZephrusZ 6 หลายเดือนก่อน

    also before doing this you should learn a bit of java incase of any errors that chatgpt makes

  • @manofyou
    @manofyou ปีที่แล้ว +8

    i heard is possible with JavaFX Media API or VLCJ, I don't really understand what it means but I hope it helps.

  • @luke_tbh
    @luke_tbh หลายเดือนก่อน

    my play button doesnt work, it just says the file in the editor is not runnable

  • @TheNotMuskus
    @TheNotMuskus ปีที่แล้ว +1

    im getting these massive errors when i run the server with the plugin here: [13:26:50 ERROR]: Error occurred while enabling Diamond v1.0-SNAPSHOT (Is it up to date?)
    java.lang.NullPointerException: Cannot invoke "org.bukkit.command.PluginCommand.setExecutor(org.bukkit.command.CommandExecutor)" because the return value of "org.randomtpw.diamond.Diamond.getCommand(String)" is null
    at org.randomtpw.diamond.Diamond.onEnable(Diamond.java:16) ~[Diamond-1.0-SNAPSHOT.jar:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:281) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
    at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:189) ~[paper-1.20.1.jar:git-Paper-65]
    at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104) ~[paper-1.20.1.jar:git-Paper-65]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
    at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugin(CraftServer.java:639) ~[paper-1.20.1.jar:git-Paper-65]
    at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugins(CraftServer.java:550) ~[paper-1.20.1.jar:git-Paper-65]
    at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:636) ~[paper-1.20.1.jar:git-Paper-65]
    at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:435) ~[paper-1.20.1.jar:git-Paper-65]
    at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:308) ~[paper-1.20.1.jar:git-Paper-65]
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1101) ~[paper-1.20.1.jar:git-Paper-65]
    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318) ~[paper-1.20.1.jar:git-Paper-65]
    at java.lang.Thread.run(Thread.java:833) ~[?:?]

    • @kangarko
      @kangarko  ปีที่แล้ว

      Register the command in plugin.yml as per docs.papermc.io/paper/dev/plugin-yml

  • @nacvunko
    @nacvunko 8 หลายเดือนก่อน +1

    I need only one stupid thing: per some region/area/plot inventory
    everithing like that on the internet is 10 years old and I totally don't understand java...

    • @kangarko
      @kangarko  8 หลายเดือนก่อน

      Join our free trial at mineacademy.org/trial, learn basics of java and spigot api, and then when you understand what chatgpt writes to you then you can use it.
      Or hire a plugin developer. That's the fastest way if you have the budget.

  • @JuliusH_1
    @JuliusH_1 3 หลายเดือนก่อน +1

    i cant click the run button it says 'The file in the editor is not runnable'

    • @bw_lukario2405
      @bw_lukario2405 หลายเดือนก่อน

      press where it says current file then extend. then edit configurations and choose marven

  • @BentonSchuchart
    @BentonSchuchart 5 หลายเดือนก่อน +2

    The run button is saying "The file in the editor is not runnable" so I can't proceed and try the plugin, do you know what to do?

    • @HopeX2FL
      @HopeX2FL 3 หลายเดือนก่อน

      Same issue any fix?

    • @HopeX2FL
      @HopeX2FL 3 หลายเดือนก่อน +1

      Okay issue is you need to run it with maven add maven from configurations

    • @Sparkilz_
      @Sparkilz_ หลายเดือนก่อน

      @@HopeX2FL THANK YOU 🙏

  • @gitar3082
    @gitar3082 ปีที่แล้ว +9

    doesn't chatgpt only know knowledge to 2021, meaning it's updated only till 1.16.5? how are you creating plugins for 1.19.2, the codes are different for 1.16 and 1.19

    • @kangarko
      @kangarko  ปีที่แล้ว +10

      Correct, it knows until MC 1.17. Spigot/Paper has great backward compatibility, 99.95% plugins coded under 1.17 will work on 1.20.x unless NMS is used.

    • @timg8257
      @timg8257 4 หลายเดือนก่อน +1

      You didn’t even reply with a thank you damn

    • @Trizon_
      @Trizon_ 2 หลายเดือนก่อน +2

      ChatGPT can search the web for information soooo yeah

    • @kingahydra
      @kingahydra 6 วันที่ผ่านมา

      @@Trizon_keep in mind this video is a month old

    • @kingahydra
      @kingahydra 6 วันที่ผ่านมา

      Year my bad

  • @Mo24ong
    @Mo24ong 6 หลายเดือนก่อน +1

    EVERYONE THERES AN EASIER WAY! You can make a datapack instead of a plugin. First ask chatpgt to make one, here's an example. Make a 1.21 minecraft datapack that give me diamonds when I type YAY in chat. Once chatgpt has generated the code type can you generate the zip file for me. It will say anaylizing for a minute or two. Once its finished it'll make you a zip file of the prompt. Then just add its to your worlds datapacks folder. Tah-dah! No tricky downloads

    • @link_team3855
      @link_team3855 6 หลายเดือนก่อน +2

      eh. datapacks can be limited in their uses

    • @rmt3589
      @rmt3589 หลายเดือนก่อน +1

      What if you want grapes? How can a datapack handle that?

    • @Mo24ong
      @Mo24ong หลายเดือนก่อน +1

      @@rmt3589 idk what u mean, and this is an old post. Chatgpt datapacks are very buggy

    • @rmt3589
      @rmt3589 หลายเดือนก่อน +1

      @@Mo24ong Your PFP is from the Duck Song. What did the duck ask for?

    • @Mo24ong
      @Mo24ong 22 วันที่ผ่านมา

      @@rmt3589 grapes :D

  • @turu4936
    @turu4936 11 หลายเดือนก่อน +1

    For pocketmine pls

  • @bonkaiblue7906
    @bonkaiblue7906 ปีที่แล้ว +2

    GPT some Code for CC: Tweaked (Computercraft Mod) within Minecraft, Can you Code Minecraft in Minecraft On a CC:Tweaked PC?

  •  29 วันที่ผ่านมา

    it doesnt let me use the test run button. any ideas?

    • @themathema5961
      @themathema5961 26 วันที่ผ่านมา

      Same did you figure It Out?

    • @themathema5961
      @themathema5961 26 วันที่ผ่านมา

      I found This in the comments and IT works "press where it says current file then extend. then edit configurations and choose marven"

    • @kangarko
      @kangarko  24 วันที่ผ่านมา

      You need to create a new Run Configuration; see my Minecraft plugin development playlist specifically video #2 on how to do that.

  • @panmaslov1782
    @panmaslov1782 3 วันที่ผ่านมา

    how get minecraft in generators

  • @notserpishere
    @notserpishere 5 หลายเดือนก่อน

    What if i want it work on versions for example from 1.18.2 to 1.21.1?

    • @wintexx_0
      @wintexx_0 5 หลายเดือนก่อน

      just make it to version of server for example server is on 1.19 so make it 1.19 and it will work on any version if you have viaVersion plugin

    • @kangarko
      @kangarko  4 หลายเดือนก่อน

      I recommend you import paper-api for 1.18, virtually all of your code should work on newer versions except for some enum names like particles or potion effect types, for which you can just use reflection access to mitigate.

  • @mouzten
    @mouzten ปีที่แล้ว +4

    Just some clickbait stuff here. There is a very simple answer on how to create plugins as a beginner: learn java, read documentations and always search on google if you dont know something. This ChatGPT thing is NOT useful in any way for creating minecraft plugins. You really need to say EXACTLY what you want to get, sometimes the entire code will just mess up... if you dont have any experiences on how to write code... good luck! Basically these are the only things you need to learn: basics of java, learn to search. And that thing that he is selling... no no just dont pay for that... all the things that you would "learn" with that course can be easily found on spigotmc... its not worth it.
    I wish good luck for all of those who really would like to learn this. Its great fun!

    • @kangarko
      @kangarko  ปีที่แล้ว +1

      I agree with what you said except the "just dont pay for his course". If you want to learn for free go ahead and do, but it will take longer. The course has 1:1 sessions with instructors 2x/week, you can't get that free on spigot or anywhere not even JetBrains Academy has that.

    • @mouzten
      @mouzten ปีที่แล้ว +1

      Hmm... it wouldn't take longer. You also must to practice. Without practicing, it's just impossible to learn to code. Or... if your course does contain enough practice to actually memorize those things, then it's again not worth it.
      And it was also an unnecessary reply from you. Other people won't see my comment. :,D

    • @notSkyhits
      @notSkyhits ปีที่แล้ว +1

      i dont agree with this, i know what the code does but not how to make it, so explaining in detail to chatgpt recently made me a fully fledged plugin with countdown, /start command with a calculating radius function with out any help

    • @4RyanEck
      @4RyanEck ปีที่แล้ว

      I'm not a java coder... I appreciated the video. It wasn't too long and I don't feel it was clickbait... its marketing and he addressed the title in the video. I'd guess that 99% of people watching youtube don't know how to code. He is selling a product, we can't blame him for trying to get paid for his time. If you don't like his content then don't watch it.

    • @PoPzQ
      @PoPzQ 11 หลายเดือนก่อน

      @@4RyanEck LMAO okay, have fun in your dumb clickbait world

  • @VIPERCMIDK
    @VIPERCMIDK 9 หลายเดือนก่อน

    Hi I have a problem where it shows my plugin as red and says uptade to Java 17 is that all it needs to fix it

    • @nmcli
      @nmcli 8 หลายเดือนก่อน +1

      you need to update your java version to java 17 yes obviously thats what you should do

  • @Zepyy.
    @Zepyy. 9 หลายเดือนก่อน +2

    How to get to the file liek your diamond file? 10:32

    • @kangarko
      @kangarko  8 หลายเดือนก่อน

      Just write it yourself it's very short, I already don't have it I am sorry.

  • @andreialcaza
    @andreialcaza หลายเดือนก่อน

    👍

  • @BenHutt
    @BenHutt 7 หลายเดือนก่อน

    my code its coming up with a bunch of error messages

    • @kangarko
      @kangarko  6 หลายเดือนก่อน

      Post them here

  • @orba2
    @orba2 ปีที่แล้ว

    Could u make a video on how to make minecraft mods?
    it would be amazing if u did and also covered how to make them client side.

  • @Kadxxxxx
    @Kadxxxxx 20 ชั่วโมงที่ผ่านมา

    Possible in Android

  • @ghostandry8789
    @ghostandry8789 4 หลายเดือนก่อน

    ok but first you not a programmer if you use a light theme on ide 💀

  • @manofyou
    @manofyou ปีที่แล้ว +1

    Hello
    I'm interested in having a plugin created for my 1.16.5 Minecraft server. The plugin I'm looking for is a video playback plugin that will allow me to create a video game-like experience for my players.
    Ideally, when players join the server, they would be greeted with a video that would play in-game, similar to the way video game cutscenes work. I would also like the ability to create other video scenes that could be triggered by specific events in the game,
    Thank you.

    • @natman_bad
      @natman_bad ปีที่แล้ว

      Are you willing to pay for this?

    • @trumpation7663
      @trumpation7663 ปีที่แล้ว +1

      Nobody is going to do this for free.

    • @nmcli
      @nmcli 8 หลายเดือนก่อน

      i doubt this would even be possible

    • @azreyleonchannel4773
      @azreyleonchannel4773 7 หลายเดือนก่อน

      Try typewriter plugin

  • @PixelPacks
    @PixelPacks 7 หลายเดือนก่อน

    I Wanna Learn How to code but Im broke😢😢

    • @kangarko
      @kangarko  7 หลายเดือนก่อน

      I have over 60 free coding videos...

  • @PrivateDaniel31366
    @PrivateDaniel31366 ปีที่แล้ว +1

    it work for me

  • @SlowBoiz-pvp-12
    @SlowBoiz-pvp-12 3 หลายเดือนก่อน

    3:46

  • @relodKox
    @relodKox ปีที่แล้ว +1

    spoko

  • @savasza9922
    @savasza9922 ปีที่แล้ว

    gpt can't do a complex one this is hard

    • @shadowdemonaer
      @shadowdemonaer ปีที่แล้ว +2

      Unfortunately for coding, you usually need some knowledge, so being a beginner and doing it is mostly a myth

  • @leenoke0
    @leenoke0 11 หลายเดือนก่อน

    Those it work for mc 0.14.3?

    • @kangarko
      @kangarko  11 หลายเดือนก่อน

      This is for Java edition, not pocket unfortunately.

  • @rinokumura9414
    @rinokumura9414 ปีที่แล้ว +1

    I have been trying for hours to get the org.bukkit stuff to stop givlng me errors. Do you have a guide for the bukkit libary install?

    • @kangarko
      @kangarko  ปีที่แล้ว +1

      Post the error, honestly see my free minecraft plugin development stuff here on youtube it will make much more sense after a few videos

    • @TheRealMoneyMantra
      @TheRealMoneyMantra 9 หลายเดือนก่อน

      Did you figure this out yet?

  • @SeenzZoo.1111
    @SeenzZoo.1111 ปีที่แล้ว

    what about custom items sir?

    • @kangarko
      @kangarko  ปีที่แล้ว +1

      I have a free video about this check out my channel

  • @DripTip
    @DripTip ปีที่แล้ว +2

    Damn dude, this really could have been a 5 minute video. Too much rambling. Literally had to fast forward through 45 seconds of you ONLY talking about naming the java class.

    • @kangarko
      @kangarko  ปีที่แล้ว +1

      Good point. I can try remaking it under 5 minutes next time. Still learning TH-cam.

    • @EzekielDeLaCroix
      @EzekielDeLaCroix ปีที่แล้ว +1

      @@kangarko Oh this is just coding and digital how-to TH-cam. This style is good for other interests and hobbies, but most coders and digitally interested people are frustrated after they run into a block so they want answers right away.

  • @ControMan123
    @ControMan123 ปีที่แล้ว

    first comment trololol

  • @RealShxdxwYT
    @RealShxdxwYT 9 หลายเดือนก่อน +1

    package your.package.name;
    import net.minecraft.entity.Entity;
    import net.minecraft.entity.EntityType;
    import net.minecraft.entity.LivingEntity;
    import net.minecraft.entity.projectile.FireballEntity;
    import net.minecraft.item.Item;
    import net.minecraft.item.ItemStack;
    import net.minecraft.util.ActionResult;
    import net.minecraft.util.Hand;
    import net.minecraft.util.TypedActionResult;
    import net.minecraft.util.math.Vec3d;
    import net.minecraft.world.World;
    import java.util.List;
    public class CustomFireballItems {
    public static class EnderDragonsFireballItem extends Item {
    public EnderDragonsFireballItem(Settings settings) {
    super(settings);
    }
    @Override
    public TypedActionResult use(World world, net.minecraft.entity.player.PlayerEntity player, Hand hand) {
    // Check cooldown
    if (!world.isClient && player.getCooldownManager().isCoolingDown(this)) {
    return new TypedActionResult(ActionResult.FAIL, player.getStackInHand(hand));
    }
    // Create and shoot fireball entity
    if (!world.isClient) {
    EnderDragonsFireballEntity fireball = new EnderDragonsFireballEntity(world, player);
    fireball.setPosition(player.getX(), player.getEyeY() - 0.5, player.getZ());
    Vec3d look = player.getRotationVector();
    fireball.setVelocity(look.x * 1.5, look.y * 1.5, look.z * 1.5); // Adjust speed as needed
    world.spawnEntity(fireball);
    }
    // Start cooldown
    player.getCooldownManager().set(this, 600); // 30 seconds cooldown (20 ticks per second)
    return new TypedActionResult(ActionResult.SUCCESS, player.getStackInHand(hand));
    }
    @Override
    public boolean isDamageable() {
    return false; // Make the item unbreakable
    }
    @Override
    public boolean canDrop() {
    return false; // Make the item undroppable
    }
    public static class EnderDragonsFireballEntity extends FireballEntity {
    public EnderDragonsFireballEntity(EntityType

    • @kangarko
      @kangarko  8 หลายเดือนก่อน

      Use pastebin.com and provide context please

  • @llCohenYT
    @llCohenYT ปีที่แล้ว

    if you see this what do u do when u get
    incompatible types: me.cohen.plugin.sword cannot be converted to org.bukkit.event.Listener

    • @kangarko
      @kangarko  ปีที่แล้ว

      Post the full error. I assume you forgot to add "implement Listener" to your class where you have events

  • @lio4692
    @lio4692 10 หลายเดือนก่อน +1

    Sie sind sehr frech guter Heer. :