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!
We have a be nice policy.
Please be positive and constructive.