Panel/Panel/modules/billing/docs
copilot-swe-agent[bot] 176f532737
feat: relocate billing runtime to module and harden updater panel pathing
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/50299e05-4ee0-4b5b-80e4-bc5f872c106e

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-05-18 13:46:11 +00:00
..
7daystodie feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
aliensvspredator feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
amxmodx feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
aoc feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
arkse feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
arma-reforger feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
arma2co feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
arma2oa feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
arma3 feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
assettocorsa feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
atlas feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
avorion feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
b3 feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
bec feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
bf2 feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
bfbc2 feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
bloodfrontier feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
brainbread2 feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
callofduty feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
callofduty2 feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
callofduty4mw feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
callofdutymw2 feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
callofdutymw3 feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
callofdutyuo feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
callofdutywaw feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
citadelfwf feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
cod_blackops feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
colonysurvival feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
common-issues feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
conanexiles feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
cs2d feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
csgo feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
cspromod feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
css feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
cstrike feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
czero feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
dayz feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
dayzmod feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
dmc feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
dod feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
dods feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
doi feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
dontstarvetogether feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
dystopia feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
eco feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
empyriongs feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
enemyterritory feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
epochmod feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
esmod feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
ets2 feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
factorio feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
feedthebeast feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
fgms feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
fivem feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
fof feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
freecol feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
garrysmod feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
gearbox feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
getting-started feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
halo_ce feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
harsh feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
hidden_source feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
hl2d feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
hldm feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
hltv feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
homefront feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
hurtworld feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
il2 feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
ins feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
insurgencymic feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
insurgencysandstorm feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
ivmp feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
jcmp feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
jediknight2 feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
jediknightja feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
killingfloor feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
killingfloor2 feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
left4dead feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
left4dead2 feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
lifeisfeudal feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
mab_warband feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
mafia2online feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
metamodsource feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
minecraft feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
miscreated feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
mohaa feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
mohbr feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
mohsp feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
mohspdemo feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
mordhau feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
multitheftauto feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
mumble feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
nexuiz feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
nmrih_steam feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
ns2 feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
nucleardawn feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
ootow feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
openttd feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
oxide feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
pixark feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
pvkii feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
quake3 feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
quake4 feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
redorchestra2 feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
reignofkings feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
ricochet feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
risingstorm2 feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
roadkill feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
rorserver feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
rust feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
sanandreasmp feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
serioussamhdfe feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
serioussamhdse feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
shoutcast feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
shoutcast_bot feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
sinusbot feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
smashball feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
smokinguns feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
sms feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
sniperelitev2 feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
soldatserver feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
space_engineers feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
spigotmc feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
spunkybot feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
squad feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
starbound feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
stationeers feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
synergy feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
teamspeak2 feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
teamspeak3 feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
terraria feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
tf2 feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
tfc feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
theforest feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
trackmanianations feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
trackmanianf feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
unturned feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
urt feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
ut3 feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
ut99 feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
ut2004 feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
valheim feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
vbox feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
ventrilo feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
vicecitymp feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
warsow feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
wolfrtcw_1-4 feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
wreckfest feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
wurmu feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
xonotic feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
zps feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
COMPREHENSIVE_DOCUMENTATION_UPDATE.md feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
DOCUMENTATION_ENHANCEMENT_SUMMARY.md feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
DOCUMENTATION_EXPANSION_PLAN.md feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
Game Server Hosting Reference (Multiplayer PC Games).pdf feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
GAME_SERVER_LIST.md feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
gameserver_catalog_all_sources.yaml feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
gameserver_catalog_lgsm_full.yaml feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
gameserver_knowledgepack_v2.yaml feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
GENERATION_README.md feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
IMPLEMENTATION_SUMMARY.md feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
README.md feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
XML-Notes.md feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00
xml_notes.php feat: relocate billing runtime to module and harden updater panel pathing 2026-05-18 13:46:11 +00:00

