Panel/modules/billing/docs
2025-11-10 12:25:23 -05:00
..
7daystodie Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
aliensvspredator Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
aoc Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
arkse Enhanced documentation for Valheim and ARK servers with comprehensive guides 2025-11-09 21:01:31 +00:00
arma-reforger Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
arma2co Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
arma2oa Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
arma3 Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
assettocorsa Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
atlas Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
avorion Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
bec Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
bf2 Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
bfbc2 Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
bigbrotherbot Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
bloodfrontier Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
brainbread2 Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
callofduty Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
callofduty2 Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
callofduty4mw Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
callofdutymw2 Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
callofdutymw3 Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
callofdutyuo Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
callofdutywaw Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
citadelfwf Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
cod_blackops Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
colonysurvival Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
common-issues Implement new documentation system with categorized docs browser 2025-11-07 10:52:35 +00:00
conanexiles Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
cs2d Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
csgo Add comprehensive game server documentation for Minecraft and CS:GO 2025-11-08 16:26:43 +00:00
cspromod Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
css Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
cstrike Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
czero Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
dayz Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
dayzmod Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
dmc Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
dod Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
dods Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
doi Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
dontstarvetogether Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
dystopia Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
eco Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
empyriongs Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
enemyterritory Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
epochmod Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
esmod Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
ets2 Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
factorio Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
feedthebeast Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
fgms Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
fivem Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
fof Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
freecol Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
garrysmod Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
gearbox Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
getting-started Implement new documentation system with categorized docs browser 2025-11-07 10:52:35 +00:00
halo_ce Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
harsh Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
hidden_source Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
hl2d Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
hldm Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
hltv Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
homefront Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
hurtworld Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
il2 Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
ins Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
insurgencymic Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
insurgencysandstorm Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
ivmp Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
jcmp Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
jediknight2 Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
jediknightja Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
killingfloor Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
killingfloor2 Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
left4dead Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
left4dead2 Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
lifeisfeudal Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
mab_warband Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
mafia2online Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
minecraft Add comprehensive game server documentation for Minecraft and CS:GO 2025-11-08 16:26:43 +00:00
miscreated Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
mohaa Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
mohbr Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
mohsp Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
mohspdemo Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
mordhau Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
multitheftauto Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
mumble Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
nexuiz Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
nmrih_steam Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
ns2 Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
nucleardawn Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
ootow Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
openttd Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
pixark Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
pvkii Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
quake3 Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
quake4 Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
redorchestra2 Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
reignofkings Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
ricochet Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
risingstorm2 Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
roadkill Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
rorserver Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
rust Add comprehensive Rust server documentation 2025-11-08 16:29:13 +00:00
sanandreasmp Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
serioussamhdfe Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
serioussamhdse Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
shoutcast Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
shoutcast_bot Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
sinusbot Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
smashball Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
smokinguns Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
sms Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
sniperelitev2 Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
soldatserver Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
space_engineers Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
spigotmc Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
spunkybot Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
squad Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
starbound Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
stationeers Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
synergy Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
teamspeak2 Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
teamspeak3 Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
terraria Enhanced Terraria documentation with comprehensive server hosting guide 2025-11-09 21:04:19 +00:00
tf2 Enhanced TF2 documentation - now 7 games with comprehensive guides 2025-11-09 21:09:19 +00:00
tfc Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
theforest Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
trackmanianations Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
trackmanianf Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
unturned Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
urt Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
ut3 Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
ut99 Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
ut2004 Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
valheim Enhanced documentation for Valheim and ARK servers with comprehensive guides 2025-11-09 21:01:31 +00:00
vbox Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
ventrilo Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
vicecitymp Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
warsow Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
wolfrtcw_1-4 Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
wreckfest Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
wurmu Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
xonotic Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
zps Fix cart.php REQUEST_URI error and update all game documentation 2025-11-08 22:00:50 +00:00
DOCUMENTATION_ENHANCEMENT_SUMMARY.md Add comprehensive summary documentation for enhancements 2025-11-08 16:32:23 +00:00
DOCUMENTATION_EXPANSION_PLAN.md Add comprehensive documentation expansion plan and summary 2025-11-09 21:06:24 +00:00
Game Server Hosting Reference (Multiplayer PC Games).pdf Add files via upload 2025-11-08 11:07:40 -05:00
gameserver_catalog_all_sources.yaml Add files via upload 2025-11-09 15:36:50 -05:00
gameserver_catalog_lgsm_full.yaml Add files via upload 2025-11-09 15:36:50 -05:00
gameserver_knowledgepack_v2.yaml Add files via upload 2025-11-09 15:36:50 -05:00
README.md Implement new documentation system with categorized docs browser 2025-11-07 10:52:35 +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