derula / swlrp-server

0 stars 0 forks source link

SWLRP Roleplay Profile Add-On - Server

Dependencies

Setting up the vhost

Simply use the swlrp-server/public folder as webroot. Also redirect all requests that would otherwise result in a "404 file not found" back to swlrp-server/public/index.php, e.g. using ModRewrite (Apache) or try_files (nginx).

Changing available properties

In the Models/Profile section of config.yaml, you can set up which properties and texts will be available. Properties are limited to 40 characters, texts allow up to 20000 characters and rich elements. For each property or text, you can set certain options:

Note that after you changed the available property/text names (changed a name, added/removed a property/text), you have to run the refresh_properties script again. This will:

Note that no actual data will be deleted. If for some reason you want to bring back a previously-removed property, simply add it back to the config and re-run the script. The old data will be available again.

Live operation notes

In order for the page to work inside the in-game browser, you need to be aware that the game is using a really old version of Chrome. This means:

Legal note

For the homepage, the repository contains some loading screens that are Copyright Material of Funcom Oslo AS. We have written permission from Funcom's legal department to use these on the project's current "official" installation. However, if you want to launch a fork website, you may need to ask for permission separately.

The emoticons are "Copyright (C) 2001-Infinity, Oscar Gruno & Andy Fedosjeenko," and free to use if credited. (See also /public/assets/images/emoticons/credits.txt)