Server Hosting
All BS multiplayer servers are hosted using the Banana Shooter Dedicated Server Tool (usually abbreviated to BSDS). This tool can either be installed and updated using Valve’s SteamCMD tool, or installed and updated through your Steam Library (not recommended). Using SteamCMD is ideal and has serveral benefits, but it is not strictly necessary.
Content:
Windows:
Linux
How to Install SteamCMD on Windows
Extract the contents of the zip somewhere you can easily find it again
Run
steamcmd.exe
Continue to: How to Install Server using SteamCMD
How to Install SteamCMD on Linux
Installation on Linux varies by distribution and your admin preferences, so refer to Valve’s Linux Documentation. Once downloaded, run the steamcmd.sh script.
Continue to: How to Install Server using SteamCMD
How to Install Server using SteamCMD
Login to Steam anonymously:
login anonymous
Download the server:
app_update 2406780
Note: this command can also be used to update the server.
Close SteamCMD (If your server has downloaded successfully)
quit
The server files are now in
...SteamCMD\steamapps\common\BSDS
Continue to: How to Launch Server on Windows or How to Launch Server on Linux
How to Install Server without SteamCMD
The Banana Shooter Dedicated Server tool can be installed and updated from your Steam Library. The tool is considered its own application, and is managed separately from the Banana Shooter game itself.
Here is how you can install BSDS without SteamCMD:
Navigate to your Steam Library
Search for “Banana Shooter Dedicated Server” via the search filter, or enable “Tools” application type filter so that tools are visible.
Select “Banana Shooter Dedicated Server” and install
To navigate to the server installed directory:
Right-click Banana Shooter Dedicated Server in your Steam Library.
Select Properties -> Local Files -> Browse
The rest of the documentation assumes you downloaded the Server through SteamCMD, rather than through your Steam Library, so folder paths will be tailored to a SteamCMD installation
Continue to: How to Launch Server on Windows or How to Launch Server on Linux
How to Launch Server on Windows
Navigate to the
...\SteamCMD\common\BSDSdirectoryDuplicate the
ExampleServer.batfile byCtrl+C, Ctrl+VYou can rename this batch file to whatever you want, for example:
MyServer.batRight-click your server batch file and click on Edit
Change your server name
+ServerName <your server name goes here>. This is the folder where your server will be stored and not the name of the server in gameRun your server batch file
Once your server is up and running, you can type
quitto close the server and start configuring your server(optional) If you want your server to be visible on the in-game community server list you will need to set a Login Token and configure Port Forwarding. If you do not set a Login Token, the server will only be visable on LAN
How to Launch Server on Linux
To launch server on linux is a bit more complicated than Windows. You will have to setup the Sserver Environment:
Navigate to the
.../SteamdirectoryType
cd ../.steamCreate a new directory called sdk64 by
mkdir sdk64Copy the steamclient.io from
.../Steam/linux64/steamclient.ioto.../.steam/sdk64/ by ``cp .../Steam/linux64/steamclient.io .../.steam/sdk64/Done you can now back to your server directory
.../Steam/steamapps/common/BSDS
To launch your server is the almost the same way you do on Windows:
Duplicate your ExampleServer.sh if you want to host multiple servers.
Give your server a proper name by
vi ExampleServer.sh, press I to enable insert mode, to change your server name+ServerName <our server name goes here>To run your server simply type
./ExampleServer.shYou can safely close the server by executing the following command on this command-line interface:
quitThe executed command has created a new file directory located in
.../BSDS/Servers, called “ExampleServer”. This directory is where all the savedata and configuration files are kept. Changing theExampleServerServer Name (from step 2) in the batch script to a different name will allow for keeping savedata separate across multiple servers, and for running multiple servers at once.(optional) If you want your server to be visible on the in-game community server list you will need to set a Login Token and configure Port Forwarding.
How to Configure Server
Each individual Server Name has its own folder, savedata and configuration You can find your sever savedata at ...\BSDS\Servers\{serverName}. The folder structure is as follows
Directory Name – This is the name of the folder your server is stored in. It is not the name of the server in the server browser
1. Lua – The root folder for Lua scripts
1.1.
AutoRun– Where you put your Lua scripts
Workshop– The root forlder for workshop maps
2.1
Content– Where you place Workshop maps, if you server has Workshop maps enabled inSteamWorkshopConfig.json
Config.json– This is where you configure your server including your Login TokenSteamWorkshopConfig.json– Where you enable/disable workshop maps on your server
How to Host Over Internet
Hosting a publicly-accessible internet server requires an extra step compared to a LAN server. When on a home network Port Forwarding is required in order to direct traffic to the host device
One way to think of it is that when there are multiple devices (e.g. computers and phones) connected to the LAN, the outside internet does not know which device is your Banana Shooter server. In this case, port forwarding specifies which LAN device is the server host
For port ranges and other details: Port Forwarding.
Listing your server on the in-game internet server list also requires a Login Token to be set.