Panel/modules/billing/docs
copilot-swe-agent[bot] cc306ca355
Polish workshop helper ordering and docs wording consistency
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/1575c81b-f8a7-433a-8f3b-e068c0992c18

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2026-05-08 13:01:48 +00:00
..
7daystodie Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
aliensvspredator Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
amxmodx Enhanced game documentation with comprehensive installation and configuration details 2025-11-22 21:36:59 +00:00
aoc Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
arkse Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
arma-reforger Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
arma2co Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
arma2oa Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
arma3 Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
assettocorsa Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
atlas Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
avorion Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
b3 Enhanced game documentation with comprehensive installation and configuration details 2025-11-22 21:36:59 +00:00
bec Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
bf2 Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
bfbc2 Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
bloodfrontier Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
brainbread2 Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
callofduty Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
callofduty2 Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
callofduty4mw Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
callofdutymw2 Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
callofdutymw3 Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
callofdutyuo Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
callofdutywaw Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
citadelfwf Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
cod_blackops Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
colonysurvival Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
common-issues Generate comprehensive documentation for 98 game servers previously in TODO category 2025-11-22 16:00:18 +00:00
conanexiles Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
cs2d Enhanced game documentation with comprehensive installation and configuration details 2025-11-22 21:36:59 +00:00
csgo Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
cspromod Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
css Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
cstrike Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
czero Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
dayz Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
dayzmod Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
dmc Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
dod Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
dods Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
doi Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
dontstarvetogether Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
dystopia Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
eco Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
empyriongs Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
enemyterritory Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
epochmod Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
esmod Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
ets2 Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
factorio Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
feedthebeast Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
fgms Enhanced game documentation with comprehensive installation and configuration details 2025-11-22 21:36:59 +00:00
fivem Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
fof Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
freecol Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
garrysmod Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
gearbox Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
getting-started Polish workshop helper ordering and docs wording consistency 2026-05-08 13:01:48 +00:00
halo_ce Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
harsh Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
hidden_source Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
hl2d Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
hldm Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
hltv Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
homefront Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
hurtworld Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
il2 Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
ins Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
insurgencymic Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
insurgencysandstorm Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
ivmp Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
jcmp Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
jediknight2 Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
jediknightja Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
killingfloor Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
killingfloor2 Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
left4dead Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
left4dead2 Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
lifeisfeudal Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
mab_warband Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
mafia2online Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
metamodsource Enhanced game documentation with comprehensive installation and configuration details 2025-11-22 21:36:59 +00:00
minecraft Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
miscreated Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
mohaa Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
mohbr Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
mohsp Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
mohspdemo Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
mordhau Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
multitheftauto Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
mumble Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
nexuiz Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
nmrih_steam Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
ns2 Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
nucleardawn Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
ootow Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
openttd Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
oxide Enhanced game documentation with comprehensive installation and configuration details 2025-11-22 21:36:59 +00:00
pixark Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
pvkii Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
quake3 Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
quake4 Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
redorchestra2 Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
reignofkings Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
ricochet Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
risingstorm2 Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
roadkill Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
rorserver Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
rust Add XSS protection by escaping all HTML output 2025-11-22 22:43:08 +00:00
sanandreasmp Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
serioussamhdfe Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
serioussamhdse Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
shoutcast Enhanced game documentation with comprehensive installation and configuration details 2025-11-22 21:36:59 +00:00
shoutcast_bot Enhanced game documentation with comprehensive installation and configuration details 2025-11-22 21:36:59 +00:00
sinusbot Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
smashball Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
smokinguns Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
sms Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
sniperelitev2 Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
soldatserver Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
space_engineers Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
spigotmc Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
spunkybot Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
squad Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
starbound Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
stationeers Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
synergy Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
teamspeak2 Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
teamspeak3 Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
terraria Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
tf2 Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
tfc Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
theforest Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
trackmanianations Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
trackmanianf Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
unturned Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
urt Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
ut3 Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
ut99 Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
ut2004 Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
valheim Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
vbox Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
ventrilo Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
vicecitymp Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
warsow Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
wolfrtcw_1-4 Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
wreckfest Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
wurmu Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
xonotic Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
zps Generate comprehensive documentation for all 149 games 2025-11-22 23:12:17 +00:00
COMPREHENSIVE_DOCUMENTATION_UPDATE.md Add icon checker script and comprehensive documentation update summary 2025-11-22 21:38:48 +00:00
DOCUMENTATION_ENHANCEMENT_SUMMARY.md site changes by codex 2025-11-20 08:10:31 -05:00
DOCUMENTATION_EXPANSION_PLAN.md mvoed docs folder back 2025-11-10 13:06:39 -05:00
Game Server Hosting Reference (Multiplayer PC Games).pdf mvoed docs folder back 2025-11-10 13:06:39 -05:00
GAME_SERVER_LIST.md more games 2025-11-10 20:54:02 -05:00
gameserver_catalog_all_sources.yaml mvoed docs folder back 2025-11-10 13:06:39 -05:00
gameserver_catalog_lgsm_full.yaml mvoed docs folder back 2025-11-10 13:06:39 -05:00
gameserver_knowledgepack_v2.yaml mvoed docs folder back 2025-11-10 13:06:39 -05:00
GENERATION_README.md Add documentation generator tool and README for game server docs 2025-11-22 16:01:36 +00:00
IMPLEMENTATION_SUMMARY.md Add implementation summary for game documentation generation 2025-11-22 16:03:52 +00:00
README.md mvoed docs folder back 2025-11-10 13:06:39 -05:00
XML-Notes.md site changes by codex 2025-11-20 08:10:31 -05:00
xml_notes.php Apply automated PHP8 safety transforms 2026-04-23 14:01:37 +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