What’s up guys it’s killer KX or loud gunshot and today I’m going to show you the top best commands to set up a realm or server in Minecraft mode C okay so uh we have a lot of command blocks great so first okay so this is a game mode Adventure so Right here it basically says execute at all players mode to survival so if they’re in survival mode in a radius of 75 so if they’re in survival mode and a radius of 75 they’ll be turned to Game Mode Adventure okay that is that one and then s survival so Their mode from Adventure in a radius outside of 76. and from a radius of 78 and on their game mode will turn to survival so this will turn all Adventure players once they get out of a radius of 76 they will turn to survival mode from from game mode Adventure Uh this is spawn protection so no one can hit you at spawn and no one can kill you slash effect at all players in a radius of only 50 that way does not give it to the whole server uh weakness two for two seconds two to five which is the Highest amount you can give it to someone and it’s true so there are no particle effects this is instant Health okay all players radius of 50. instant health for two seconds and how strong it is one and Truce total particles so once you go to spawn it Will instantly just fill you up and even if you do get hit by something you will get healed okay okay so this is killing all pillagers in a radius of 100 slash kill at all entities but you have to make sure to put this in bracket type equals Pillager And a radius of 100. it’s hard to kill uh pillagers and this repeats for every single type of mob you just want to replace this no you just want to place the mod name so spider this one’s 50 we could change it to 100 zombie skeleton that’s 50 creeper that’s 50. and if You’ll notice we are on an island so there are always a lot of squids and always a lot of drones if we could kill all the drones but it would always make rotten flesh just fly up to the top and it would be really annoying so we just Made it so the John’s gonna stay there and the Johns can’t even kill the players so yeah okay what is this oh and these are to kill all like passive mobs cow because they would sometimes go on the pressure plate and just screw people over turtle okay this is different Slash kill at E equals type equals Throne Trident underscore underscore Trident comma radius of 50. so this this protects everyone at Spawn from a trident being thrown at them so if a player hadn’t tried it and they were gonna throw it at them it would it would hit them but now it Doesn’t because it will immediately kill the tri kill the throne Trident and it will like you’ll solve it in your inventory so it won’t get rid of it unless you throw it if you throw it it will instantly disappear and yeah it sucks for whoever through it and The weakness does not help with this weakness only um only helps with uh like a melee so if they like were to throw something uh then it would actually like it would actually might hit them and we also have fishing hooks because there is an area In spawn where you can kill kill someone and I allow it so I just put fishing hooks that way no one can fish and hook them and this is only the fishing hook so when you try to throw a fishing hook it will instantly kill it Should be the Trident and it should be a bow one Arrow killer yep okay slash kill at e type equals Arrow r 100. night vision all players in a radius of 50 night vision for two seconds Amplified 225 true to show no particle effects that’s just so even if it does Turn night which sometimes I’ll set it tonight um it’s just not super hard to like look where you’re going and all that all right um we’ll just shop okay I’m going to show you this villager all right so this villager how this is working right here so you You have to place the glass first and you’ll spawn a villager like right here and then he’ll instantly teleport right here and out and he also faces you so what he he faces he always faces the nearest player that’s how he works [Applause] so oh my gosh okay I’ll show you how This works all right all right villager shop okay so it’s tping him to those guys coordinates at e slash type villager that way it only teleports the Villager in a radius of 25 so not all villagers in the server will be teleported I actually had a problem With that so I fixed it by putting radius of 25 so any villager within 25 a radius of 25 from Spawn will get teleported into that box 402 6922 those are the coordinates I mean you have to type in facing so facing will be like the way they’re Facing so you can make them always faced East always face the West always face South I did it so it’s facing the nearest player the at symbol and then Pete hunger a fact that e and a radius of 70 saturation 2 for 2 seconds 225 Amplified True to show No Effects so that that makes it so no one can starve at spawn and die slash kill at e type boat equals it type equals both and a radius of 20. so the reason why it’s so low is because actually that people come over here And this is a dock and people would break this boat and go place it on spawn and they could like screw it up a lot so now like if it’s in a radius of 20 all boats will be killed so anytime you put a boat down it will instantly disappear and this People on this boat I said drive it all the way over here and then you can go all the way back here step on the special plate it’s gonna disappear and the new one spawns right here to do this oh okay so first it goes to this command block which uh Which kills the boat kills one boat and then it spawns one boat and you need to have it set up like this because if it kills it and spawns at the same time it’s just gonna do nothing so this is the command for it slash kill IE type Boat in a radius of 50. so once you get 50 blocks away from Spawn so say if I went like all the way over there and I stepped on the pressure plate it would not kill the boat and then this one slash summon which summons a boat spawns in a boat at 359.63 negative 19. so that is what puts the boat back here so it’s not teleporting the boat it’s actually just baking it and placing a new one oh shoot and yeah that’s how this works and then what’s in the next oh I already got both killer other okay that’s whether clear Already did night vision or did Arrow color this is also weather I’m pretty sure yeah time set day okay so this makes it always day it’s less time set day all right piston so if you want a item in the game to always be illegal So you cannot have it in the store you can’t craft it it’s not possible to you do slash clear which means it’s going to clear it from their inventory at all players at a and then piston so it will get rid of all piston oh shoot we’ll get Rid of all the Pistons in the game no matter how much you try to spawn it in I will show you it does not even let me like take it out I can’t like it just instantly deletes and I can even try doing this just instantly delete something from my uh inventory And does not let me at all and that’s a there’s a piston one sticky piston one oh this is something I’m working on right now so this only works in like this area does not work throughout the whole server slash execute to the nearest player at their coordinates Detect if below them that’s what this all means detect if below them so negative one block if it’s smooth Stone then TP the person to be the player and a radius of one TP that person to three nine eight sixty seven twenty two so that’s spawn so anytime someone steps on Smooth Stone they’ll teleport to spawn just like that and I I’ve not figured it out yet I’m pretty sure it’s slash ticking area I don’t know how to do it yet uh I don’t know how to make it work throughout the whole server but I do know how to make It work in like only this area which is pretty cool but kind of asked because I have to learn all right okay and then all these command blocks so all these command blocks are with the ender chest and this is the inner chest we have all this glass The reason why I put all this glass here is to limit people only to five spaces in the inner chest that way you can’t just always just steal some steal someone’s stuff real quick and then just load it all of it into your energize you you can only use Five slots so you can only choose the five best things that are worth the most to you and just put it in your energy zest the okay and we also banned glass we banned clear glass for this reason that way we can use it in our ender chests and these Are like all slots and as you can see it does not let me take it out of the NHS even if I try to get like infinite blocks it would not let me and all these commands well this one is this one kills all the glass that’s in People’s inventory and this one replace item entity so it’s basically saying like replace all ender chests like all player under chests and then zero is the slot and then the glass and then one piece of glass at the end so this says so entity you have to bet Entity the reason why you have to buy entity is because you want it to work for all and assists not only for those ones that way anyone in the server anytime if they get an inner chest and they place it down this will still work for them and They’ll still have to obey like those rules so we have one we have one through 26. and so that is for all the slots so as you can see there’s three right there 23 right there and we didn’t place all these and just type this command what we did was we did The the slash clone command and then we just copied and pasted and put it all like this and you just changed the numbers and put the names on that way it looks really nice all right this is also pretty cool trash bin be careful all right so this command block Slash kill all entities type equals item so kill all items in a radius of two blocks so cold I’m gonna put a cauldron right there that way it looks nice and you don’t you see a command block and so this is the trash so anytime you throw an item inside of the trash Immediately deletes it immediately and even sometimes if you go like this yep it deletes it too sometimes you can put it on the stone and it won’t delete like that and this is not a hopper so you can’t like look into it like I’m clicking this Right now trying to look into it you can’t look into it and it would not I would not let you that way you can’t just take people’s trash so yeah you can just keep going like this oh I had something here but I guess it got destroyed all right I’m gonna explain How I did this so I do this is someone here I can’t even find it oh my gosh I don’t even know where I put it all right well yeah I can’t even find this thing this is a faction server just letting you guys know all right so what’s happening here is There is a there’s a armor stand on that block right there and the arm stand is holding the ax and it’s just like rendering inside the street and put command blocks all around it that way someone can’t just go up to it and steal the ax and then I can’t find the command block but I will show you the command so we actually turned the armor stand invisible the way you do this slash effect at e bracket type equals armor stand bracket invisibility say 1000 seconds two two five true so that way it gave invisibility to this Armor stand so that but we have a command block for it and we put it on constant that way it is always invisible that way it always looks nice and it always looks like there’s an ax stuck in the tree this right here is our band locks and it is covered in barriers So once you go through all this thing all this cobweb you instantly get TP back off and all of these are hooked up to the same block I’ll show you so there’s all Redstone and one command lock that way you don’t need to put nine command blocks And they want to make sure it always teleports you in the middle above right here because if you teleport on the side you have the risk of them getting on here if they move and yeah that’s our band box oh this is the ROM code by the way make sure you Guys join this ROM code k a i-u-u-k-w-x-f-y-e-u this is our ROM code this is our fraction server we got a bear all around spawn that way no one can uh Escape spawn and the way you do a skip spawn is you go to this this is the biome chooser This bottom Chooser allows you to go to anybody you want and yeah to be the village to be the planes to be the desert should be ice bikes you can move from Island so we found all these bombs legit besides the village to get to the village and to Just instantly know where it is without trying to actually look for one and to look for the closest one you have to do slash locate Village and it will tell you the coordinates negative 1200 negative eight hundred and eight so it will instantly support us and there’s also a pressure plate that TPS you in survival because the adventure survival thing does not work all the way out here so we have to put a command block and we made everything out of Bedrock that we can’t destroy it and we made it kind of tall that way you always know where it is and this button Is tp’s back to spawn yeah that’s our buying cheesy bass teleport this confuses a lot of people so let’s see all right so this right here only teleports certain people that way I cannot just come here and then just click this and then have myself teleported to this person’s base We do have rules so like if you teleport morning identity theft is a two-hour ban don’t click a button that is not yours so the identity theft so it’s basically identity theft because you’re trying to be them you’re trying to go to their base and their name but it does not Allow you and if you get caught doing this you will get banned and get put in that cobweb how you do this is you do slash test four this certain person so you’d put in their name you don’t have to put the quotation marks that I uh it automatically does it for me Test four and then the person’s name that you want to teleport so it’s gonna basically switch the whole server and say okay he is in the server so if it’s if the answer is yes he’s in the server it’s going to go to the next command block and this command block Will TP him to his base this is our shops and my gunshot there should be something on the roof right here okay these are all the command blocks for our shop so this is this is setting up all the money so scoreboard objectives add money dummy so this is going to create the Group money and yeah to make it blue you have to put that weird s and then you put nine then you put money and then scoreboard objectives set the display sidebar money ascending so that’s basically telling the game to put it to the right side of The screen and to make it so it all so it like goes up scoreboard objective set display below name money so I’m gonna click this one right now oh shoot oh kind of screw that up all right um oh there we go Okay scoreboard Players at j-tracks money zero so that’s that’s how you add people to the actual scoreboard you have to give them money but you’re giving them zero so you just give money zero and this machine right here anytime someone logs off it won’t say player offline it will just get rid of Them and we’ll update and keep all their money so execute at all players locations scoreboard Players operation at the nearest person money display this is the group that no one sees but um it’s just like money so it’s basically transferring anyone who’s on the actual display board Oh shoot I can’t do that all right anyone who’s on the actual display board it will get transferred to the invisible scoreboard and they will keep all of their money this is testing for all players so if this is constantly on because if it only tests for one player then it’s only Going to show up one player if it if it shows everyone’s in the lobby it will test for everyone scoreboard Players add at a money so this is adding someone’s money back to zero um okay that that’s like that’s this one I’m pretty sure I know that’s um I said this one setting display sidebar so that’s how you put it on the side add money display dummy money so it’s basically saying make money display in the same area as money and then right here scoreboard objectives remove money display so that’s getting rid of money display that way there’s only money So it doesn’t actually like show Money display and then here we have our shop how this works okay so clear at the nearest player and a radius of four spider I zero one you want to make sure the second number is one so zero and then One so it’s gonna only take away one from them and this wait a second this is selling stuff over here is buying things so it’s only gonna it’s not only gonna take one it’s gonna take like a bunch of items so if I have a stack of spider eye And then I just click this button it’s just gonna constantly yeah let’s see how much it took oh I’d 64. hit it twice now I have 11. oh shoot and it just constantly takes a bunch certainly there now I have 64 points so it’s clearing my inventory of one Spider eye but it’s continuously doing it so it repeats for however long the button is um is clipped for and then right here scoreboard Players add at P radius five money one so this is adding one coin to anyone who’s closest to the button and a radius of five at the nearest Player so this is giving the person one coin every time they sell one and over here we have the bind the buying is a little more difficult how you do it is okay so first you have to test scoreboard Players test in a radius of four money fifty so you have to test Which means see if they even have enough money to buy the thing so for instance Compass so see if they have 50 if they don’t have 50 the signal will stop if they do have 50 it will continue scoreboard Players remove money 50. so it’s removing 50 money from you And a radius of five so in the nurse player nurse player right here and then give the nearest player in a radius of six one compass oh there we go okay that is working so just click that damn just gives me another one and now four points won’t let me buy another one Yeah it does not let me buy another one thank you guys for watching this was best realm commands to start up uh any realm not only Factions but any realm that you want to start up this is a pretty good basis for all the command blocks you will need and would want to Use uh thank you guys for watching make sure you subscribe and like the video and I’ll see you next time Video Information
This video, titled ‘MINECRAFT BEST COMMANDS TO START A REALM OR SERVER. SHOP/SPAWN PROTECTION/MOB PROTECTION/TUTORIAL’, was uploaded by Isaac Alyas on 2020-01-03 08:23:57. It has garnered 6589 views and 144 likes. The duration of the video is 00:25:37 or 1537 seconds.
I explain the best command blocks for servers and realms. MAKEEE SUREE TO JOIN MY MINECRAFT REALM