🟪Rules
Instructions on configuring your server rules.
▸ Server Rule Configuration
You are viewing the default website configured for your rules.
To change the website used to display your rules, open the navigation config file located in:
lua\modules\pirithous\cfg\sh_cfg_03_nav.lua
▸ Text-Only Rules
If you wish to use text for your rules instead of a website, open the config file mentioned above and edit the setting:
▸ In-game Browser VS Steam Overlay
This script has two ways to display websites.
Integrated In-Game Browser
Displays the website using the built-in window feature of Pirithous.
Steam Overlay
Opens the website using the Steam overlay browser
INTEGRATED BROWSER:
To enable the integrated browser instead of the Steam Overlay browser, open the configuration file:
lua\modules\pirithous\cfg\sh_cfg_03_nav.lua
Change the following setting to
When the player clicks a link, a new window will appear leading them directly to the website:
Important Information:
The integrated browser feature uses a built-in library that comes with Garry's Mod. Unfortunately, the library is extremely outdated and does not like modern websites. If you enable the integrated browser and notice that your websites are not showing properly, or you get a pure white page; then your website is not compatible with the garry's mod library. To correct this, you'll need to enable the Steam Overlay browser (See instructions below)
STEAM OVERLAY:
To enable this script to use the Steam Overlay browser, open the configuration file:
lua\modules\pirithous\cfg\sh_cfg_03_nav.lua
Change the following setting to
When a player clicks on a link, they'll be shown a prompt:
Once the player clicks yes, the website will be opened in steam:
Last updated