How to create Minecraft plugins within five minutes using AI just like this one it’s literally shooting flying kitties now charge epd most of you guys have already heard about it came out last year literally took the marketplace by storm I wanted to show you how you can Use chai GPT to create Minecraft plugins because I was interested if people use chargpt for so many different purposes can it just help us create Minecraft plugins and can it actually produce high quality code because I know one thing for sure a lot of you guys want to Design high quality servers you have so many ideas in your head but it just stays so much time and the entire process it’s very frustrating and infuriating because of the complexity of it so can we just remove all of that and make something happen very very quickly the answer is Yeah why not to an extent to an extent so I’m going to show you how to actually do it I’ve prepared a little PowerPoint right here not to kill you but actually to show you how to do it very quickly so I’m going to show you how to make Plugins from scratch even if you’ve never coded anything before if you even if you are a complete beginner you have a slow computer internet brain Etc people come up with all sort of crazy excuses why they can’t do it I’m going to show you how you can do it so I’m Going to show how the AI lets you set up entire servers and features previously taking months now can be done in days and we’re going to be downloading two applications for the program in which micro plugins are built most people will be already familiar with it if not just Take a seat have a cafe or tea and enjoy the show so let me just crack right into it and uh well seminar One Step number one is download Java okay very boring step but we need to have it because I want to show you how you can simply drag And drop the plugin on a local testing server where we are going to be testing it very simple typing Java jdk to Google click the first link and then you can get it using you know distribution of your operating system whichever you use for me it’s windows I just hit get the Installer install it normally nothing much and step number two is to get something called IntelliJ IDEA again many of you guys already are familiar with it it looks like this it contains the code it helps you produce the plugin Itself by writing it and if you are a Student of mine Academy or you want to check it out which I highly suggest we have an amazing program on how to create these plugins you will also get a premium license for the program for IntelliJ which will contain some very Advanced features so to download this Again just go to Google click the first link download the IntelliJ IDEA for this video you can just get the free version just fine it’s gonna do just fine okay and then step number three I do recommend you have a micro server on your computer and for this we will be Using paper so you can just go to the site I’ll click the download button I don’t have to waste my time showing you how to do it and then just Google how to set up a local Minecraft server if you do you will end up with folders and Files looking like this one where plugins is the most important one because we will be placing our plugin within this folder right here so again I just want to skip all of that Basics because this is covered so many times this video is new this video has topics that weren’t covered before charge Repeat is pretty new so let’s just skip right into it and then I want you to go and open up chat GPT account which is really cool because it’s completely for free you can go to openai.com open the account and rock and roll now that you have all these steps didn’t Take you five minutes but once you have them the entire plugin will take you five minutes that’s what I meant by this video you know say click bait uh now what you need to do is open up the IntelliJ which you have installed go to file new new project now actually Go to go to settings and go to plugins first sorry about that go to Marketplace and then make sure to find and install two extensions one is GitHub co-pilot which basically brings chat GPD right into IntelliJ so you don’t have to copy paste from a website uh like you know Like a crazy person would do and this one is not for free it’s 10 10 per month which I think is a very worth the investment and you can get a free trial of it for 30 days which is really cool as well the other extension micro development will simply pre-create all Of the structure of the plugin files for you very handy as well get them restart the IntelliJ thank me later so once you have them now you can go to file new and project by the way guys if you don’t see this window it’s because you don’t have Any project basically you will be looking at um you’ll be looking at something like where is that something like this in this case just hit new project should be self-explanatory now how do you actually create a micro plugin and that’s the question of all ages so I will go I will Ask charging PT how do you create a sample paper or spigot uh Minecraft plugin give me a demo of a plugin giving me three diamonds when I type Diamond okay and we are going to be getting the answer so boom magic happened chatty PT has finished replying by the way sometimes It does get cut off if you type too long of a message or too long of an answer um and it will try to generate too much code in this case just type continue hit enter It’s Gonna Keep generating the code until it will end sometimes the formatting is broken when you type Continue in this case you just have to bear with it and copy paste the code it’s going to work regardless of the formatting so it gave us a bunch of instructions uh number one number two develop an environment we just got this program so that should be clear number Three is when we actually need to go and we need to start creating this so here inside I’m just gonna type a diamond plugin location can be anything platform type is going to be plug-in then bucket then paper version can be the latest one main class this can be anything so Diamond plugin but before you need to type in something called the package package basically means the folder structure in Java there is a bunch of different conventions now in you know in very very brief terms if this is the first time you are seeing this video I Would just go with me that my name that the name of the plugin that the plugins uh sort of main class from which the plugin will start to load very simple if you do have an email account you can also type in com.gmail.yourhandle Gmail dot the Plugin name so uh this is just a determinating thing for uh say organizational purposes every plugin should have a different package and every um yeah and these classes shouldn’t be named main okay some people teach just give it a name main which is very confusing I personally don’t like it I Personally would always go with the name of the plugin and then the plugin itself okay the rest you can just keep as it is make sure you hit Maven because Maven is a simpler than Gradle I mean it’s not simpler but I can teach it I don’t know Gradle yet haven’t learned it and Maven is very extent extendable I’m incredible is of course two 2 and a lot of people will argue but it doesn’t matter if you are a beginner just hit Maven it’s going to be very simple hit create and that’s It and all the magic is happening in the background so we now have the basic structure of a plug-in there is a plugin dot yml file which basically gives the instruction to microserver to load the plugin it will give the name of the plugin the version which is then found In the pump file which is the one from Maven Maven is a is a thing that helps to compile to convert all the source code into one single jar file right it’s a bit complicated here but the basic just is you have the version right here If you need to update it later and all the other stuff you don’t have to worry about for now it’s completely fine and then here is the version of the server which you can update later on as the video gets outdated then the main is Where we find the main class so this is the package me my name diamond diamond uh is the main class I did I did put a plug in there but it seems to get cut up doesn’t matter and then API version is the version of your building against all Right diamond is the name and then we can go and we can just copy this code right here now this already gets tricky this is where it gets tricky guys so um this will not work okay I know it you guys don’t know it if you’re if this is The first time because we haven’t really registered the command okay this is where people get it wrong the AI can literally save you hours and days and weeks but you still have to understand it this is why I suggest you go click the link in the description go to Mineacademy.org Project Dash Orient to actually learn this stuff actually learn it properly because then you are going to apply this AI thing this magic to create plugins really really quickly so what I have to go right here and I have to type it uh the command does Network that you register it okay I have to give the AI a little bit of an instruction how to fix the plugin and now it gives me this queue this code which I need to put in on enable and then we also know this is not everything how about Registering in a plugin that the ammo we also have to register the command inside the the r file right here so I can copy this code and I can go to plugin and just copy paste it here so again AI dancers yes absolutely can produce a fully functional code I’m going to give You a couple of other examples later on as well but you have to work with it it doesn’t just give you it on a silver silver plate expecting you to just go roll on and works now oftentimes you’ll find it’s pretty lacking and you need to keep chatting with the AI give it Specific Instructions so my honest take is you still need to learn Java you still need to learn micro plugins but we are in a time and age where if you have basics of java right and you have basis basics of Minecraft plugins right if you know these at least fundamentals which You know my mine Academy project can teach you um you can use AI to literally produce plugins like this under five minutes I would even go to site within two three minutes this is this plugin is literally very simple now if you have this code ready there’s a magic run button which Has been generated by the plugin development app inside IntelliJ and if you hit it within 1.9 seconds also we have built success now we can go into our where is that ah diamond right here Diamond folder with the plugin it created a new folder called Target and Inside we have it the jar which is the finished plugin so I can just now go copy this jar delete the alt plugins that I had there from previous testing there we go and then just start the server normally okay guys now if I type in Diamond I’ll be given three diamonds Very very simple here are your three diamonds okay this is the basic just I did use charity GPT to generate a bunch of more advanced plugins what I typically do is I start off by creating an outline for it so it’s supposed to have a command supposed to have a Listener which is something that um bucket has this is a concept in bucket basically if there is an event player joined player left player clicked this an entity died um it fires an event say player join event and then you as the author of The plugin has the listener which listens to That event and can modify things right so create a listener when the projectile is launched from the arrow if the shooter is holding this bow then we need to cancel the event and shoot a flying kitten in the errors Direction instead so you can already see like I know what I won’t but I still save tons of time by just spitting it into charge EBD and then a custom code such as back here enable I even give it a hand just to make sure that it doesn’t screw up on the first time uh this is something that Um is responsible for running something over and over again such as timer or broadcasting tasks but it can also be used to run any code over and over again according to your choice checking with the kitten hates the ground then make an explosion and then delete the kitten Okay provide all things together so now it did provide the plugin file with the command in here and it did also provide a pretty extensive first attempt class which actually worked out of the box without any modifications which is really cool and this is the actual thing That I shown you at the beginning of this video I also did try to have to play with math mathematical Expressions right here and I said create a plugin and that will render a repeating particle effects unfortunately that didn’t go as well because I had to go Back and forth and the sort of the the wings or the the heart animation was a bit cut off but I’m pretty sure that I would get it right within a couple of more attempts because I got it right in the past four different mathematical shapes so charge ability is pretty Powerful you just have to know how to use it the moral of the story is yes can you make a plugins within five minutes absolutely can you make plugins within five minutes if you’ve never coded anything before I would say yes but but but but but chances are you’re gonna run into issues You’re gonna run into things like a major roadblock which you can’t solve um because you don’t have the fundamentals so yes you can but you have to understand what the code does when you see it on the screen of chat GPD so again guys I invite you to check project Orient to show you what the code does to help you understand all of these little parts and once you have that right once you have that knowledge you can use charging PT and you can create massive plugins entire server setups very very quickly um and you can just adjust it on the fly So I hope this video was helpful I know that you know I hope that you learned a bunch of things here and yeah that’s it hit the like button if you like this video let me know what you think in the comments subscribe to this channel if You haven’t already and I’ll see you guys next time take care Video Information
This video, titled ‘How To Make Minecraft Plugins With ChatGPT In Minutes’, was uploaded by Matej Pacan on 2023-05-02 18:18:44. It has garnered 5659 views and 160 likes. The duration of the video is 00:14:43 or 883 seconds.
🧠 The best place to start learning Minecraft plugin development ➡ https://mineacademy.org/project-orion?st=yt&sc=chatgtp_ai
🙋♂️ Need help? Ask in our Discord community: https://mineacademy.org/discord
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: https://www.youtube.com/@kangarko?sub_confirmation=1
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 (https://mineacademy.org) and Minecraft enthusiast since 2010.
You’ve found my YouTube 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 ➡ https://mineacademy.org/project-orion?st=yt&sc=chatgtp_ai
#minecraft #spigot #minecraftplugin #java