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
  • ▸ About
  • ▸ Integrated vs Steam Overlay Browsers
  • ▸ Switching Browser Modes
  • ▸ Browser Screenshots
  1. ❱ Internal

Web Demo

Information for your addon's web-browser

PreviousRules

Last updated 2 years ago

▸ About

This is a demo page pre-configured to load with your copy of Pirithous.

To change these links; open your pirithous addon folder and edit the file:

lua\modules\pirithous\cfg\sh_cfg_03_nav.lua

▸ Integrated vs Steam Overlay Browsers

This addon has the ability to load websites using either the integrated browser or the steam overlay browser.

INTEGRATED BROWSER

This browser is built into the addon you've purchased. It works thanks to Garry's Mod's existing libraries. The downside of using this mode is that the Garry's Mod libraries needed for this browser to work are extremely outdated. If you experience certain websites showing incorrectly, or a pure white page; you will need to use the Steam Overlay browser instead. The only way to correct this issue is with the Facepunch developers fixing it.

STEAM OVERLAY

This browser is built into steam itself. It requires nothing from Garry's Mod to function. When a player clicks a button; they will be shown a confirmation box that they must accept first before the link opens ().

▸ Switching Browser Modes

To change which mode your addon uses, open the file:

lua\modules\pirithous\cfg\sh_cfg_03_nav.lua

Locate the follow settings:

cfg.nav.btn.group_openIngame        = false
cfg.nav.btn.forums_openIngame       = false
cfg.nav.btn.donate_openIngame       = false
cfg.nav.btn.website_openIngame      = false
cfg.nav.btn.workshop_openIngame     = false
cfg.nav.btn.discord_openIngame      = false
cfg.nav.btn.rules_textonly          = false

Change the settings above for each button. A description is provided below:

Setting
Description

false

Websites will open using the Steam Overlay browser.

true

Websites will open using the Integrated addon browser.

▸ Browser Screenshots

The following screenshots give an example of how the different browsers will appear in-game.

INTEGRATED BROWSER

STEAM OVERLAY

🟪
screen screenshots below
Website using integrated browser
Confirmation dialog
Website using steam overlay