How To Make Minecraft Plugins With ChatGPT In Minutes

Поделиться
HTML-код
  • Опубликовано: 26 янв 2025

Комментарии • 100

  • @InoGamerz
    @InoGamerz Год назад +18

    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

  • @thecuouz
    @thecuouz Год назад +5

    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  Год назад +1

      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 3 месяца назад

      @@KencordFGC ong

  • @rui.dew.
    @rui.dew. 10 месяцев назад +2

    this saved me thank you so much!!!

    • @kangarko
      @kangarko  10 месяцев назад +1

      You're welcome!

  • @GranolaMC
    @GranolaMC 3 месяца назад +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 22 дня назад

      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.

  • @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.

  • @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?

  • @HellJager_yt
    @HellJager_yt 4 месяца назад +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

  • @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

  • @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.

  • @luke_tbh
    @luke_tbh Месяц назад

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

  • @JuliusH_1
    @JuliusH_1 2 месяца назад +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 4 месяца назад +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 🙏

  • @ZephrusZ
    @ZephrusZ 5 месяцев назад

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

  • @turu4936
    @turu4936 11 месяцев назад +1

    For pocketmine pls

  • @raierf
    @raierf 3 месяца назад

    This is amazing

  • @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

  • @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 7 месяцев назад +1

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

  • @shaharavnaim4314
    @shaharavnaim4314 8 месяцев назад

    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 Месяц назад

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

  •  14 дней назад

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

    • @themathema5961
      @themathema5961 11 дней назад

      Same did you figure It Out?

    • @themathema5961
      @themathema5961 11 дней назад

      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  9 дней назад

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

  • @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  7 месяцев назад

      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.

  • @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  Год назад +9

      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 3 месяца назад +1

      You didn’t even reply with a thank you damn

    • @Trizon_
      @Trizon_ Месяц назад +1

      ChatGPT can search the web for information soooo yeah

  • @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 4 месяца назад

      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.

  • @Zepyy.
    @Zepyy. 8 месяцев назад +1

    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.

  • @bonkaiblue7906
    @bonkaiblue7906 Год назад +2

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

  • @BenHutt
    @BenHutt 6 месяцев назад

    my code its coming up with a bunch of error messages

    • @kangarko
      @kangarko  6 месяцев назад

      Post them here

  • @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?

  • @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 5 месяцев назад +2

      eh. datapacks can be limited in their uses

    • @rmt3589
      @rmt3589 16 дней назад +1

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

    • @Mo24ong
      @Mo24ong 16 дней назад +1

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

    • @rmt3589
      @rmt3589 15 дней назад +1

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

    • @Mo24ong
      @Mo24ong 7 дней назад

      @@rmt3589 grapes :D

  • @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.

  • @ghostandry8789
    @ghostandry8789 3 месяца назад

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

  • @andreialcaza
    @andreialcaza Месяц назад

    👍

  • @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 7 месяцев назад

      i doubt this would even be possible

    • @azreyleonchannel4773
      @azreyleonchannel4773 6 месяцев назад

      Try typewriter plugin

  • @SlowBoiz-pvp-12
    @SlowBoiz-pvp-12 2 месяца назад

    3:46

  • @PixelPacks
    @PixelPacks 6 месяцев назад

    I Wanna Learn How to code but Im broke😢😢

    • @kangarko
      @kangarko  6 месяцев назад

      I have over 60 free coding videos...

  • @leenoke0
    @leenoke0 11 месяцев назад

    Those it work for mc 0.14.3?

    • @kangarko
      @kangarko  11 месяцев назад

      This is for Java edition, not pocket unfortunately.

  • @SeenzZoo.1111
    @SeenzZoo.1111 Год назад

    what about custom items sir?

    • @kangarko
      @kangarko  Год назад +1

      I have a free video about this check out my channel

  • @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

  • @relodKox
    @relodKox Год назад +1

    spoko

  • @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 RUclips.

    • @EzekielDeLaCroix
      @EzekielDeLaCroix Год назад +1

      @@kangarko Oh this is just coding and digital how-to RUclips. 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

  • @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

  • @PrivateDaniel31366
    @PrivateDaniel31366 Год назад +1

    it work for me

  • @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

  • @RealShxdxwYT
    @RealShxdxwYT 8 месяцев назад +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  7 месяцев назад

      Use pastebin.com and provide context please

  • @lio4692
    @lio4692 10 месяцев назад +1

    Sie sind sehr frech guter Heer. :