Update CUSTOM.md

This commit is contained in:
ijemafe 2020-05-10 17:33:01 -07:00 committed by GitHub
parent dea67ce8fe
commit 08488c7aff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -27,8 +27,8 @@ A basic Linux Droplet will give you 25GB of storage, which may not be enough to
You may find in testing that download speeds for custom content are much slower than expected. When using a VPS to host game servers, one can expect download speeds of roughly 20KB/s. A basic web host or file server can generally transfer at speeds up to 100Mb/s in short bursts. In order to offload this activity to a faster server/network, we can use Raven Shield's built-in download redirection:
1. Configure an HTTP server (such as Nginx, or a paid web hosting service) which can serve files.
1. Place custom content on the server in the same directory structure: maps in `/maps/`, textures in `/textures/`, etc.
1. On your server, edit `RavenShield.ini` and look for the `RedirectToURL` option. Set this to the URL of your server, e.g. `http://www.myserver.net/`.
1. Restart your server to pick up the new config.
1. Place custom content on the file server in the same directory structure as the game: maps in `/maps/`, textures in `/textures/`, etc.
1. On your game server, edit `RavenShield.ini` and look for the `RedirectToURL` option. Set this to the URL of your file server, e.g. `http://www.myserver.net/`.
1. Restart your game server to pick up the new config.
When users connect to your server, they will be instructed to download all custom content from the file server, resulting in significantly faster downloads.
When users connect to your game server, they will be instructed to download all custom content from the file server, resulting in significantly faster downloads.