Sk0rs Server Bible

by Sk0r91 PzGrenBtl24
Sk0rs Server Bible

Summary

Configurable, website-styled server info menu - opens from the pause menu (optionally auto-opens on spawn) and shows rules, info & links, fully editable via a JSON config, no rebuild needed.

Description

Sk0rs Server Bible is a fully configurable in-game info menu with a website-style layout, built for your Arma Reforger dedicated server. It opens from a button in the pause menu and can optionally open automatically the moment a player join the server.

The entire content - pages, headings, text, images, links and formatting - is maintained through a simple JSON config file. Changes never require rebuilding the mod; the admin just keeps editing the file live.

Features at a glance:
- Any number of pages, each with its own header, footer and multiple sections
- Rich text formatting in the body (headings, bold, italic, line breaks, colors)
- Custom text markers for embedded widgets: <link> for clickable link buttons (opens the default browser), <img> for images, and <code> for raw, unformatted text - perfect for showing chat commands or examples
- Globally defined links and images that any page can reuse by label
- Header/footer images with full control over width, height and alignment (left/center/right)
- Pages can be flagged "admin-only" - checked against the server's real admin list
- Pages can be disabled without deleting them from the config
- Server-authoritative configuration: the server broadcasts its config file to every client over RPC, so all players are guaranteed to see the exact same, admin-maintained content regardless of their own local file
- Three built-in instruction pages covering formatting, link/image setup and the modding API, complete with live examples

Great for server rules, Discord links, community introductions, feature explanations, or anything else you want to present cleanly to players when they connect - without needing a new mod update for every text change.

=====================
FOR MODDERS
=====================
Server Bible ships with a small, script-only extension point, Sk0rsSB_API, so other mods can add their own content to the menu without touching the JSON config at all.

Sk0rsSB_API.RegisterPage(Sk0rsSB_Page page)
Register a page built entirely in code, using the exact same Sk0rsSB_Page / Sk0rsSB_HeaderFooter / Sk0rsSB_Section classes the config system itself uses. Build one with `new`, fill in MenuLabel, Header, Footer and Sections, then call RegisterPage() - no restart or reload required. Registered pages are never written to the JSON config, appear after every config-defined page in registration order, and support the same Active/AdminOnly flags as regular pages. Call it any time before a player opens the menu; the page list is rebuilt fresh on every open, so even a late registration from your mod's own init code works correctly.

Sk0rsSB_API.UnregisterPage(Sk0rsSB_Page page)
Removes a previously registered page.

Sk0rsSB_CustomSectionProvider
For content that plain text can't express - live stats, dynamic tables, custom widgets - extend Sk0rsSB_CustomSectionProvider and override Sk0rsSB_BuildContent(Widget container), then assign an instance to a section's CustomContent field. It's called fresh every time the page is opened (never cached), with an empty container ready for you to build into with the normal Widget API. The section's Heading still renders normally above it if set; a section with CustomContent ignores Body and its text markers entirely.

This makes Server Bible a drop-in "front page" for other mods: register a page during your own mod's initialization and it will show up in the same menu players already know, styled consistently with everything else.

License

Arma Public License No Derivatives (APL-ND)

Version
1.0.0
Game Version
1.8.0.13
Version size
1.10 MB
Created
20.09.2026
Last Modified
20.09.2026
ID
6A65428E535F567E