4. Installing and Running a Server¶
4.1. Default Server¶
4.2. Advanced Server Pack¶
This section will walk you through the process of setting up your own BTE server with permissions and plugins.
This section is for the Build Team Preconfigured server pack, use this if you plan on hosting a large Build Team or want permissions and plugins pre-installed. If your hosting for just you and a couple friends and don’t want extra plugins, than use the Default server pack above.
4.2.1. Setting up the server¶
Download the server pack from this link (press the download button in the top right)
Unzip the file to a location of your choice, then navigate to the folder.
- Edit the
RUN.batfile. Change
xmx4096Mto how much RAM you want the server to use, 4096M is 4096 MB, or 4GB. For example, to use 6GB you would do 6*1024 to get 6144M, and typexmx6144M.
- Edit the
Save the
RUN.batfile and start the server by double clicking the bat file. It may take some time for it to install the required files, so be patient.When a prompt comes up asking if you would like to accept the EULA, type
trueand press enter.
To stop the server, type stop in the console window, or use the /stop command in minecraft
4.2.1.1. Using Your Own World¶
Delete the
TerraPreGeneratedworld folder.Move your world folder into the server folder.
Rename the world folder
TerraPreGeneratedin order to keep the current settings and protection
4.2.2. Joining Your Server¶
4.2.2.1. From the Host Computer¶
You should only run a server on the same computer that you play on if you have 12GB+ of RAM, since you will need it to run both modded Minecraft and the server at the same time.
Connect to the server using the IP localhost
4.2.2.2. From an Another Computer¶
To allow another computer(eg. your friends) to connect to your server, you need to port forward to the server port.
Follow the instructions here to forward your port. The default server port is 25565.
Check if port forwarding worked using https://www.portchecktool.com. Make sure to write down the IP and port, as other people will need it to connect to your server.
4.2.3. Using the Server¶
4.2.3.1. Obtaining OP¶
To give yourself op, simply type op <username> into the console.
You now have all the permissions.
4.2.3.2. Managing Permissions¶
Permissions are managed by a permissions plugin called LuckPerms.
Permission Group |
Command |
|---|---|
Builder |
Adding the group:
|
Removing the group:
|
|
Helper |
Adding the group:
|
Removing the group:
|
|
Moderator |
Adding the group:
|
Removing the group:
|
|
Administrator |
Adding the group:
|
Removing the group:
|
4.2.3.3. Teleporting¶
Unfortunately the /tpll command will not work if you are not opped.
In order to get around this, the server pack replaces this with /cs tpll.
To use it, run /cs tpll <latitude> <longitude>
/cs tpll also works with degree coordinates.
4.2.3.4. World Backups¶
To setup automatic world backups, move the mods from the extra-mods folder to the mods folder.
Reboot the server, then the server will start generating backups every 15 minutes.
Change the delay in the aromabackups config in the config folder.