Introduction: Code Your Minecraft Server (PC)

You might be wondering how to code your Minecraft server. The code is, unfortunately pretty much set up for you, but when you look at this tutorial, you will learn how to change the max players, disable mob spawning, PvP, and much more. You might need to use a fairly large computer with large storage and RAM. You will need a few gigabytes to do this, and I have two terabytes. But don't worry, you can still make a server no matter how much RAM or storage you have, you need at least one gig. Now let's get started!

Step 1: Make a Website

You don't really have to do this but you can make a website to make your server popular. Wix is a good choice because you can add a blog and keep your server fans up to date! Weebly is good for other things, I used both Weebly and Wix to keep my server spreading. It might be tempting, but don't give your server IP address until you are ready for your fans to come rolling in! If you don't know your IP address use your search engine and type in 'My IP address' and it will give you a number and that's what it is. But we have done enough chitter-chatter. On to the coding.

Step 2: Code Your Server

I hope you already have your server published, (if you don't, there will be a link at the end of this tutorial, click on it) because we are starting the code. Go to notes, click open and search for the file you should have created: server properties and click on the suggested link, and it will give you a page like this:

NOTE: The server code may not exactly be like this, but as long as it's similar, you're good. It's also not one blob of code like this. Toggle with the settings with true and false and all that, but you can also name your server at the bottom, my server is: ***CraZyDawgservers***, and it will appear below whatever you named it on Minecraft.

#Minecraft server properties
#Fri Jun 03 13:28:50 CDT 2016 spawn-protection=16 max-tick-time=60000 generator-settings= force-gamemode=false allow-nether=true gamemode=0 broadcast-console-to-ops=true enable-query=false player-idle-timeout=0 difficulty=1 spawn-monsters=false op-permission-level=4 announce-player-achievements=true pvp=true snooper-enabled=false level-type=DEFAULT hardcore=false enable-command-block=false max-players=1000 network-compression-threshold=256 resource-pack-sha1= max-world-size=29999984 server-port=25565 server-ip= spawn-npcs=true cd="`dirname "$0"`" allow-flight=false level-name=world view-distance=10 resource-pack= spawn-animals=true java=-Xmx2048M -Xms2048M -jar craftbukkit.jar white-list=false generate-structures=true max-build-height=256 online-mode=true level-seed= enable-rcon=false motd=A ***CraZyDawgservers***

Step 3: Almost There!

Your server should only be able to hold 20 players, but you can change that to! You can add the number if players you want max to join, and that will appear next to your server! Here is a video that will show you how to run and make your server! With a HUGE thanks to Minituff for explaining this!

Step 4:


LegoMaster1031 made it!(author)2016-06-08

you can join my server at or you can visit our website for other servers at please rate our website, It will be most appreciated. Server status's will be show at the top of the home screen, please join our server if you like this instructable.

LegoMaster1031 made it!(author)2017-01-03

A gag? No wix and weeblysjow how to do it perfectly... I am about to publish a how to in creating an HTML5 and CSS site,. Feel free to comment back

Blob+man made it!(author)2017-01-03

these instructions don't have how to do it is this website a gag?

LegoMaster1031 made it!(author)2016-06-15

I will also probably put in a tutorial on how to code it through eclipse

About This Instructable



Bio: I enjoy doing things with legos, and am now learning how to code apps to Android. If you have any requests, comment. I have a ... More »
More by LegoMaster1031:MCPE 0.16.0 Tips and TricksHow to Make Your Minecraft Server Auto-restart After CrashCode Your Minecraft Server (PC)
Add instructable to: