mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Updated readme.
This commit is contained in:
79
README.md
79
README.md
@@ -4,54 +4,40 @@
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
### GETTING THE CODE
|
||||||
|
The simplest way to obtain the code is using the github .zip feature.
|
||||||
|
|
||||||
|
Click [here](https://github.com/Baystation12/Baystation12/archive/master.zip) to get the latest code as a .zip file, then unzip it to wherever you want.
|
||||||
|
|
||||||
|
The more complicated and easier to update method is using git. You'll need to download git or some client from [here](http://git-scm.com/). When that's installed, right click in any folder and click on "Git Bash". When that opens, type in:
|
||||||
|
|
||||||
|
git clone git@github.com:Baystation12/Baystation12.git
|
||||||
|
|
||||||
|
(hint: hold down ctrl and press insert to paste into git bash)
|
||||||
|
|
||||||
|
This will take a while to download, but it provides an easier method for updating.
|
||||||
|
|
||||||
### INSTALLATION
|
### INSTALLATION
|
||||||
|
|
||||||
First-time installation should be fairly straightforward. First, you'll need
|
First-time installation should be fairly straightforward. First, you'll need BYOND installed. You can get it from [here](http://www.byond.com/).
|
||||||
BYOND installed. You can get it from http://www.byond.com/. Once you've done
|
|
||||||
that, extract the game files to wherever you want to keep them. This is a
|
This is a sourcecode-only release, so the next step is to compile the server files. Open baystation12.dme by double-clicking it, open the Build menu, and click compile. This'll take a little while, and if everything's done right you'll get a message like this:
|
||||||
sourcecode-only release, so the next step is to compile the server files.
|
|
||||||
Open baystation12.dme by double-clicking it, open the Build menu, and click
|
|
||||||
compile. This'll take a little while, and if everything's done right you'll get
|
|
||||||
a message like this:
|
|
||||||
|
|
||||||
saving baystation12.dmb (DEBUG mode)
|
saving baystation12.dmb (DEBUG mode)
|
||||||
|
|
||||||
baystation12.dmb - 0 errors, 0 warnings
|
baystation12.dmb - 0 errors, 0 warnings
|
||||||
|
|
||||||
If you see any errors or warnings, something has gone wrong - possibly a corrupt
|
If you see any errors or warnings, something has gone wrong - possibly a corrupt download or the files extracted wrong, or a code issue on the main repo. Ask on IRC.
|
||||||
download or the files extracted wrong.
|
|
||||||
|
|
||||||
It could be an issue with the current version of the code, either. Ask on IRC
|
Once that's done, open up the config folder. You'll want to edit config.txt to set the probabilities for different gamemodes in Secret and to set your server location so that all your players don't get disconnected at the end of each round. It's recommended you don't turn on the gamemodes with probability 0, as they have various issues and aren't currently being tested, so they may have unknown and bizarre bugs.
|
||||||
or wait for a fix.
|
|
||||||
|
|
||||||
Once that's done, open up the config folder. You'll want to edit config.txt to
|
You'll also want to edit admins.txt to remove the default admins and add your own. "Game Master" is the highest level of access, and the other recommended admin levels for now are "Game Admin" and "Moderator". The format is:
|
||||||
set the probabilities for different gamemodes in Secret and to set your server
|
|
||||||
location so that all your players don't get disconnected at the end of each
|
|
||||||
round. It's recommended you don't turn on the gamemodes with probability 0,
|
|
||||||
except Extended, as they have various issues and aren't currently being tested,
|
|
||||||
so they may have unknown and bizarre bugs. Extended is essentially no mode, and
|
|
||||||
isn't in the Secret rotation by default as it's just not very fun.
|
|
||||||
|
|
||||||
You'll also want to edit admins.txt to remove the default admins and add your
|
|
||||||
own. "Game Master" is the highest level of access, and the other recommended
|
|
||||||
admin level for now is "Game Admin". The format is:
|
|
||||||
|
|
||||||
byondkey - Rank
|
byondkey - Rank
|
||||||
|
|
||||||
where the BYOND key must be in lowercase and the admin rank must be properly
|
where the BYOND key must be in lowercase and the admin rank must be properly capitalised. There are a bunch more admin ranks, but these two should be enough for most servers, assuming you have trustworthy admins.
|
||||||
capitalised. There are a bunch more admin ranks, but these two should be
|
|
||||||
enough for most servers, assuming you have trustworthy admins.
|
|
||||||
|
|
||||||
Additionally, you can set up moderators in moderators.txt, with this format:
|
Finally, to start the server, run Dream Daemon and enter the path to your compiled baystation12.dmb file. Make sure to set the port to the one you specified in the config.txt, and set the Security box to 'Trusted'. Then press GO and the server should start up and be ready to join.
|
||||||
|
|
||||||
byondkey
|
|
||||||
|
|
||||||
Moderators have access to player notes and a few other low-level commands.
|
|
||||||
|
|
||||||
Finally, to start the server, run Dream Daemon and enter the path to your
|
|
||||||
compiled baystation12.dmb file. Make sure to set the port to the one you
|
|
||||||
specified in the config.txt, and set the Security box to 'Trusted'. Then press
|
|
||||||
GO and the server should start up and be ready to join.
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -60,25 +46,24 @@ GO and the server should start up and be ready to join.
|
|||||||
To update an existing installation, first back up your /config and /data folders
|
To update an existing installation, first back up your /config and /data folders
|
||||||
as these store your server configuration, player preferences and banlist.
|
as these store your server configuration, player preferences and banlist.
|
||||||
|
|
||||||
Then, extract the new files (preferably into a clean directory, but updating in
|
If you used the zip method, you'll need to download the zip file again and unzip it somewhere else, and then copy the /config and /data folders over.
|
||||||
place should work fine), copy your /config and /data folders back into the new
|
|
||||||
install, overwriting when prompted except if we've specified otherwise, and
|
If you used the git method, you simply need to type this in to git bash:
|
||||||
recompile the game. Once you start the server up again, you should be running
|
|
||||||
the new version.
|
git pull
|
||||||
|
|
||||||
|
When this completes, copy over your /data and /config folders again, just in case.
|
||||||
|
|
||||||
|
When you have done this, you'll need to recompile the code, but then it should work fine.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### SQL Setup
|
### SQL Setup
|
||||||
|
|
||||||
The SQL backend for the library and stats tracking requires a
|
The SQL backend for the library and stats tracking requires a MySQL server. Your server details go in /config/dbconfig.txt, and the SQL schema is in /SQL/tgstation_schema.sql. More detailed setup instructions arecoming soon, for now ask in our IRC channel.
|
||||||
MySQL server. Your server details go in /config/dbconfig.txt, and the SQL
|
|
||||||
schema is in /SQL/tgstation_schema.sql. More detailed setup instructions are
|
|
||||||
coming soon, for now ask in our IRC channel.
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### IRC Bot Setup
|
### IRC Bot Setup
|
||||||
|
|
||||||
Included in the repo is an IRC bot capable of relaying adminhelps to a specified
|
Included in the repo is an IRC bot capable of relaying adminhelps to a specified IRC channel/server (thanks to Skibiliano). Instructions for bot setup are included in the /bot/ folder along with the bot/relay script itself.
|
||||||
IRC channel/server (thanks to Skibiliano). Instructions for bot setup are
|
|
||||||
included in the /bot/ folder along with the bot/relay script itself.
|
|
||||||
|
|||||||
Reference in New Issue
Block a user