Search results
People also ask
How do I make a Minecraft server for free?
How do I add a server to Minecraft Java Edition?
How do I start a Minecraft server?
How do I make a Minecraft server operator?
How do I set a character as a Minecraft admin?
How do I set up a server?
We give you your very own personal Minecraft server, where you can play on with your friends all day and all night. Get yours now For Free
- Creating a free Minecraft server with Aternos – Aternos
Create your Minecraft Server. Once you're logged in, it's...
- Creating a free Minecraft server with Aternos – Aternos
Scalacube offers the Best Free Minecraft Server Hosting with full functionality. Includes DDoS protection, 24/7 uptime, server monitoring & SSD storage. Get your free Minecraft server today!
- 1
- 4 min
Create your Minecraft Server. Once you're logged in, it's time to set up your server. Click 'Create a server.'. Choose whether you want a Java or Bedrock Edition server. Set the server name and Message of the Day (MOTD). Click 'Create.'.
Sign up. Choose a username. I agree to the terms of service. I agree that my personal data is stored and processed according to the privacy policy.
- Overview
- Warning
- Java
- Common instructions
- Windows instructions
- MacOS instructions
- Linux instructions
- FreeBSD instructions
- Plan 9
- Hostman
This article is a stub.
This tutorial is exclusive to Java Edition.
Note
Since you're about to run your own server, you should be aware of the possible dangers. Running by the instructions below should not put you at any risk, but this is a wiki which everybody is allowed to edit, and we don't know about your system configuration, so we can’t guarantee you'll be 100% out of danger.
In order to run your server and stay out of trouble, we highly suggest that you should at least know about the following:
•Using the command-line and editing configuration files
•Networking in general (IP, DHCP, ports, etc.)
•Your system configuration
Java is a programming language designed to create programs for the Java Virtual Machine (JVM). The JVM supports many different platforms. By doing this, developers write code for the JVM and any platform supported by the JVM can run the program. Further reading.(Remote shell port)
This section is designed to answer some frequently asked questions about Java and guide you through some decisions regarding Java.
OpenJDK vs OracleJDK
OpenJDK and OracleJDK are very similar. OpenJDK is the official open source reference implementation of Java. OpenJDK is an open source codebase that almost all other JDKs are built on. Excluding packaging, cosmetic and license differences OpenJDK is the same as OracleJDK.
Do note that OracleJDK (Oracle's "OTN") builds require a paid subscription for commercial and production purposes. This likely includes running a Minecraft server even if it is non-profit. Oracle does provide its own OpenJDK builds, but they are not packed into an installer format for easy use.
JRE vs JDK
The general gist of running a Minecraft server is that you will need to install java, run the server, accept the EULA, and run it again. Once you have installed java and opened up a command line, everything is basically the same.
•Check the system requirements for CPU, RAM, and disk space.
•Install Java. Use the OS-specific instructions below for this.
•Download your server jar file from the download page.
•Make a new folder for the jar file and move it there. This will be where all the configuration and the world files will be stored, so you don't want these to just sit in "Downloads".
•Open a command prompt or a terminal interface. (On windows: search for cmd. On macOS: open terminal in launchpad."
Installing Java
The Minecraft server requires the Java Runtime Environment (also called JRE or simply Java). For your security, you should only use the most recent version of Java. To verify that you have the latest version, do one of the following: •Open Windows Control Panel, find Java (it may be inside the Programs category), and click on Update Now. •Visit http://java.com/en/download/installed.jsp. This will perform an automatic version check from your browser. However, the Google Chrome and Firefox browsers do not run Java content and therefore cannot check Java through the browser. •Open a command window and enter the command java -version. If a version number is reported, then check the Java website to see what the most recent version number is.
Installing Java
Open the terminal. •Check if you have java by running java -version. Make sure it's newer than 1.6 (best if newer than 1.8), for most versions, or java 17+ on 1.17 & 1.18. •If you don't have java, you can install it via HomeBrew: •Run /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" to install HomeBrew first. •Run brew install openjdk to install java (OpenJDK). •Run java -version again. You should get something this time.
Setting up the Minecraft server
See the Common instructions.
Using Time Capsule
Contents in this section are disputed. This section should definitely not be in this part (it fits better under #IP address notes), but then it probably also does not belong under this article. We are not adding instructions for TP-link, D-link, Linksys and all other brands, so why single out AirPort specifically? Some homes use AirPort Time Capsule as a wireless router instead of other brands. This section will teach you how to set one up without messing up your file server. NOTE: Make sure you have your admin username and password. •Open System Preferences > Network. •Click the Advanced button and go under TCP/IP. •Where it says Configure IPv4, change that option to Using DHCP with manual address. •Change the IP address to 10.0.1.x, where x is a number between the last number of the two numbers under DHCP range (i.e. 10.0.1.2 to 10.0.1.254 would be anywhere between 2 and 254). •Now go to the Sharing section and make sure that Internet Sharing is on. •Now, open up AirPort Utility and edit your Time Capsule settings. •Go under Network and make sure the option Router Mode is set to DHCP and NAT. Now, click the + button under the Port Settings. •Type in the following: •Description: Minecraft Server (or whatever you want to call it) •Private IP Address: The address you chose for the 4th step. •Change everything with the word port in it to 25565. •Now, hit Save and update the Time Capsule.
Linux comes in many different varieties called distributions (distros). Some of these distros are designed or better suited for running a server. If you are setting up a dedicated server it is recommended to use one of these distros.
Linux, in general, is more welcoming to open source programs. So where applicable it is recommended you use open source programs, such as OpenJDK.
Installing Java
Due to performance and crash issue with OpenJDK and Minecraft server, we will install Oracle JRE made for linux. Before installing this JRE, you have to install the linux binary compatibility on FreeBSD, you can follow this documentation. Jave requires some information about the proc. You have to mount linprocfs, type: and add this line to /etc/fstab: The Oracle JRE has a dependency marked as forbidden and the installation will fail. Go to /usr/ports/textproc/linux-f10-expat2.0.1/ and in the Makefile remove the line which starts with FORBIDDEN=. Next you have to manually get the linux tarball due to licence issue (like `jre-7u65-linux-i586.tar.gz') from java official web site and copy the file to /usr/ports/distfiles. Then to install the JRE, go to /usr/ports/java/linux-sun-jre17/ and run make install distclean. Try running java -version. You may end up with a message that it cannot find libjli.so. One way to fix it is to add your java paths to the search explicitly. Make a symlink: And in /compat/linux/etc/ld.so.conf.d/java.conf add: Run /compat/linux/sbin/ldconfig. Now java -version should work.
Launching Minecraft Server
Create a folder and copy the Minecraft server jar in it. In the actual version you will get this exception syscall epoll_create not implemented if you run the server in the usual way, so we add this line to the command to fix that -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.PollSelectorProvider. The command to launch is like:
Place Holders have been used in this example shell script including PATH_TO_YOUR_JRE.deb and PATH_TO_SERVER_JAR.jar replace them with /INSERTACCOUNTREGISTERNAME/.../INSERTJRENAME.deb and /INSERTACCOUNTREGISTERNAME/.../INSERTJARNAME.jar
Hostman is an application hosting provider to host apps in the cloud. Minecraft is available as a one-click app package on Hostman. Installation takes about 2 minutes, there's an instruction on how to configure the server and start playing. You can have multiple Minecraft services on one server. Try a free demo here.
Learn how to set up a FREE Minecraft Server for Java Edition 1.21 using Aternos. Aternos is a reliable and user-friendly platform that allows you to host your own Minecraft server for...
- 2 min
- 454
- Gr1zzlyMC
Sep 8, 2024 · This wikiHow will show you how to make a Minecraft: Java Edition server for free using your Windows, Mac, or Linux computer. Things You Should Know Download the server setup for Minecraft.