38
Many people set up a Minecraft server so players of Minecraft can play on, interact with other users, build awesome structures, and survive the night by building a shelter to protect from the monsters that spawn inside darkness. That said, all of the servers you played on all had to be set up. In this speech, I will be discussing how to set up a Minercraft Bukkit server so you can have players play on your very own Minecraft server!
First, download the Bukkit 1.8 Java Archive (also known as a “.jar” file) from the Bukkit forums. Then, place the file inside a directory, which can be created by right clicking the desktop background and clicking New Desktop. Name the folder a name such as “Server”.
Next, create a text document, open the text document and enter java -Xmx1024M -jar craftbukkit.jar -o true and on another line, enter PAUSE . After you have inputted those lines of code, click Save as and enter run.bat in double quotes! After that, close the text editor and
Then, double click the run.bat file and the server should start. If you get an error stating “'java’' is not recognized as an internal or external command, operable program or batch file.” then you need to reinstall Java, and leave the install path unchanged and after reinstalling Java, retry running the server and the server should work. If the server still does not work, add Java to the system path by searching Variable in the search bar in the Windows start menu and choose Edit Environment Variables for your account. And under user variables, append a semicolon and then the Java installation path, which should be C:\Program Files (x86)\Java\jre1.8.0_25\bin\ if you have 32 bit Java on 64 bit Windows, C:\Program Files\Java\jre1.8.0_25\bin\ if you have 64 bit Java on 64 bit Windows. If you have 32 bit Java on 32 bit Windows, the path is C:\Program Files\Java\jre1.8.0_25\bin\ which is the same if you have 64 bit Java on 64 bit Windows. If you do not have Java 8 update 25. Update Java.
After you have reinstalled Java or added Java to the system path, double click the run.bat file again and the server will start. Due to the server running for the first time, the console will generate errors, but that is normal. That is due to the server generating files that otherwise do not exist at first. However, the server will stop after a short period of time. That is due to a new file called eula.txt. That is there due to Mojang changing the rule that states that any items bought using hard currency can only be cosmetic (such as a coloured username tag, coloured chat, and coloured hats) and not game changing (such as a plot of land, item spawner or ‘kits’ that contain game changing items). If you want to sell game changing items, you must use soft currency (such as gold, diamonds, emeralds). However, soft currency has no real world value. Capes are an exception to this rule. That is because Mojang has a lot of fun making awesome capes for special members of the community and Minecon attendees and Mojang likes to keep them as exclusive as possible. Therefore, you are not allowed to give away capes, even if you are giving capes away for free. After acknowledging the rules of Mojang’s EULA, open eula.txt and substitute eula=false with eula=true . After substituting false with true, save the file and close the text editor and restart the server. The server will work and generate the remainder of the files, such as the list of banned IP addresses, banned players ,operators, and other files. To stop the server, issue the command stop in the server console. The server will save all data and shutdown the server. For anyone to connect to the server, you need your IPv4 (Internet Protocol version 4) address and your public IP addresses. To find your IPv4 address, open the Windows start menu and search cmd in the search bar, select the first item in the list and issue the command ipconfig and locate IPv4 address under Wireless Network Connection or Ethernet adapter Local Area Connection. The results vary, depending on whether you are hosting on a wireless network connection or wired network connection. However, hosting on a wireless network isn’t the best due to security and speed, but is possible, mainly if a wired network connection is not possible. So after locating your IPv4 address, issue the IPv4 address to any players on your local area network, if you want to connect, use the same IPv4 address or localhost instead. For anyone beyond your local area network, you need your public IP address. You can find your public IP address by searching the two letters ip into a search engine. You can find your public IP address that way. However, you aren’t out of the woods yet, you still have to port forward with your router, which I won’t discuss how to, because discussing routers deserves a seperate discussion , also I don’t know what kind of router you have , and you probably do not know or even shouldn’t know how to change settings in your router. So, you will have to ask your parent to forward TCP (Transmission Control Protocol) port 25565. If your parent asks “Why do you have to port forward?”, tell your parents “Anyone beyond the network can’t connect unless we port forward!”
If you want to use world data from your Minecraft client, search the name of your world files in the start menu search bar, right click the folder containing the world files and choose copy. Copy the world files to the folder where the server is running. Before using your world files, backup the world data in a seperate folder in case the word files become corrupted with use of the server. Also, the world files must be running the same version as the server, otherwise the server files become corrupted. Also, it is possible to use a 1.7.x world on a server between 1.7 and 1.7.10 . After that, open server.properties and edit level-name by replacing world with the name of the world you copied.
To give yourself operator status, issue the command op <your ingame name> at the server console. Remember to replace your ingame name with your actual Minecraft username.
To install Bukkit plugins, download the .jar file for the plugin from the Internet. It is not recommended to get plugins via email due to plugins acquired via email can contain viruses, which are harmful computer elements. Place the .jar file inside the plugins folder. The plugin does not immediately work, so you need to reload the server by issuing the command reload into the server console to reload the server. To view the list of installed plugins, issue the command /plugins in the server console.
If you get a “Failed to bind to port!” error, either a service is using that port in question or leave server-ip inside server.properties blank or allow the TCP port 25565 to communicate through the firewall by searching the word firewall in the search bar inside the Windows start menu. In the menu, choose Windows Firewall with Advanced Security and go to inbound rules and select add new rule and select port and click Next and select TCP and Specific Local Ports and enter 25565 and select Allow this connection and click next twice and input Minecraft-Server for the rule name and you can leave the Description box blank. Another factor that can give you the error is if your ISP (Internet Service Provider) blocked that port for security reasons, so change 25565 in server.properties with a different port number, such as 25566.
After you have done all of the above, you should have a successfully running server that anyone can connect to; I hope this guide helps you run a successful Minecraft server!
EDIT: This works with Spigot, instead, use the .jar for the Spigot server, instead.
First, download the Bukkit 1.8 Java Archive (also known as a “.jar” file) from the Bukkit forums. Then, place the file inside a directory, which can be created by right clicking the desktop background and clicking New Desktop. Name the folder a name such as “Server”.
Next, create a text document, open the text document and enter java -Xmx1024M -jar craftbukkit.jar -o true and on another line, enter PAUSE . After you have inputted those lines of code, click Save as and enter run.bat in double quotes! After that, close the text editor and
Then, double click the run.bat file and the server should start. If you get an error stating “'java’' is not recognized as an internal or external command, operable program or batch file.” then you need to reinstall Java, and leave the install path unchanged and after reinstalling Java, retry running the server and the server should work. If the server still does not work, add Java to the system path by searching Variable in the search bar in the Windows start menu and choose Edit Environment Variables for your account. And under user variables, append a semicolon and then the Java installation path, which should be C:\Program Files (x86)\Java\jre1.8.0_25\bin\ if you have 32 bit Java on 64 bit Windows, C:\Program Files\Java\jre1.8.0_25\bin\ if you have 64 bit Java on 64 bit Windows. If you have 32 bit Java on 32 bit Windows, the path is C:\Program Files\Java\jre1.8.0_25\bin\ which is the same if you have 64 bit Java on 64 bit Windows. If you do not have Java 8 update 25. Update Java.
After you have reinstalled Java or added Java to the system path, double click the run.bat file again and the server will start. Due to the server running for the first time, the console will generate errors, but that is normal. That is due to the server generating files that otherwise do not exist at first. However, the server will stop after a short period of time. That is due to a new file called eula.txt. That is there due to Mojang changing the rule that states that any items bought using hard currency can only be cosmetic (such as a coloured username tag, coloured chat, and coloured hats) and not game changing (such as a plot of land, item spawner or ‘kits’ that contain game changing items). If you want to sell game changing items, you must use soft currency (such as gold, diamonds, emeralds). However, soft currency has no real world value. Capes are an exception to this rule. That is because Mojang has a lot of fun making awesome capes for special members of the community and Minecon attendees and Mojang likes to keep them as exclusive as possible. Therefore, you are not allowed to give away capes, even if you are giving capes away for free. After acknowledging the rules of Mojang’s EULA, open eula.txt and substitute eula=false with eula=true . After substituting false with true, save the file and close the text editor and restart the server. The server will work and generate the remainder of the files, such as the list of banned IP addresses, banned players ,operators, and other files. To stop the server, issue the command stop in the server console. The server will save all data and shutdown the server. For anyone to connect to the server, you need your IPv4 (Internet Protocol version 4) address and your public IP addresses. To find your IPv4 address, open the Windows start menu and search cmd in the search bar, select the first item in the list and issue the command ipconfig and locate IPv4 address under Wireless Network Connection or Ethernet adapter Local Area Connection. The results vary, depending on whether you are hosting on a wireless network connection or wired network connection. However, hosting on a wireless network isn’t the best due to security and speed, but is possible, mainly if a wired network connection is not possible. So after locating your IPv4 address, issue the IPv4 address to any players on your local area network, if you want to connect, use the same IPv4 address or localhost instead. For anyone beyond your local area network, you need your public IP address. You can find your public IP address by searching the two letters ip into a search engine. You can find your public IP address that way. However, you aren’t out of the woods yet, you still have to port forward with your router, which I won’t discuss how to, because discussing routers deserves a seperate discussion , also I don’t know what kind of router you have , and you probably do not know or even shouldn’t know how to change settings in your router. So, you will have to ask your parent to forward TCP (Transmission Control Protocol) port 25565. If your parent asks “Why do you have to port forward?”, tell your parents “Anyone beyond the network can’t connect unless we port forward!”
If you want to use world data from your Minecraft client, search the name of your world files in the start menu search bar, right click the folder containing the world files and choose copy. Copy the world files to the folder where the server is running. Before using your world files, backup the world data in a seperate folder in case the word files become corrupted with use of the server. Also, the world files must be running the same version as the server, otherwise the server files become corrupted. Also, it is possible to use a 1.7.x world on a server between 1.7 and 1.7.10 . After that, open server.properties and edit level-name by replacing world with the name of the world you copied.
To give yourself operator status, issue the command op <your ingame name> at the server console. Remember to replace your ingame name with your actual Minecraft username.
To install Bukkit plugins, download the .jar file for the plugin from the Internet. It is not recommended to get plugins via email due to plugins acquired via email can contain viruses, which are harmful computer elements. Place the .jar file inside the plugins folder. The plugin does not immediately work, so you need to reload the server by issuing the command reload into the server console to reload the server. To view the list of installed plugins, issue the command /plugins in the server console.
If you get a “Failed to bind to port!” error, either a service is using that port in question or leave server-ip inside server.properties blank or allow the TCP port 25565 to communicate through the firewall by searching the word firewall in the search bar inside the Windows start menu. In the menu, choose Windows Firewall with Advanced Security and go to inbound rules and select add new rule and select port and click Next and select TCP and Specific Local Ports and enter 25565 and select Allow this connection and click next twice and input Minecraft-Server for the rule name and you can leave the Description box blank. Another factor that can give you the error is if your ISP (Internet Service Provider) blocked that port for security reasons, so change 25565 in server.properties with a different port number, such as 25566.
After you have done all of the above, you should have a successfully running server that anyone can connect to; I hope this guide helps you run a successful Minecraft server!
EDIT: This works with Spigot, instead, use the .jar for the Spigot server, instead.
Tags |
tools/tracking
3218379
6
how-to-setup-a-minecraft-server-w-o-bukkit-gui-on-win-7-os
Create an account or sign in to comment.
EDIT: This works with Spigot, instead, use the .jar for the Spigot server, instead.
It's also uses Bungeecord so Spigots required. I like it more because it runs better. ^v^