In today’s video i’m going to be showing you how to make custom commands for your minecraft bedrock worlds now you can do this for realms if you have those or you can just do it on a world with your friends if you want to show them Something cool you made now i made a video showing how to do this a little while ago but that’s kind of outdated now so this video is just going to show uh the new version it’s changed a little bit but i’ll explain everything and then i’ll have the download link for the pack In the description below so i’ll quickly show you uh some examples of the commands um sadly we still can’t type let’s say slash and then custom command if we had one right we can’t do this because minecraft just doesn’t like us but what we can do is we Can set any prefix for custom commands we want and in this case i have it as two exclamation points so if i type let’s say spawn if i want to go to spawn i can type this and now i will be at spawn obviously this isn’t a spawn but just imagine it And then i added a couple other commands in like uh gmc but i’m already in creative you can do gms and then i’m in survival now but i can go back to creative and then if you want to let’s say type command that doesn’t exist so obviously this command doesn’t exist It’ll just tell you error it doesn’t exist um and i added one more discord by the way you should join this discord anyway um back to the video so the pack behind this like i said it’ll be in the description and this is what will be Inside it um it’s not much and we’re gonna just focus on the scripts folder because that’s where it’s handled so we have our index.js and this is where all the code is so i have it actually open over here and you don’t have to worry about uh Much in here except this main switch um everything else like this down here don’t touch it this if you want to change the prefix you can change it right up here and then like like i said if i go into creative i’ve put two exclamation points before The command that’s what the prefix is and it’s specified here and then the commands are all specified here so if i wanted to add an extra one i’ll show you this just in case you want to add a command in uh i would just copy a case let me Delete these extra spaces because they aren’t needed um so yeah if i wanted to add a case and then let’s say we’ll call it test then i can just do this and let’s just say i want my player to say text i’ll save the file and then i’m just gonna rejoin the game And once we have the game loading back up uh as you can see if i now type exclamation mark exclamation mark test and enter that command i said test because that’s what i specified in here so um like i said that’s how you add another command and what basically happens Is we’re just telling the server to run a different command when we do that so if we type this thing in it would do the same thing but you can have it run two things if you want so if i copy that and paste that then i Can have it say let’s say test two or if i had a function then i could do like function test but i don’t have that you can do whatever you want here you can have it like i said run code or run different commands like i said there’s not too much to it It’s just this one file you have one switch case and then you can specify what commands you want just type in the name of it here uh their error message so if you type something that doesn’t exist uh that’s specified down here or down here my bad um and you can change this If you want to be whatever you want if you want to set up some sort of permission system if you want to get more advanced by all means go for it um but yeah with that said like i said the link for the download to this will Be in the description um the one last thing i’m going to say before i end this video is if i actually show you the world settings um you do need enable game test framework enabled because this is taking advantage of game test um so yeah that’s pretty much it for This video if there’s anything i didn’t cover because i know this was very brief i’ll leave a link to the original video in the description below the pack that was in the description of that video will no longer work but i may have touched on some things That you might need so yeah with that being said if you enjoyed this video please leave a like it really helps me out uh if you really like this video make sure to subscribe it really helps support what i do if you want to get in contact with me have any questions make Sure to join my discord the link for that is in the description below and i hope you guys have fun with this pack and i will see you guys next time peace Video Information
This video, titled ‘Minecraft Bedrock: How To Make Custom Commands’, was uploaded by Sammster on 2022-01-05 01:32:54. It has garnered 17942 views and 363 likes. The duration of the video is 00:04:51 or 291 seconds.
In this video, I will be showing how to create custom chat commands so that you can create your very own custom commands for your worlds to show off to your friends, this will even work on realms!
You MUST have “Enable GameTest Framework” ENABLED for this to work!
My Discord: https://discord.gg/9S6K9E5
Download Link (.zip): https://www.mediafire.com/file/sxj6ba63qxa1xge/CustomCommands1.18.1.zip/file Original Video: https://youtu.be/Fmp4tEWnP4E You may want to reference the original video as I explain things in more detail in that video however, this video is more up to date.
Background Music: Song: Cartoon – On & On (ft. Daniel Levi)(Cartoon x HAVSUN x WAYOUT Remix)[NCS Release] Music provided by NoCopyrightSounds Free Download/Stream: http://NCS.io/OnAndOnRMX Watch: http://youtu.be/6NKZ7mscEyY