Setup Minecraft Server Explained By a Programmer
Articles,  Blog

Setup Minecraft Server Explained By a Programmer


hello everyone my name is zero Upton welcome to my Channel today we are going to learn how to set up a minecraft server now there’s two ways that you could do it you could set up a minecraft server with and without mods and basically I’m going to be explaining a little bit behind more of the technical aspect of how program reviews setting up a server so step number one in setting up a server is that you have to have a server to set up you have to have some type of game that you want or other servers such as a website or other such connections that you’ll want to set up so for here we’re going to be doing a minecraft server so minecraft forge dotnet files you can download and the windows installer your own windows MDK I think that’s Mack that might be Linux anyways you can do all this download that and well you’ll so you found the installer wait for the advertisement to load and then download this and install this or download that to the desktop wait for a minute for that to download if you wanted to download a server just without mods then you go over to the minecraft net and just download the server and you can download this server here all right so you’ve download the forge with the latest installer we’re going to run that open this up and it comes up with a forge so what you want to do is both install the client version and the server version everyone who’s going to be playing on your monitor server will have to install the forge version of Minecraft so that way when you pull up the launcher you can choose between forwards and the latest release and that’s what that will do you don’t need mercurous just unclick that and click OK when you install the server you’ll want to choose some other place on your desktop wherever you want to install your minecraft server so let’s create a new folder for this let’s call it test install it there install that server and this will go ahead and download all that alright once you have that installed you start the forge boards Universal jar and then you start the minecraft server jar and you’ll get something like this coming up you’ll want to open up this this will initially be set to false do you want to set that to true basically it’s a shorthand way of you agreeing to the terms of service terms and service for the ula it’s straightforward set that’s true I’m going to cancel that is all that you run that and what you’ll get is this opening up and generating everything and dandy once you’ve gotten this up generating everything you know you’re good so you go ahead and let’s say I’ve set up all my properties already you go into your properties file which is your server properties file you see that your server port is will be automatically set what you want to do is change the server IP to localhost because you’re running it on your local machine you don’t have a dedicated IP address for this basically it’s saying okay anyone on your local area network will be able to connect so anyone on your machine is able to connect to this this server while it’s running so the thing about the jar I leave let’s see so it exit out completely that’s good so I start up the minecraft or let’s say you wanted some mods you download the mods and I said this is where you put the mod file in alright and if you have your minecraft open up and you wanted to install a lot you want to have the same mod pack so you want to have the mods on your server and the mods on your client so you go to your launch options open up forge go to that go into your mods and drag and drop the same mods that you have for both version that way your client is able to utilize the mods that are on the server otherwise it will just go haywire alright so you got that that’s all running that’s all fine and dandy so you go ahead and launch server and that to create the spawn area and if at any time you want to just wipe the world that you’re in you go ahead and delete I think yours is called borough yours is called world by default let’s see names Mine neo Bros and there’s some type of world setting let’s see if I can find that a level name level name equals neo bros that’s what this will be called right here yours will be called world by default alright so the average tick rating this is the memory usage if you wanted to use more than 100 gigs of memory then we want to set up some launch options so I created this bat file for Windows they won’t work for Macs Mac or Linux because Mac or Linux I’ll have met bat what you’ll want to do is a bash script a CH script but basically start I think is unique to Windows you’ll want some type of other fork operation or job operation so I have two things I have new grok and then I have this part right here which is what we’ll focus on right now so it says run this command start this command and it says Java do thee and have the minimum minim ran take up to one to two gigs a jar file and I’m running a 64 version or instead of a 32-bit I’m running a 64-bit Windows so I’m going to be doing 64-bit just more addressing and I can use more than four gigs of RAM but that’s besides the point I don’t really know if there’s too much of a difference as far as performance if it goes all right here’s the name of the server that I have and no GUI means that instead of this I’ll just have the script running all right so I’ll come back to that after so this is running right now and if I was to go into and play minecraft so you have this right here we’ll do this that’s set up so you’ll have all this stuff loaded you’ll have your Ma’s loaded Maas active that’s all fine and dandy mods here Zelda mods for the forge stuff it’s good and then I go to the multiplayer world that is not there anymore so the needle bros our server so right now it’s open basically I’m just edit this it’s just my local IP address 127 dot 0 dot 0 dot 1 that’s going to be the same for you if your so this is if you’re running if you’re playing the server and running the server on the same machine you’ll use this server address if you’re not you’re trying to get your – to access to your friends server or you have a different computer that you’re using then I’ll show you how to do that in the next step but right now let’s see if this works ok so the server address is set up and it’ll come up with neo bro server basically it’s taking the server property down here at the bottom that says and pretty much the server name and it’s coming back with the new bro server that’s that’s where that came from so let’s open up this and let’s login for the first time never seen this world before alright and we are playing on the server how do I know that we’re playing on the server move over here and it says that I have joined the game on that port logged in with that entity cool good so I’ve joined the game ops to me alright now what happens if I says so this works all fine and dandy but I could just play single-player game I wanted to create a server so that my friends can play with me across the internet how do I do that without paying a butt ton of money to keep a server open 24/7 alright so we’re going to disconnect from that answer that with this it’s five mini so I’m going to stop this server right now let’s make sure that it stops completely sometimes the Java programs don’t stop those the server doesn’t stop that’s really minor minor details all right I have this open right now now the next step in the operation is to do the n grok exe step and what this will do is without happening to port forward your modem you’re able to connect online without having our by just giving someone and dress with the port number so what do I mean by that all right and you’re calm and secure tunnels to localhost basically you’ll download this and log in with or you’ll sign up all right so you log in to end rock you have the authentication token white it out my intent ocation token basically you run this command in your console it’ll register it and then you aren’t going to be opening up HTTP we’re going to be opening up is your TCP connection so we open up your TCP connection the gerak TCP so to be opening up your command prompt here there be able to register TCP so now we’re at the point where you can launch the server all right we launched the server and these two things come up this is your new rock this is your server that’s running right now so okay we’ve that that’s that is everything that you’re done like this is this is it what you want to do is this is the server IP address and port number that you’ll be giving to your minecraft competi Patriots so we’re in here you have a multiplayer you want to add a server and the server you want to add is this address right here and you click done and it should be new row server so this has a little weak connection than this because 0 milliseconds means it’s on my same machine this is localhost and this is the time that it takes to go out and to come back in that 200 milliseconds is decent if not all right and you see when people start logging in to the server you have people connecting to it people opening up connecting to it doing some handshakes and people joining the server okay bull so and so right now I am running the server on my computer playing minecraft or playing the server on my computer at the same time that I’m running it but not only that is I’m connecting through the web through TCP protocol so I’m going out to the nog Rock I owe I P address they’ve connected my external IP with their internal system through the port number that was given this is all free and connecting back to the server so it’s a very roundabout way of me playing Minecraft on single-player but if you give if you give this IP address right here to to your compatriots they’ll be able to play with you now what happens is that every time you start up the server every time you start up this right here you’ll be given a new random port number and you’ll need to have your Patriots update that every time you run it it’s so much secure because if I close this out I’ll not be able to play anymore connection lost so that’s it action the reason for that is because the TCP layer is now null and void back to the server list that is now offline nice and pretty sure yeah well done done host but what isn’t offline is my local host one join this connection server when a wire anyways so that is how you set up minecraft server running on your computer and having other people play on that with you at the same time that you’re running a server make sense if you have any questions please feel free to comment in the comment section and I will see you in the next video good luck and farewell

Leave a Reply

Your email address will not be published. Required fields are marked *