Hosting a server - Space Station 13 Wiki (2024)

Warning!
Do not follow this guide if you want to play by yourself! Follow the guide on Coding instead.

A simple guide for hosting your very own goonstation server, for all people of all computers, no previous admin experience, dedicated hardware, or technical know-how required. Shamelessly stolen Borrowed with permission and modified/updated from a forum post by Haine.

Contents

  • 1 Read the above warning. Unless you want to host a server for people to join, do not follow this guide, and go to the Coding page instead.
    • 1.1 Get a copy of a server's code
      • 1.1.1 Using the ZIP download causes lots of problems so do not do it.
    • 1.2 Create the __secret.dme file
    • 1.3 Compile the server
    • 1.4 Load Dream Daemon
    • 1.5 Select a port and forward it
    • 1.6 Start the server
    • 1.7 You are now all set to play!
    • 1.8 Quick Useful Tibits
      • 1.8.1 Setting yourself as admin
      • 1.8.2 Setting the map
      • 1.8.3 Starting the round early
      • 1.8.4 Fixing the unable to open +secret\__secret.dme error
      • 1.8.5 Further Information

Get a copy of a server's code

Here is the public version of Goonstation's code. You will need to install git in order to get a copy.

Using the ZIP download causes lots of problems so do not do it.

Don't download the 2020 or 2016 public releases or the r4407 release, if you somehow stumble upon that one. These are old snapshots of the Goonstation source code at certain points in time. They are not updated at all and can only run on older versions of BYOND. They're most likely not what you're looking for, unless what you're looking for are previous versions of Goonstation for historical interest or something.

Create the __secret.dme file

Next, you need to put a blank file named __secret with the extension .dme in the +secret subdirectory. You need this __secret.dme file for the whole thing to compile, lest you get a unable to open +secret\__secret.dme error.

There's a .bat file named initial_setup.bat in the main Goonstation folder (that is, the one with the README.md and LICENSE files) that does all that for you; just run that. If that doesn't work, you usually can simply make a blank text tile in the +secret subdirectory and save it as "__secret.dme".

What's the code doing with a blank file? Basically, it's standing in for any content. Normally, on the official Goonstation servers run by Goonstation staff, the secret directory is occupied and has secret content, like the latest secret chems and lots of Adventure Zone content. Since you can't get said secret stuff on public Github without being a developer though (because that kinda defeats the purpose), the code has been configured to be alright with just a blank file instead of actual secret content.

Compile the server

