forked from ParadiseSS13/Paradise
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup of GitHub documents (ParadiseSS13#15009)
* Cleanup of GitHub documents * Also nukes the IRC bot * Dont write important stuff on a laptop keybaord
- Loading branch information
1 parent
5816aa3
commit f19f681
Showing
32 changed files
with
151 additions
and
5,715 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
# Info | ||
This document contains all the relevant information for downloading and running your own ParaCode server. | ||
|
||
### GETTING THE CODE | ||
The simplest way to obtain the code is using the github .zip feature. | ||
|
||
Click [here](https://github.com/ParadiseSS13/Paradise/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 https://github.com/ParadiseSS13/Paradise.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 | ||
|
||
First-time installation should be fairly straightforward. | ||
First, you'll need BYOND installed. We're going to assume you already did this | ||
|
||
This is a sourcecode-only release, so the next step is to compile the server files. | ||
Open paradise.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 paradise.dmb (DEBUG mode) | ||
|
||
paradise.dmb - 0 errors, 0 warnings | ||
|
||
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 Dscord. | ||
|
||
Once that's done, open up the config folder. | ||
Firstly, you will want to copy everything from the example folder into the regular config folder. | ||
EG: Move `config/example/config.txt` to `config/config.txt`, and do the same for all the other files. | ||
You'll want to edit config.txt 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. | ||
|
||
You'll also want to edit admins.txt to remove the default admins and add your own. | ||
If you are connecting from localhost to your own test server, you should automatically be admin. | ||
"Host" is the highest level of access, and the other recommended admin levels for now are | ||
"Game Admin" and "Moderator". The format is: | ||
|
||
byondkey - Rank | ||
|
||
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. You can define your own ranks in `admin_ranks.txt` | ||
|
||
Finally, to start the server, | ||
run Dream Daemon and enter the path to your compiled paradise.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. | ||
|
||
### Installation (Linux) | ||
|
||
The code is fully able to run on linux, however windows is the recommended platform. The code requires 2 libraries, with dependencies below | ||
|
||
For MySQL, run the following: `apt-get install libmysqlclient-dev:i386` | ||
|
||
For RustG please download the latest relase from [https://github.com/ParadiseSS13/rust-g](https://github.com/ParadiseSS13/rust-g), run the following: `apt-get install libssl-dev:i386 pkg-config:i386 zlib1g-dev:i386`. | ||
|
||
After installing these packages, these libraries should function as intended. We assume that if you are hosting on linux, you know what you are doing. | ||
|
||
--- | ||
|
||
### UPDATING | ||
|
||
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. | ||
|
||
If you used the git method, you simply need to type this in to git bash: | ||
|
||
git pull | ||
|
||
When you have done this, you'll need to recompile the code, but then it should work fine. | ||
|
||
--- | ||
|
||
### SQL Setup | ||
|
||
The SQL backend is required for storing character saves, preferences, administrative data, and many other things. | ||
We recommend running a database if your server is going to be used as more than juts a local test server | ||
Your server details go in /config/dbconfig.txt, | ||
and the SQL schema is in /SQL/paradise_schema.sql or /SQL/paradise_schema_prefix.sql, | ||
depending on if you want table prefixes. | ||
More detailed setup instructions are located on our wiki: | ||
https://www.paradisestation.org/wiki/index.php/Setting_up_the_Database |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,151 +1,49 @@ | ||
# Paradise | ||
[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/paradisess13/paradise.svg)](http://isitmaintained.com/project/paradisess13/paradise "Average time to resolve an issue") | ||
[![Percentage of issues still open](http://isitmaintained.com/badge/open/paradisess13/paradise.svg)](http://isitmaintained.com/project/paradisess13/paradise "Percentage of issues still open") | ||
![Render Nanomaps](https://github.com/ParadiseSS13/Paradise/workflows/Render%20Nanomaps/badge.svg) | ||
|
||
[![forthebadge](http://forthebadge.com/images/badges/60-percent-of-the-time-works-every-time.svg)](http://forthebadge.com) | ||
[![forthebadge](http://forthebadge.com/images/badges/contains-technical-debt.svg)](http://forthebadge.com) | ||
[![forthebadge](http://forthebadge.com/images/badges/fuck-it-ship-it.svg)](http://forthebadge.com) | ||
|
||
[Website](https://www.paradisestation.org/) - [Code](https://github.com/ParadiseSS13/Paradise) - [Discord](https://discordapp.com/invite/YJDsXFE) | ||
|
||
--- | ||
|
||
### GETTING THE CODE | ||
The simplest way to obtain the code is using the github .zip feature. | ||
|
||
Click [here](https://github.com/ParadiseSS13/Paradise/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 https://github.com/ParadiseSS13/Paradise.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 | ||
|
||
First-time installation should be fairly straightforward. | ||
First, you'll need BYOND installed. | ||
You can get it from [here](http://www.byond.com/). | ||
|
||
This is a sourcecode-only release, so the next step is to compile the server files. | ||
Open paradise.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 paradise.dmb (DEBUG mode) | ||
|
||
paradise.dmb - 0 errors, 0 warnings | ||
|
||
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. | ||
|
||
Once that's done, open up the config folder. | ||
You'll want to edit config.txt 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. | ||
|
||
You'll also want to edit admins.txt to remove the default admins and add your own. | ||
"Host" is the highest level of access, and the other recommended admin levels for now are | ||
"Game Admin" and "Moderator". The format is: | ||
|
||
byondkey - Rank | ||
|
||
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. | ||
|
||
Finally, to start the server, | ||
run Dream Daemon and enter the path to your compiled paradise.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. | ||
|
||
### Installation (Linux) | ||
|
||
The code is able to run on Linux server side, however the libraries for MySQL and logging do require extra packages. | ||
|
||
For MySQL, run the following: `apt-get install libmysqlclient-dev:i386` | ||
|
||
For RustG, run the following: `apt-get install libssl-dev:i386 pkg-config:i386 zlib1g-dev:i386` | ||
|
||
After installing these packages, these libraries should function as intended. | ||
|
||
--- | ||
|
||
### UPDATING | ||
|
||
To update an existing installation, first back up your /config and /data folders | ||
as these store your server configuration, player preferences and banlist. | ||
|
||
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. | ||
|
||
If you used the git method, you simply need to type this in to git bash: | ||
|
||
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. | ||
|
||
--- | ||
|
||
### Configuration | ||
|
||
For a basic setup, simply copy every file from config/example to config. | ||
|
||
--- | ||
|
||
### SQL Setup | ||
|
||
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/paradise_schema.sql or /SQL/paradise_schema_prefix.sql, | ||
depending on if you want table prefixes. | ||
More detailed setup instructions are located on our wiki: | ||
https://www.paradisestation.org/wiki/index.php/Setting_up_the_Database | ||
|
||
--- | ||
|
||
### IRC Bot Setup | ||
|
||
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. | ||
|
||
### LICENSE | ||
|
||
Paradise is licensed under the GNU Affero General Public License version 3. | ||
As of 5th January 2015 any new contributions are licensed under the AGPL as well, | ||
if you wish to submit code under the GPL v3 then commits and files must be marked as such | ||
in comments. If you wish to use our code in a closed source manner you may use anything | ||
before commit 445615b8439bf606ff204a42c8e7b6b69d983255, | ||
which is licensed under GPL v3. | ||
The major change here is that if you host a server using any code licensed under AGPL you | ||
are required to provide full source code for your servers users as well, | ||
including addons and modifications you have made. | ||
|
||
See [this](https://www.gnu.org/licenses/why-affero-gpl.html) for more information. | ||
|
||
Any files located in the | ||
`Paradise/goon`, | ||
`Paradise/icons/goonstation`, or | ||
`Paradise/sound/goonstation` | ||
directories, or any subdirectories of mentioned directories are licensed under the | ||
Creative Commons 3.0 BY-NC-SA license | ||
(https://creativecommons.org/licenses/by-nc-sa/3.0) | ||
|
||
All other assets including icons and sound files are licensed under the | ||
Creative Commons 3.0 BY-SA license (https://creativecommons.org/licenses/by-sa/3.0/), | ||
unless otherwise indicated. | ||
# Paradise | ||
[![CI](https://github.com/ParadiseSS13/Paradise/workflows/CI/badge.svg)](https://github.com/ParadiseSS13/Paradise/actions?query=workflow%3ACI) | ||
[![Render Nanomaps](https://github.com/ParadiseSS13/Paradise/workflows/Render%20Nanomaps/badge.svg)](https://github.com/ParadiseSS13/Paradise/actions?query=workflow%3A%22Render+Nanomaps%22) | ||
[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/paradisess13/paradise.svg)](http://isitmaintained.com/project/paradisess13/paradise "Average time to resolve an issue") | ||
[![Percentage of issues still open](http://isitmaintained.com/badge/open/paradisess13/paradise.svg)](http://isitmaintained.com/project/paradisess13/paradise "Percentage of issues still open") | ||
|
||
[![forthebadge](http://forthebadge.com/images/badges/60-percent-of-the-time-works-every-time.svg)](http://forthebadge.com) | ||
[![forthebadge](http://forthebadge.com/images/badges/contains-technical-debt.svg)](http://forthebadge.com) | ||
[![forthebadge](http://forthebadge.com/images/badges/fuck-it-ship-it.svg)](http://forthebadge.com) | ||
|
||
# Useful Links | ||
|
||
- [Website](https://www.paradisestation.org/) | ||
- [Discord](https://discordapp.com/invite/YJDsXFE) | ||
- [Documentation](https://codedocs.paradisestation.org) | ||
|
||
# Useful Documents | ||
|
||
- [Autodocumentation Guide](.github/AUTODOC_GUIDE.md) | ||
- [Contribution Guide](.github/CONTRIBUTING.md) | ||
|
||
--- | ||
|
||
|
||
### LICENSE | ||
|
||
Paradise is licensed under the GNU Affero General Public License version 3. | ||
As of 5th January 2015 any new contributions are licensed under the AGPL as well, | ||
if you wish to submit code under the GPL v3 then commits and files must be marked as such | ||
in comments. If you wish to use our code in a closed source manner you may use anything | ||
before commit 445615b8439bf606ff204a42c8e7b6b69d983255, | ||
which is licensed under GPL v3. | ||
The major change here is that if you host a server using any code licensed under AGPL you | ||
are required to provide full source code for your servers users as well, | ||
including addons and modifications you have made. | ||
|
||
See [this](https://www.gnu.org/licenses/why-affero-gpl.html) for more information. | ||
|
||
Any files located in the | ||
`Paradise/goon`, | ||
`Paradise/icons/goonstation`, or | ||
`Paradise/sound/goonstation` | ||
directories, or any subdirectories of mentioned directories are licensed under the | ||
Creative Commons 3.0 BY-NC-SA license | ||
(https://creativecommons.org/licenses/by-nc-sa/3.0) | ||
|
||
All other assets including icons and sound files are licensed under the | ||
Creative Commons 3.0 BY-SA license (https://creativecommons.org/licenses/by-sa/3.0/), | ||
unless otherwise indicated. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.