Pirithous
Browse AddonsDownload RLIB
  • Introduction
  • Showcase
  • Changelog
    • 🟥3.7.0.0
    • 🟥3.6.0.0
  • Available Addons
  • FAQ
    • 🟥Addon Won't Show
    • 🟥Incompatible Addons
    • 🟥Configuring Addon
    • 🟥Modified Addon
    • 🟥Refunds
    • 🟥Script Errors
    • 🟥When Are Updates?
  • Supported Addons
  • ❱ Setup
    • 🟪Install
    • 🟪Verify
    • 🟪Workshop
    • 🟪Docs/Web
  • ❱ Configuration
    • 🟪Settings
    • 🟪Languages
    • 🟪Fonts
    • 🟪Env
  • ❱ Info
    • 🟩Binds
    • 🟩Hooks
    • 🟩Console Commands
  • ❱ Internal
    • 🟪Rules
    • 🟪Web Demo
Powered by GitBook
On this page
  • ▸ Server Rule Configuration
  • ▸ Text-Only Rules
  • ▸ In-game Browser VS Steam Overlay
  1. ❱ Internal

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:

cfg.nav.btn.rules_textonly = true

▸ 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

cfg.nav.btn.rules_openIngame = true

When the player clicks a link, a new window will appear leading them directly to the website:

Important Information:

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

cfg.nav.btn.rules_openIngame = false

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:

PreviousConsole CommandsNextWeb Demo

Last updated 2 years ago

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)
Integrated Browser
Steam overlay confirmation
Steam overlay browser