Open the .DME file (in goonstation's case this is goonstation.dme). It should load up in Dream Maker (if not, use Open With to make sure it does open with DM). Once Dream Maker loads up (it might take a couple minutes), go to Build -> Compile, seen here:

Hosting a server - Space Station 13 Wiki (2)

Or hit CTRL+K.

It will take a few minutes to finish compiling. Once it does, if no errors have occurred, you're ready for the next step. A successful compile should look somewhat like this (by default the server compiles with different maps):

Hosting a server - Space Station 13 Wiki (3)

If errors HAVE occurred, please join #imcoder on the Goonstation Discord (https://discord.gg/zd8t6pY) and some of the users and staff will try to help resolve them.

Load Dream Daemon

You can open it through the BYOND Pager by going to the gear wheel icon in the upper right corner, or by hitting CTRL+D. This is what Dream Daemon looks like:

Hosting a server - Space Station 13 Wiki (4)

First you will want to hit the ... button next to the File: box at the bottom. Navigate to where your server code is (the folder with the .DME) and select the .DMB (in goonstation's case this is goonstation.dmb). If you don't have a .DMB file, go back and try step 2 again. Security, Visibility, and webclient settings can be set up however you feel like. (Set visibility to Public if you would like your server to appear on the BYOND Hub).

Select a port and forward it

In Dream Daemon, enter a number for the port (0 makes it random each time the server is started, we don't want that unless you feel like messing with the port forwarding each time (you probably don't)). It should be something in the 1000+ range, for example 8085. You will then need to forward your chosen port to your computer, through your router's admin settings. As this is different for every router and network setup, please consult https://portforward.com/ for instructions on how to do so for your router.

Start the server

The GO button next to the Visibility settings box should have turned green once you loaded the .DMB and if you click on it now, the server will start up. After a minute or so (the window may appear frozen, but it isn't) the window should change to look like this:

Hosting a server - Space Station 13 Wiki (5)

After a minute, the window should update to tell you if the server's port is accessible to outside connections. If it says "BYOND hub reports port 8085 cannot be reached by players." you will need to go back to the port forwarding step and try again. Otherwise:

You are now all set to play!

Click the yellow arrow sign to join the game through DD, and the red stop sign to shut the server down when you're done. Click on the byond://[IP]:[port] text to copy the link to the server into your clipboard. You can then share that link with others and they will be able to join your server with it!

Once you've compiled the code the first time, you'll only need to load Dream Daemon and start up the server when you want to run it - you don't need to compile each time.

Quick Useful Tibits

Setting yourself as admin

To make yourself an admin:

  1. Go to the goonstation/config/ folder.
  2. Open up the admins.sample file. Editor does not matter.
  3. Add your your ckey (lowercase byond key) to the list of names, a -, then your rank of choice.
    • For example, if your byond key/username is GokuSmokeWeed420, your ckey would be gokusmokeweed420 (notice it's all lowercase letters), and if it were Awesome McCoolkey, your ckey would be awesomemccoolkey (note that the space is removed).
    • There are many ranks, some with...interesting names, but the one with the most powers is Host. So, going back to the first example, you might add gokusmokeweed420 - Host somewhere--it doesn't really matter where.
  4. Save it as a new file. What you save it as depends on whether you have file extensions on. You can tell they're on if you see the extension in the name of the file itself when looking at files in File Explorer, e.g. the aforementioned admins.sample file shows up as "admins.sample.txt". Merely seeing Explorer list a "Type" column does not mean they're on.
    • If you have file extensions off (it is off by default), save it as just admins.
    • If you have file extensions on, save it as admins.txt.
  5. Compile and run again.

Setting the map

  1. Open goonstation.dme. This should open up Dream Maker.
  2. Go to the __build.dm through the file tree on the left. It's under _std.
  3. There should be few lines of code in a "MAP OVERRIDES" section in the format //#define MAP_OVERRIDE_MAPNAMEHERE, past the cute and adorable ASCII bee and some sections for handling profiling, debugging, and speeding up setup. Remove the // for your map of choice. This will uncomment the code, so that BYOND knows to run it, and this particular section code tells the game to override it to that map. Compile it again and run it.
    • For example, if you want the map to be Cogmap1, make //#define MAP_OVERRIDE_COGMAP into #define MAP_OVERRIDE_COGMAP.
  4. Compile and run again.

Note that you cannot use Map Vote to change map on private servers. On the Goonstation public servers, the Map Vote tells Goonstation's internal software to modify and recompile the code, essentially doing the above, but automatically. Even though the code's configured to use this software, a private server can't access it. Simply put, you don't have the required infrastructure unless you build a new one yourself.

Do not try to go to __build.dm directly through your browser's file system. BYOND not does like it if you try to open DM files without starting up a .dme environment. If you do, you might cause BYOND to modify the .dme file to the point where it won't compile.

Starting the round early

Just testing stuff alone in a private server and don't want to wait 150 seconds for the game to finish counting down? If you've given yourself admin privileges, you can use the "Start Now" command. You can enter it as "start-now" into your text parser/command bar on the bottom or find it in the Server tab.

In addition, __build.dm, which also is where you configure maps, has a list of defines for faster loading right after the ASCII bee, under a section called "OPTIONS TO GO FAST". Remove the // for the one you want and remember to save, compile, and run it again.

Fixing the unable to open +secret\__secret.dme error

Make sure you created the __secret.dme file correctly.

Further Information

You can ask for server help on the goonstation's dedicated gooncode channel, #imcoder on the Goonstation Discord (https://discord.gg/zd8t6pY), or post a new thread in the General Discussion forum.

Community
ContributingGuide to Contributing to Wikistation · Goonstation Development Guide · Goonstation Contributor Guidelines · Spriting · Goonstation Spriting Guidelines · Coding· Goonstation Code Guide · Hosting a server · Mapping · Goonstation Map Submission Guidelines · Goonstation Audio Guidelines · Contributing to Requisitions
MembersAdmins
Culture & ArtTerminology · Storyline (Old Storyline) · Fan Videos · Fan Art
History & HappeningsChangelog · Pre-2016 Changelog · History of SS13
Tales & HumorSex and the Singularity · Maintenance Doggs · The Rapper · The Trial of Heisenbee · Albert and the Deep Blue Sea · The uWu Interrogation · HeadSurgeon · Tales of The Devil‎ · IT'S ALIVE! It died. IT'S ALIVE! It died. IT'S ALIVE!‎ · The floor is now explosions‎ · My god, it's full of butt · The Crashwich · The Doom Peel‎ · Jugglemancy‎
Hosting a server - Space Station 13 Wiki (2024)

FAQs

How to create a Space Station 13 server? ›

Unless you want to host a server for people to join, do not follow this guide, and go to the Coding page instead.
  1. Get a copy of a server's code.
  2. Create the __secret. dme file.
  3. Compile the server.
  4. Load Dream Daemon.
  5. Select a port and forward it.
  6. Start the server.
  7. You are now all set to play!
  8. Quick Useful Tibits.
Sep 23, 2022

Is SS13 free? ›

Space Station 13, often shortened to SS13, is a top-down tile-based action role-playing multiplayer video game running on the freeware BYOND game engine, originally released in 2003.

Is Space Station 13 open source? ›

Space Station 13 (SS13) is one of the largest open source games in the world.

How long does a game of Space Station 13 last? ›

A round of SS13 can last anywhere from 10 minutes to several hours depending on the mode of play and the shuttle call, but a typical round lasts about 45 minutes to an hour.

How much is a server space? ›

The average cost to rent a small business dedicated server is $100 to $200/month. You can also setup a cloud server starting at $5/month, but most businesses would spend about $40/month to have adequate resources.

How do I make my own server room? ›

There needs to be enough room for the servers, wires, cables, and other necessary equipment. Data should be kept away from an exterior wall, if possible. Set up hardware for storage. For space maximization, utilize cabinets and shelving to store the physical machinery and other computer inventory in the server room.

Is space station 14 the same as 13? ›

Space Station 14 is a remake of SS13 that runs on Robust Toolbox, our homegrown engine written in C#. This is the primary repo for Space Station 14. To prevent people forking RobustToolbox, a "content" pack is loaded by the client and server.

How much does space station 13 cost? ›

“Space Station 13 is one of the finest sandbox simulations available, for free or otherwise.”

What is SS13 coded in? ›

SS13 is coded in Byond, which is an object oriented programming language.

What is the best space station 13 server for beginners? ›

BeeStation. BeeStation is a roleplay server that greatly focuses on being newbie-friendly. There is also a group of mentors who can help you through the steep learning curve of SS13, by answering your questions, or just walking you through basic tasks on the station.

Do we still have a space station? ›

Currently there are two fully operational space stations – the International Space Station (ISS) and China's Tiangong Space Station (TSS), which have been occupied since October 2000 with Expedition 1 and since June 2022 with Shenzhou 14.

How big is space station 13? ›

In terms of game file size, you will need at least 200 MB of free disk space available.

How do you talk in Space Station 13? ›

How do I talk? To speak to fellow players, type Say, press spacebar, and write your message. Press Enter. To speak on your headset, type Say, press spacebar, type a ;, then write your message.

How to lay down in SS13? ›

Hold C = Switch between run/walk mode. Returns to original setting when released. Hold Alt = Blocks your movement, letting you change the direction your character is facing. = Rest/lay down.

When was BYOND created? ›

Initially launched in 1996 as DUNG (Dantom's Universal Network Game) by Dantom, a company formed by Dan Bradley and Tom Hehre, it has since been rebranded as BYOND.

What is Space Station 13 coded in? ›

SS13 is coded in Byond, which is an object oriented programming language.

How do I host my own space engineers server? ›

Setup as a foreground process:
  1. Run SpaceEngineersDedicated.exe.
  2. Choose “Local/Console” item in list of servers.
  3. Click “Continue to server configuration”.
  4. Here you can set variety of options. They work the same way as in the game.
  5. Give your server a name.
  6. Press “Save and start” and you are ready to play.

How do you write in Space Station 13? ›

Writing is performed on paper using any standard writing utensil.
  1. Pens come in a few different colours, black or blue by default, and some departments are provided with red pens. ...
  2. Crayons work much like pens, except that they are always bold, and lack the list, horizontal rule, and small tags.

How do I make a private space engineers server? ›

Space Engineers | Making your server "Private" Print
  1. Create a Steam Group and set the 'Custom URL'.
  2. When you have created your steam group go to. http://steamcommunity.com/groups/[GROUP NAME HERE]/memberslistxml/?xml=1. ...
  3. Copy the long number within the <groupID64> tags. ...
  4. Paste your group ID in the field "Steam Group ID"

References

Top Articles
Latest Posts
Article information

Author: Cheryll Lueilwitz

Last Updated:

Views: 5930

Rating: 4.3 / 5 (54 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Cheryll Lueilwitz

Birthday: 1997-12-23

Address: 4653 O'Kon Hill, Lake Juanstad, AR 65469

Phone: +494124489301

Job: Marketing Representative

Hobby: Reading, Ice skating, Foraging, BASE jumping, Hiking, Skateboarding, Kayaking

Introduction: My name is Cheryll Lueilwitz, I am a sparkling, clean, super, lucky, joyous, outstanding, lucky person who loves writing and wants to share my knowledge and understanding with you.