How to Set up a Minecraft Server with Plugins or Mods (Ubuntu Server)
Drew Howden Tech Drew Howden Tech
2.44K subscribers
41,656 views
0

 Published On Feb 11, 2023

In this video, I show you how to set up a Minecraft server with either plugins or mods, on Ubuntu Server.
*Because of the way plugins and mods are implemented on Minecraft Server, there is no way to have support for both plugins and mods on the same server; you must choose one or the other. Also, if you are setting up a server with mods, unlike with plugins, Minecraft Forge, as well as the mods on your server, will also need to be installed on each of your players' computers.

*If you are using Windows or Mac, you will need to use a third-party SFTP client in order to transfer files between your computer and your server.

Disclaimer: When installing Ubuntu Server, make absolutely sure that you select the correct target drive in the installer, and that there is nothing on the target drive that you need, because it WILL BE ERASED!

Prerequisites:
1. A spare computer (to install Ubuntu Server on, and to act as the server)
2. A flash drive (at least 2 GB)
3. A network connection for your server (preferably Ethernet, but Wi-Fi will do)

Links:
Ubuntu Server ISO: https://ubuntu.com/download/server

Commands:
Check for updates: sudo apt update
Install updates: sudo apt upgrade
Enable the firewall: sudo ufw enable
Open a port (to your local network): sudo ufw allow [port]/[protocol (optional)] (example: sudo ufw allow 25565/tcp)
Connect to your server via SSH: ssh [username]@[ip address] (example: ssh [email protected])
Create a directory: mkdir [directory name] (example: mkdir minecraft-spigot-server)
Rename a file (also used to move files from one directory to another): mv [current file name] [new file name] (example: mv spigot-1.19.3.jar server.jar)
Delete a file: rm [file name] (example: rm BuildTools.jar)
Install Java: sudo apt install openjdk-17-jre (note: this may change in the future)
Download a file directly to your server: wget [link to file] (example: wget πš‘πšπšπš™πšœ://πš‘πšžπš‹.πšœπš™πš’πšπš˜πšπš–πšŒ.πš˜πš›πš/πš“πšŽπš—πš”πš’πš—πšœ/πš“πš˜πš‹/π™±πšžπš’πš•πšπšƒπš˜πš˜πš•πšœ/πš•πšŠπšœπšπš‚πšžπšŒπšŒπšŽπšœπšœπšπšžπš•π™±πšžπš’πš•πš/πšŠπš›πšπš’πšπšŠπšŒπš/πšπšŠπš›πšπšŽπš/π™±πšžπš’πš•πšπšƒπš˜πš˜πš•πšœ.πš“πšŠπš›)
Install Minecraft Spigot Server: java -jar BuildTools.jar --rev [version number] (note: the "--rev" argument is optional) (example: java -jar BuildTools.jar --rev 1.19.3)
Install Minecraft Forge Server: java -jar [name of Minecraft Forge installer file] --installServer (example: java -jar forge-1.19.3-44.1.0-installer.jar --installServer)
Run Minecraft Spigot Server: java -Xmx[max RAM for Minecraft Server] -Xms1G -jar [name of Minecraft Server jar file] nogui (example: java -Xmx2G -Xms1G -jar server.jar nogui)
Stop the Minecraft server: stop
Edit a file: nano [file name] (example: nano eula.txt)
Shut down the server: sudo poweroff
Restart the server: sudo reboot

Join this channel to get access to perks:
https://www.youtube.com/drewhowdentec...

show more

Share/Embed