Setting up a Server: Difference between revisions
imported>Ttv pedro270707 mNo edit summary |
imported>Ttv pedro270707 mNo edit summary |
(No difference)
|
Revision as of 17:22, 17 March 2023
This page aims to offer a comprehensive guide on hosting a Better than Adventure! server.
Generating the server files
First off. In the #update-announcements channel in the official discord server, find the latest version or snapshot and click the "download server jar" link in the list of links. (note that snapshots often don't have a server jar due to their instability and subjectness to change). When the file is done downloading, place it in its own folder, the server makes a bunch of files in the same folder/directory it is in. Once you've got the file in a directory, double-click the file to run it. A window should open.

Once the server is done loading, it should say something like [INFO] Done (67616565924ns)! For help, type "help" or "?". Then you should have it all set up.
Playing the server
Now that you have a working server. You can join it by opening bta and typing localhost into the server IP textbox. if you did it right, you should load into the world.


Customising the server
Now its time for the nitty gritty.
server.properties
Once your server is all set up, you can tweak the server how you wish. The first and foremost file to edit is server.properties.
Here is an explanation of each line of the file.
level-name: this is set to "world" by default. The only reason to change this is if you want to have a flashy name for the server's world if you play it on singleplayer.
view-distance: Determines the view distance limit for players
white-list: This is a big one. If set to true, only the players who have their usernames in the whitelist file can join the server.
server-ip: This determines the IP address of the server.
pvp: Setting this to false will not allow players to attack each other.
level-seed: The world seed that the server uses to generate a world. Try your favorite world seeds here. (Note that you need to delete the old world for this to work).
spawn-animals: If set to false, no animals will spawn.
server-port: Don't touch this.
allow-nether: If set to false, players cannot enter the nether.
spawn-monsters: if set to false. Monsters will not spawn in the dark and/or at night.
max-players: Determines how many players can join your server at one time. The players though. The more performance and memory it takes out.
world-type: allows you to set the type of world that generates. (Default. Extended Default, Hell, etc.)
online-mode: If set to false. Only you can join the server. Good for making edits while your buddies arent around. (Note that if you're running this on another device and not your pc. You cant join as well).
allow-flight: If set to false. Flying/Noclipping is disabled.