Documentation System

Overview

The billing module now includes a flexible documentation browser that organizes documentation into categories with an easy-to-navigate interface.

Structure

Documentation is organized in the /modules/billing/docs/ folder with the following structure:

docs/
├── category-name-1/
│   ├── index.php          (Required: Documentation content)
│   ├── metadata.json      (Required: Category and ordering info)
│   └── icon.png or icon.jpg (Required: Category icon)
├── category-name-2/
│   ├── index.php
│   ├── metadata.json
│   └── icon.png
└── ...

Creating New Documentation

1. Create a Folder

Create a new folder in /modules/billing/docs/ with a descriptive name (lowercase, hyphens for spaces):

mkdir /modules/billing/docs/my-new-doc

2. Create metadata.json

This file defines how the documentation appears in the list:

{
    "name": "My Documentation Title",
    "description": "A brief description of this documentation",
    "category": "game",
    "order": 10
}

Fields:

  • name: Display name shown in the documentation list
  • description: Brief description shown on the card
  • category: One of: game, panel, mods, troubleshooting, other
  • order: Sort order within the category (lower numbers appear first)

3. Create index.php

This file contains the actual documentation content. Use PHP and HTML:

<?php
/**
 * My Documentation
 */
?>
<h1>My Documentation Title</h1>

<h2>Section 1</h2>
<p>Your content here...</p>

<h3>Subsection</h3>
<ul>
    <li>Item 1</li>
    <li>Item 2</li>
</ul>

<h2>Code Examples</h2>
<pre><code>
# Your code here
command --option value
</code></pre>

The documentation system automatically styles:

  • Headings (h1-h4)
  • Links (styled with accent color)
  • Code blocks (with dark background)
  • Lists and other HTML elements

4. Add an Icon

Add either icon.png or icon.jpg to the folder. Recommended size: 60x60 pixels or larger (will be scaled down).

If no icon is provided, a default document emoji (📄) will be shown.

Categories

Documentation is organized into these categories:

  • game - Game-specific server guides
  • panel - Panel usage and features
  • mods - Mods and addon documentation
  • troubleshooting - Problem-solving guides
  • other - Miscellaneous documentation

Categories are sorted and labeled automatically on the documentation page.

Example Documentation

See the included examples:

  1. minecraft - Game server documentation example
  2. getting-started - Panel documentation example
  3. common-issues - Troubleshooting documentation example

Accessing Documentation

Users can access documentation at:

  • /modules/billing/docs.php - Main documentation list
  • /modules/billing/docs.php?action=view&doc=folder-name - Specific doc

A "Documentation" link is added to the main navigation menu.

Best Practices

  1. Keep it Organized: Use clear, descriptive folder names
  2. Consistent Naming: Use lowercase and hyphens (e.g., my-game-guide)
  3. Good Descriptions: Write helpful metadata descriptions
  4. Visual Icons: Use recognizable icons for each category
  5. Test Content: Preview documentation after creating it
  6. Regular Updates: Keep documentation current with panel changes

Migration from Old System

The old docs folder with game markdown files has been moved to /modules/billing/docs_old/ for reference. The new system provides:

  • Better organization by category
  • Consistent styling
  • Easier navigation
  • Extensible structure for any type of documentation

To migrate old documentation:

  1. Create a new folder for each document
  2. Convert markdown to HTML in index.php
  3. Add appropriate metadata.json
  4. Add an icon image

Troubleshooting

Documentation not appearing

  • Check that folder has all three required files (index.php, metadata.json, icon)
  • Verify metadata.json is valid JSON
  • Ensure file permissions allow reading

Styling issues

  • The system uses inline styles from docs.php
  • Custom styles in index.php may conflict
  • Keep content semantic (use proper HTML tags)

Icons not showing

  • Check file exists and is named exactly icon.png or icon.jpg
  • Verify image file is not corrupted
  • Try a smaller image size if very large