| .. | ||
| 7daystodie | ||
| aliensvspredator | ||
| amxmodx | ||
| aoc | ||
| arkse | ||
| arma-reforger | ||
| arma2co | ||
| arma2oa | ||
| arma3 | ||
| assettocorsa | ||
| atlas | ||
| avorion | ||
| b3 | ||
| bec | ||
| bf2 | ||
| bfbc2 | ||
| bigbrotherbot | ||
| bloodfrontier | ||
| brainbread2 | ||
| callofduty | ||
| callofduty2 | ||
| callofduty4mw | ||
| callofdutymw2 | ||
| callofdutymw3 | ||
| callofdutyuo | ||
| callofdutywaw | ||
| citadelfwf | ||
| cod_blackops | ||
| colonysurvival | ||
| common-issues | ||
| conanexiles | ||
| cs2d | ||
| csgo | ||
| cspromod | ||
| css | ||
| cstrike | ||
| czero | ||
| dayz | ||
| dayzmod | ||
| dmc | ||
| dod | ||
| dods | ||
| doi | ||
| dontstarvetogether | ||
| dystopia | ||
| eco | ||
| empyriongs | ||
| enemyterritory | ||
| epochmod | ||
| esmod | ||
| ets2 | ||
| factorio | ||
| feedthebeast | ||
| fgms | ||
| fivem | ||
| fof | ||
| freecol | ||
| garrysmod | ||
| gearbox | ||
| getting-started | ||
| halo_ce | ||
| harsh | ||
| hidden_source | ||
| hl2d | ||
| hldm | ||
| hltv | ||
| homefront | ||
| hurtworld | ||
| il2 | ||
| ins | ||
| insurgencymic | ||
| insurgencysandstorm | ||
| ivmp | ||
| jcmp | ||
| jediknight2 | ||
| jediknightja | ||
| killingfloor | ||
| killingfloor2 | ||
| left4dead | ||
| left4dead2 | ||
| lifeisfeudal | ||
| mab_warband | ||
| mafia2online | ||
| metamodsource | ||
| minecraft | ||
| miscreated | ||
| mohaa | ||
| mohbr | ||
| mohsp | ||
| mohspdemo | ||
| mordhau | ||
| multitheftauto | ||
| mumble | ||
| nexuiz | ||
| nmrih_steam | ||
| ns2 | ||
| nucleardawn | ||
| ootow | ||
| openttd | ||
| oxide | ||
| pixark | ||
| pvkii | ||
| quake3 | ||
| quake4 | ||
| redorchestra2 | ||
| reignofkings | ||
| ricochet | ||
| risingstorm2 | ||
| roadkill | ||
| rorserver | ||
| rust | ||
| sanandreasmp | ||
| serioussamhdfe | ||
| serioussamhdse | ||
| shoutcast | ||
| shoutcast_bot | ||
| sinusbot | ||
| smashball | ||
| smokinguns | ||
| sms | ||
| sniperelitev2 | ||
| soldatserver | ||
| space_engineers | ||
| spigotmc | ||
| spunkybot | ||
| squad | ||
| starbound | ||
| stationeers | ||
| synergy | ||
| teamspeak2 | ||
| teamspeak3 | ||
| terraria | ||
| tf2 | ||
| tfc | ||
| theforest | ||
| trackmanianations | ||
| trackmanianf | ||
| unturned | ||
| urt | ||
| ut3 | ||
| ut99 | ||
| ut2004 | ||
| valheim | ||
| vbox | ||
| ventrilo | ||
| vicecitymp | ||
| warsow | ||
| wolfrtcw_1-4 | ||
| wreckfest | ||
| wurmu | ||
| xonotic | ||
| zps | ||
| DOCUMENTATION_ENHANCEMENT_SUMMARY.md | ||
| DOCUMENTATION_EXPANSION_PLAN.md | ||
| Game Server Hosting Reference (Multiplayer PC Games).pdf | ||
| GAME_SERVER_LIST.md | ||
| gameserver_catalog_all_sources.yaml | ||
| gameserver_catalog_lgsm_full.yaml | ||
| gameserver_knowledgepack_v2.yaml | ||
| README.md | ||
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 listdescription: Brief description shown on the cardcategory: One of:game,panel,mods,troubleshooting,otherorder: 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:
- minecraft - Game server documentation example
- getting-started - Panel documentation example
- 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
- Keep it Organized: Use clear, descriptive folder names
- Consistent Naming: Use lowercase and hyphens (e.g.,
my-game-guide) - Good Descriptions: Write helpful metadata descriptions
- Visual Icons: Use recognizable icons for each category
- Test Content: Preview documentation after creating it
- 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:
- Create a new folder for each document
- Convert markdown to HTML in index.php
- Add appropriate metadata.json
- 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.pngoricon.jpg - Verify image file is not corrupted
- Try a smaller image size if very large