From the panel site
This commit is contained in:
parent
d684ca74fb
commit
2fc04bcfac
1194 changed files with 154606 additions and 13040 deletions
Binary file not shown.
1740
modules/faq/faq.bak
Normal file
1740
modules/faq/faq.bak
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -34,34 +34,116 @@ function exec_ogp_module()
|
|||
echo '<div class="maincategory"><img class="headerimage" src="modules/faq/faq.png">Categories<div style="float:right" >'.
|
||||
'<input class=search name=search id=search type=text placeholder="Search"/></div><br></div>';
|
||||
|
||||
// Load FAQ data from new HTML structure
|
||||
require_once 'modules/faq/faq_data.php';
|
||||
$entries = getFaqData();
|
||||
require 'modules/faq/rss_php.php';
|
||||
$url = 'https://opengamepanel.org/faq/rss.php';
|
||||
$local_copy = 'modules/faq/faq.rss'; ## Relative path
|
||||
$save_as = realpath('modules' . DIRECTORY_SEPARATOR . 'faq') . DIRECTORY_SEPARATOR . 'faq.rss';
|
||||
## Full path (adding the filename to realpath would fail if the file does not exists yet)
|
||||
$online = false;
|
||||
$local = true;
|
||||
$updated = false;
|
||||
$s = (isset($_SERVER['HTTPS'])) ? "s" : "";
|
||||
$p = (isset($_SERVER['SERVER_PORT']) and $_SERVER['SERVER_PORT'] != "80") ? ":".$_SERVER['SERVER_PORT'] : "";
|
||||
$localServerURL = $_SERVER['SERVER_NAME'];
|
||||
if($localServerURL == "_"){
|
||||
$localServerURL = "localhost";
|
||||
}
|
||||
$local_url = 'http'.$s.'://'.$localServerURL.$p.$_SERVER['SCRIPT_NAME'];
|
||||
$local_url = str_replace('home.php', $local_copy, $local_url);
|
||||
if(file_exists($save_as))
|
||||
{
|
||||
$rss = new rss_php;
|
||||
$rss->load($local_url);
|
||||
$items = $rss->getItems(); #returns all rss items
|
||||
$local = true;
|
||||
}
|
||||
/*
|
||||
echo "<script>console.log('Last Update : ".date("r", filemtime($save_as))."\\nCurrent Time: ".date('r',time())."\\nNext Update : ".date('r', strtotime("+1 day", filemtime($save_as)))."');</script>";
|
||||
if( ($local AND ( strtotime("+1 day", filemtime($save_as)) <= strtotime("now") )) OR !$local) # Check the file is older than 1 day to avoid spamming the server
|
||||
{
|
||||
stream_context_set_default(array('ssl' => array(
|
||||
'verify_peer' => false,
|
||||
'verify_peer_name' => false
|
||||
)
|
||||
));
|
||||
|
||||
$headers = get_headers( $url, 1 );
|
||||
touch( $save_as ); # Connection done, so we reset the file modification time even if the server is down (avoid server spamming)
|
||||
echo "<script>console.log('Trying to connect to ".$url."');</script>";
|
||||
if( $headers[0] == 'HTTP/1.1 200 OK')
|
||||
{
|
||||
$online = false;
|
||||
$rss_online = new rss_php;
|
||||
$rss_online->load($url); # SERVER USAGE WARNING : using 32kb of server bandwidth each time each person loads this function
|
||||
$items_online = $rss_online->getItems();
|
||||
echo "<script>console.log('Connected successfully to ".$url.", checking...');</script>";
|
||||
if(($local and $items_online != $items ) OR !$local)
|
||||
{
|
||||
$contents = file_get_contents($url);
|
||||
if(preg_match('#^<\?xml version="1.0" encoding="utf-8" \?>#', $contents, $match))
|
||||
{
|
||||
if( file_put_contents($save_as, $contents) === false )
|
||||
{
|
||||
print_failure("Imposible write " . $save_as);
|
||||
return;
|
||||
}
|
||||
touch( $save_as );
|
||||
echo "<script>console.log('Entries updated successfully.');</script>";
|
||||
$updated = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
print_failure("Imposible fetch " . $url);
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "<script>console.log('No changes found...');</script>";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if($updated)
|
||||
{
|
||||
$rss = new rss_php;
|
||||
$rss->load($local_url);
|
||||
$items = $rss->getItems(); #returns all rss items
|
||||
}
|
||||
*/
|
||||
|
||||
if(!file_exists($save_as))
|
||||
{
|
||||
print_failure('Unable to load entries.');
|
||||
return; # Stop loading page
|
||||
}
|
||||
|
||||
|
||||
$entries = array();
|
||||
foreach($items as $index => $item)
|
||||
{
|
||||
$category = $item['category'][0];
|
||||
$entries[$category][$index]['title'] = $item['title'][0];
|
||||
$entries[$category][$index]['content'] = $item['content:encoded'][0];
|
||||
}
|
||||
$categories = "";
|
||||
$accordion_entries = "<div id=\"accordion\">\n";
|
||||
|
||||
foreach($entries as $category_name => $category_entries)
|
||||
{
|
||||
// Create category navigation link with clean ID
|
||||
$category_id = preg_replace('/[^a-z0-9_]/', '_', strtolower($category_name));
|
||||
$categories .= "<li class='faqblock'><a class='faqcategory' href=\"#$category_id\">$category_name</a></li>";
|
||||
|
||||
// Create category section
|
||||
$accordion_entries .= "<div class=\"category\" id=\"$category_id\"><img class='headerimage' src='modules/faq/faqlower.png'>$category_name</div>";
|
||||
|
||||
// Add items for this category
|
||||
foreach($category_entries as $item)
|
||||
$categories .= "<li class='faqblock'><a class='faqcategory' href=\"#$category_name\">$category_name</a></li>";
|
||||
$accordion_entries .= "<div class=\"category\" id=\"$category_name\"><img class='headerimage' src='modules/faq/faqlower.png'>$category_name</div>";
|
||||
foreach($category_entries as $index => $item)
|
||||
{
|
||||
$accordion_entries .= "\t<div class=\"accordion-toggle\">".
|
||||
htmlspecialchars($item['title']) . "</div>\n".
|
||||
"\t<div class=\"accordion-content\">\n\t\t<div class=\"faqanswer\">" . $item['content'] . "</div>\n\t</div>\n";
|
||||
$accordion_entries .= "\t<div class=\"accordion-toggle\">".
|
||||
"$item[title]</div>\n".
|
||||
"\t<div class=\"accordion-content\">\n\t\t<div class=\"faqanswer\">$item[content]</div>\n\t</div>\n";
|
||||
}
|
||||
}
|
||||
$categories .= "</ul>";
|
||||
$accordion_entries .= "</div>";
|
||||
|
||||
echo $categories . $accordion_entries;
|
||||
echo $categories.$accordion_entries;
|
||||
|
||||
echo "<div class='footer' >".
|
||||
"<div style='display:block;float:left' >".
|
||||
|
|
@ -69,7 +151,7 @@ function exec_ogp_module()
|
|||
"</div>".
|
||||
"<div class='credits' style='display:block;float:right' >".
|
||||
"<b>Credits:</b><br>".
|
||||
"<div class='credittext'>Open Game Panel - Enhanced HTML FAQ System<br>".
|
||||
"<div class='credittext'><br>".
|
||||
"</div>".
|
||||
"</div>";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -185,6 +185,266 @@ As always, if you need help just ask on Discord.
|
|||
</content:encoded>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>What is the Game Monitor and how do I use it?</title>
|
||||
<category>Game Monitor</category>
|
||||
|
||||
<content:encoded>
|
||||
The Game Monitor is your main control center for managing your game server. From here you can:
|
||||
<br /><br />
|
||||
<strong>Server Status:</strong> View real-time information about your server including player count, map, and server status
|
||||
<br />
|
||||
<strong>Start/Stop/Restart:</strong> Control your server's power state with dedicated buttons
|
||||
<br />
|
||||
<strong>Update Server:</strong> Keep your game server files up to date with automatic or manual updates
|
||||
<br />
|
||||
<strong>View Logs:</strong> Monitor server logs to troubleshoot issues or track player activity
|
||||
<br />
|
||||
<strong>RCON Console:</strong> Send commands directly to your server if supported by the game
|
||||
<br /><br />
|
||||
The monitor refreshes automatically to give you up-to-date information about your server's performance and status.
|
||||
</content:encoded>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>How do I start, stop, or restart my server?</title>
|
||||
<category>Game Monitor</category>
|
||||
|
||||
<content:encoded>
|
||||
From the Game Monitor page:
|
||||
<br /><br />
|
||||
<strong>Start:</strong> Click the "Start" button to launch your server. Wait for the status to show as "Online"
|
||||
<br />
|
||||
<strong>Stop:</strong> Click the "Stop" button to safely shut down your server
|
||||
<br />
|
||||
<strong>Restart:</strong> Click "Restart" to stop and start your server in one action
|
||||
<br /><br />
|
||||
<strong>Important:</strong> Always use these controls rather than killing processes directly. This ensures proper shutdown and prevents data corruption.
|
||||
<br /><br />
|
||||
If your server fails to start, check the server logs for error messages that can help identify configuration issues.
|
||||
</content:encoded>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>What is the Scheduler and how does it work?</title>
|
||||
<category>Scheduler</category>
|
||||
|
||||
<content:encoded>
|
||||
The Scheduler is a cron-like system that allows you to automate server tasks at specific times or intervals.
|
||||
<br /><br />
|
||||
<strong>What is Cron?</strong> Cron is a time-based job scheduler used in Unix-like systems (Linux). The panel's Scheduler brings this functionality to game server management.
|
||||
<br /><br />
|
||||
<strong>Common uses:</strong>
|
||||
<br />• Automatic server restarts (daily, weekly, etc.)
|
||||
<br />• Scheduled server updates
|
||||
<br />• Backup creation at regular intervals
|
||||
<br />• Sending automated messages to players
|
||||
<br />• Running custom scripts or commands
|
||||
<br /><br />
|
||||
Access the Scheduler from the main menu to create, edit, or delete scheduled tasks for your servers.
|
||||
</content:encoded>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>How do I create scheduled tasks (for non-Linux users)?</title>
|
||||
<category>Scheduler</category>
|
||||
|
||||
<content:encoded>
|
||||
The Scheduler uses cron syntax, which may be unfamiliar to Windows users. Here's a simple guide:
|
||||
<br /><br />
|
||||
<strong>Cron Format:</strong> * * * * * (5 fields separated by spaces)
|
||||
<br />Position 1: Minute (0-59)
|
||||
<br />Position 2: Hour (0-23, where 0 = midnight)
|
||||
<br />Position 3: Day of month (1-31)
|
||||
<br />Position 4: Month (1-12)
|
||||
<br />Position 5: Day of week (0-7, where 0 and 7 = Sunday)
|
||||
<br /><br />
|
||||
<strong>Examples:</strong>
|
||||
<br />• <code>0 6 * * *</code> - Every day at 6:00 AM
|
||||
<br />• <code>0 0 * * 0</code> - Every Sunday at midnight
|
||||
<br />• <code>*/30 * * * *</code> - Every 30 minutes
|
||||
<br />• <code>0 4 * * 1</code> - Every Monday at 4:00 AM
|
||||
<br /><br />
|
||||
<strong>Special characters:</strong>
|
||||
<br />• <code>*</code> means "every" (every minute, hour, etc.)
|
||||
<br />• <code>*/X</code> means "every X units" (*/15 = every 15 minutes)
|
||||
<br />• <code>X,Y</code> means "at X and Y" (1,15 = 1st and 15th)
|
||||
<br />• <code>X-Y</code> means "from X to Y" (9-17 = 9 AM to 5 PM)
|
||||
</content:encoded>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Common Scheduler examples for game servers</title>
|
||||
<category>Scheduler</category>
|
||||
|
||||
<content:encoded>
|
||||
Here are practical examples for common server management tasks:
|
||||
<br /><br />
|
||||
<strong>Daily Restart at 6 AM:</strong>
|
||||
<br />Schedule: <code>0 6 * * *</code>
|
||||
<br />Action: Restart Server
|
||||
<br /><br />
|
||||
<strong>Weekly Restart (Sunday 3 AM):</strong>
|
||||
<br />Schedule: <code>0 3 * * 0</code>
|
||||
<br />Action: Restart Server
|
||||
<br /><br />
|
||||
<strong>Hourly Server Update Check:</strong>
|
||||
<br />Schedule: <code>0 * * * *</code>
|
||||
<br />Action: Update Server
|
||||
<br /><br />
|
||||
<strong>Daily Backup at Midnight:</strong>
|
||||
<br />Schedule: <code>0 0 * * *</code>
|
||||
<br />Action: Create Backup
|
||||
<br /><br />
|
||||
<strong>Maintenance Window (2 AM - 4 AM daily):</strong>
|
||||
<br />Stop: <code>0 2 * * *</code>
|
||||
<br />Start: <code>0 4 * * *</code>
|
||||
<br /><br />
|
||||
Remember to consider your server's time zone and peak player hours when scheduling restarts or maintenance.
|
||||
</content:encoded>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>What is the Dashboard and what can I see there?</title>
|
||||
<category>Dashboard</category>
|
||||
|
||||
<content:encoded>
|
||||
The Dashboard is your overview page that displays key information about all your servers and account:
|
||||
<br /><br />
|
||||
<strong>Server Status Widgets:</strong> Quick view of all your servers' online/offline status
|
||||
<br />
|
||||
<strong>Resource Usage:</strong> CPU, memory, and disk usage for your servers
|
||||
<br />
|
||||
<strong>Player Activity:</strong> Current player counts across all your game servers
|
||||
<br />
|
||||
<strong>Recent Events:</strong> Server starts, stops, updates, and other activities
|
||||
<br />
|
||||
<strong>Quick Actions:</strong> Fast access to common tasks like starting/stopping servers
|
||||
<br />
|
||||
<strong>System Alerts:</strong> Important notifications about your servers or account
|
||||
<br /><br />
|
||||
The Dashboard refreshes automatically and serves as your central command center for monitoring multiple game servers at a glance.
|
||||
</content:encoded>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>How do I manage server configuration files?</title>
|
||||
<category>File Management</category>
|
||||
|
||||
<content:encoded>
|
||||
The panel provides several ways to edit your server configuration files:
|
||||
<br /><br />
|
||||
<strong>Config Files Editor:</strong> Built-in editor for game-specific configuration files with syntax highlighting
|
||||
<br />
|
||||
<strong>File Manager:</strong> Browser-based file manager to upload, download, edit, and organize all server files
|
||||
<br />
|
||||
<strong>FTP Access:</strong> Use your favorite FTP client to manage files directly
|
||||
<br /><br />
|
||||
<strong>Important Tips:</strong>
|
||||
<br />• Always backup configuration files before making changes
|
||||
<br />• Stop your server before editing critical config files
|
||||
<br />• Some files are protected and cannot be modified for security reasons
|
||||
<br />• Test configuration changes carefully - invalid configs can prevent server startup
|
||||
<br />• Use the built-in editor when possible as it provides validation and syntax checking
|
||||
</content:encoded>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>How do I use the File Manager?</title>
|
||||
<category>File Management</category>
|
||||
|
||||
<content:encoded>
|
||||
The File Manager is a web-based interface for managing your server files:
|
||||
<br /><br />
|
||||
<strong>Navigation:</strong> Click folders to browse your server directory structure
|
||||
<br />
|
||||
<strong>Upload Files:</strong> Drag and drop files or use the upload button to add files to your server
|
||||
<br />
|
||||
<strong>Edit Files:</strong> Click on text files to open the built-in editor
|
||||
<br />
|
||||
<strong>Download Files:</strong> Right-click files to download them to your computer
|
||||
<br />
|
||||
<strong>Create Folders:</strong> Use the "New Folder" button to organize your files
|
||||
<br />
|
||||
<strong>Delete Files:</strong> Select files and click delete (be careful - this is permanent!)
|
||||
<br />
|
||||
<strong>Permissions:</strong> View and modify file permissions if your game requires specific settings
|
||||
<br /><br />
|
||||
The File Manager supports most common file operations and is perfect for quick changes without needing a separate FTP client.
|
||||
</content:encoded>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>What backup and restore options are available?</title>
|
||||
<category>Backup & Restore</category>
|
||||
|
||||
<content:encoded>
|
||||
The panel provides comprehensive backup and restore functionality:
|
||||
<br /><br />
|
||||
<strong>Automatic Backups:</strong> Schedule regular backups of your server files and data
|
||||
<br />
|
||||
<strong>Manual Backups:</strong> Create instant backups before making major changes
|
||||
<br />
|
||||
<strong>Database Backups:</strong> Export MySQL databases associated with your game servers
|
||||
<br />
|
||||
<strong>Selective Restore:</strong> Restore specific files or folders rather than entire server
|
||||
<br />
|
||||
<strong>Download Backups:</strong> Download backup files to your local computer for safekeeping
|
||||
<br /><br />
|
||||
<strong>Best Practices:</strong>
|
||||
<br />• Always backup before major updates or configuration changes
|
||||
<br />• Keep multiple backup versions (daily, weekly, monthly)
|
||||
<br />• Test restore procedures periodically to ensure backups work
|
||||
<br />• Store important backups offline for maximum protection
|
||||
</content:encoded>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>How do I manage server updates?</title>
|
||||
<category>Server Management</category>
|
||||
|
||||
<content:encoded>
|
||||
The panel provides multiple update options for keeping your servers current:
|
||||
<br /><br />
|
||||
<strong>Automatic Updates:</strong> Enable automatic Steam updates when new game versions are released
|
||||
<br />
|
||||
<strong>Manual Updates:</strong> Check for and apply updates on-demand from the Game Monitor
|
||||
<br />
|
||||
<strong>Scheduled Updates:</strong> Use the Scheduler to update servers during low-traffic periods
|
||||
<br />
|
||||
<strong>Validation:</strong> Verify and repair corrupted game files using Steam's validation system
|
||||
<br />
|
||||
<strong>Rollback:</strong> Restore previous game versions if needed (when backups are available)
|
||||
<br /><br />
|
||||
<strong>Update Tips:</strong>
|
||||
<br />• Monitor update logs for any errors during the process
|
||||
<br />• Consider backing up before major game updates
|
||||
<br />• Some updates may require server restart or configuration changes
|
||||
<br />• Test servers after updates to ensure mods and plugins still work
|
||||
</content:encoded>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>How do I use RCON to manage my server?</title>
|
||||
<category>Server Management</category>
|
||||
|
||||
<content:encoded>
|
||||
RCON (Remote Console) allows you to send commands directly to your game server:
|
||||
<br /><br />
|
||||
<strong>Accessing RCON:</strong> Click the "Console" or "RCON" button in your Game Monitor
|
||||
<br />
|
||||
<strong>Authentication:</strong> RCON may require a password set in your server configuration
|
||||
<br />
|
||||
<strong>Common Commands:</strong>
|
||||
<br />• <code>say [message]</code> - Send message to all players
|
||||
<br />• <code>kick [player]</code> - Remove a player from the server
|
||||
<br />• <code>ban [player]</code> - Permanently ban a player
|
||||
<br />• <code>status</code> - Show server status and player list
|
||||
<br />• <code>changelevel [map]</code> - Change to a different map
|
||||
<br /><br />
|
||||
<strong>Note:</strong> Available commands vary by game. Not all games support RCON functionality. Check your specific game's documentation for supported commands.
|
||||
</content:encoded>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
</rss>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,341 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* FAQ Data Structure - HTML Format
|
||||
* Replaces RSS-based FAQ with structured PHP array for better maintainability
|
||||
*/
|
||||
|
||||
function getFaqData() {
|
||||
return array(
|
||||
'Panel Overview' => array(
|
||||
array(
|
||||
'title' => 'What is the Open Game Panel?',
|
||||
'content' => 'The Open Game Panel (OGP) is a web-based control panel for managing game servers. It provides an easy-to-use interface for starting, stopping, configuring, and monitoring your game servers without needing command-line access.'
|
||||
),
|
||||
array(
|
||||
'title' => 'How do I navigate the panel?',
|
||||
'content' => 'The panel is organized into several main sections accessible from the navigation menu:<br>
|
||||
• <strong>Dashboard</strong> - Overview of your servers and system status<br>
|
||||
• <strong>Game Servers</strong> - Manage your game server instances<br>
|
||||
• <strong>File Manager</strong> - Browse and edit server files<br>
|
||||
• <strong>User Management</strong> - Control user access and permissions<br>
|
||||
• <strong>Administration</strong> - System settings and configuration'
|
||||
),
|
||||
array(
|
||||
'title' => 'What browsers are supported?',
|
||||
'content' => 'The panel works best with modern browsers including Chrome, Firefox, Safari, and Edge. JavaScript must be enabled for full functionality.'
|
||||
)
|
||||
),
|
||||
|
||||
'Dashboard' => array(
|
||||
array(
|
||||
'title' => 'What information is shown on the Dashboard?',
|
||||
'content' => 'The Dashboard provides:<br>
|
||||
• <strong>Server Status</strong> - Quick view of which servers are online/offline<br>
|
||||
• <strong>System Resources</strong> - CPU, memory, and disk usage<br>
|
||||
• <strong>Recent Activity</strong> - Latest server actions and events<br>
|
||||
• <strong>Quick Actions</strong> - Fast access to common server management tasks'
|
||||
),
|
||||
array(
|
||||
'title' => 'How do I refresh the dashboard data?',
|
||||
'content' => 'Dashboard widgets automatically refresh every few minutes. You can also manually refresh by clicking the refresh button on individual widgets or refreshing your browser page.'
|
||||
)
|
||||
),
|
||||
|
||||
'Server Management' => array(
|
||||
array(
|
||||
'title' => 'How do I start my game server?',
|
||||
'content' => 'Navigate to <strong>Game Manager</strong> → <strong>Server Monitor</strong>, then click the <strong>Start</strong> button. Wait for the status to change to "Online" before attempting to connect.'
|
||||
),
|
||||
array(
|
||||
'title' => 'How do I stop my game server?',
|
||||
'content' => 'In the Server Monitor, click the <strong>Stop</strong> button. The server will shut down gracefully, saving any necessary data before stopping.'
|
||||
),
|
||||
array(
|
||||
'title' => 'How do I restart my game server?',
|
||||
'content' => 'Use the <strong>Restart</strong> button in Server Monitor for a clean restart, or use <strong>Stop</strong> followed by <strong>Start</strong> if you need more control over the process.'
|
||||
),
|
||||
array(
|
||||
'title' => 'What if my server won\'t start?',
|
||||
'content' => 'Check the server logs for error messages by clicking <strong>View Log</strong>. Common issues include:<br>
|
||||
• Misconfigured settings<br>
|
||||
• Missing or corrupted files<br>
|
||||
• Port conflicts<br>
|
||||
• Insufficient system resources<br>
|
||||
If the problem persists, check the troubleshooting section or contact support.'
|
||||
),
|
||||
array(
|
||||
'title' => 'How do I update my game server?',
|
||||
'content' => 'Use the <strong>Install/Update</strong> button in Server Monitor. For Steam games, this will validate and download any updates automatically. Make sure to stop the server before updating.'
|
||||
)
|
||||
),
|
||||
|
||||
'File Management' => array(
|
||||
array(
|
||||
'title' => 'How do I access server files?',
|
||||
'content' => 'Use the <strong>File Manager</strong> (LiteFM) to browse, edit, upload, and download server files through your web browser. You can also use the <strong>FTP</strong> module for bulk file transfers.'
|
||||
),
|
||||
array(
|
||||
'title' => 'How do I edit configuration files?',
|
||||
'content' => 'Navigate to <strong>Edit Config Files</strong> for game-specific configuration editing, or use the File Manager to edit any text file directly in your browser.'
|
||||
),
|
||||
array(
|
||||
'title' => 'Can I upload files to my server?',
|
||||
'content' => 'Yes! You can upload files using:<br>
|
||||
• <strong>File Manager</strong> - For individual files through web interface<br>
|
||||
• <strong>FTP</strong> - For bulk uploads using an FTP client<br>
|
||||
• <strong>Fast Download</strong> - For maps and custom content'
|
||||
),
|
||||
array(
|
||||
'title' => 'Why can\'t I delete some files?',
|
||||
'content' => 'Some files are protected to prevent accidental server breakage:<br>
|
||||
• Server executables<br>
|
||||
• Startup scripts<br>
|
||||
• Critical system files<br>
|
||||
If you need to modify these files, contact your administrator.'
|
||||
),
|
||||
array(
|
||||
'title' => 'How do I backup my server files?',
|
||||
'content' => 'Use the <strong>Backup & Restore</strong> module to create automated or manual backups of your server data. You can also download individual files through the File Manager.'
|
||||
)
|
||||
),
|
||||
|
||||
'User Management' => array(
|
||||
array(
|
||||
'title' => 'What are subusers and how do I add them?',
|
||||
'content' => 'Subusers are additional users who can access specific servers with limited permissions. To add subusers:<br>
|
||||
1. Go to <strong>Subusers</strong><br>
|
||||
2. Click <strong>Add Subuser</strong><br>
|
||||
3. Set their username, password, and permissions<br>
|
||||
4. Assign them to specific servers<br>
|
||||
Subusers can only access servers you explicitly assign to them.'
|
||||
),
|
||||
array(
|
||||
'title' => 'What are user groups?',
|
||||
'content' => 'User groups allow you to manage permissions for multiple users at once. Instead of setting permissions for each user individually, you can create groups with specific access levels and add users to those groups.'
|
||||
),
|
||||
array(
|
||||
'title' => 'How do I change my password?',
|
||||
'content' => 'Go to <strong>Settings</strong> → <strong>User Settings</strong> to change your password, email, and other account preferences.'
|
||||
),
|
||||
array(
|
||||
'title' => 'What permissions can I assign to subusers?',
|
||||
'content' => 'You can control subuser access to:<br>
|
||||
• Server start/stop/restart<br>
|
||||
• File management<br>
|
||||
• Configuration editing<br>
|
||||
• Log viewing<br>
|
||||
• RCON console access<br>
|
||||
• Backup creation'
|
||||
)
|
||||
),
|
||||
|
||||
'Administration' => array(
|
||||
array(
|
||||
'title' => 'How do I access admin functions?',
|
||||
'content' => 'Admin functions are available in the <strong>Administration</strong> menu for users with admin privileges. This includes server management, user administration, and system settings.'
|
||||
),
|
||||
array(
|
||||
'title' => 'How do I install new game modules?',
|
||||
'content' => 'Use the <strong>Module Manager</strong> to install, update, or remove panel modules. Only administrators can manage modules.'
|
||||
),
|
||||
array(
|
||||
'title' => 'How do I configure system settings?',
|
||||
'content' => 'Access <strong>Settings</strong> from the administration menu to configure global panel settings, security options, and system preferences.'
|
||||
),
|
||||
array(
|
||||
'title' => 'How do I add new game servers?',
|
||||
'content' => 'Administrators can add new servers through <strong>Administration</strong> → <strong>Add Server</strong>. This includes configuring the game type, ports, and initial settings.'
|
||||
)
|
||||
),
|
||||
|
||||
'Monitoring & Status' => array(
|
||||
array(
|
||||
'title' => 'How do I check server status?',
|
||||
'content' => 'The <strong>Status</strong> module provides real-time information about server status, player counts, and system resources. You can also view individual server status in the Server Monitor.'
|
||||
),
|
||||
array(
|
||||
'title' => 'What is LGSL and how does it work?',
|
||||
'content' => 'LGSL (Live Game Server List) queries game servers to display real-time status including player count, map, and server information. It supports most major game server types.'
|
||||
),
|
||||
array(
|
||||
'title' => 'How do I view server logs?',
|
||||
'content' => 'Access server logs through <strong>Game Manager</strong> → <strong>View Log</strong> to see server output, error messages, and player activity. Logs help diagnose server issues.'
|
||||
),
|
||||
array(
|
||||
'title' => 'What monitoring tools are available?',
|
||||
'content' => 'The panel includes:<br>
|
||||
• Real-time server status monitoring<br>
|
||||
• Resource usage tracking<br>
|
||||
• Player activity logs<br>
|
||||
• System performance metrics<br>
|
||||
• Alert notifications for critical issues'
|
||||
)
|
||||
),
|
||||
|
||||
'Communication & Support' => array(
|
||||
array(
|
||||
'title' => 'How do I get support?',
|
||||
'content' => 'Support is available through:<br>
|
||||
• <strong>Tickets</strong> - Create support tickets for technical issues<br>
|
||||
• <strong>Support</strong> module - Access knowledge base and documentation<br>
|
||||
• Community forums and Discord channels<br>
|
||||
• This FAQ section for common questions'
|
||||
),
|
||||
array(
|
||||
'title' => 'How do I create a support ticket?',
|
||||
'content' => 'Go to <strong>Tickets</strong> → <strong>New Ticket</strong>, describe your issue in detail, and include relevant server information. Support staff will respond as soon as possible.'
|
||||
),
|
||||
array(
|
||||
'title' => 'What is TeamSpeak integration?',
|
||||
'content' => 'The <strong>TeamSpeak3</strong> module allows you to manage TeamSpeak servers alongside your game servers, including user permissions, channel management, and server settings.'
|
||||
)
|
||||
),
|
||||
|
||||
'Game-Specific Features' => array(
|
||||
array(
|
||||
'title' => 'How do I use Steam Workshop integration?',
|
||||
'content' => 'The <strong>Steam Workshop</strong> module allows you to easily install and manage Steam Workshop items for supported games. Simply browse or search for content and click install.'
|
||||
),
|
||||
array(
|
||||
'title' => 'What is the Mods system?',
|
||||
'content' => 'The <strong>Mods</strong> module helps you install and manage game modifications. Different games support different mod systems, and the panel provides tools for the most common mod frameworks.'
|
||||
),
|
||||
array(
|
||||
'title' => 'How do I use RCON?',
|
||||
'content' => 'The <strong>RCON</strong> module provides remote console access to your game servers. You can execute server commands, kick/ban players, change maps, and perform administrative tasks without joining the game.'
|
||||
),
|
||||
array(
|
||||
'title' => 'What is TShock integration?',
|
||||
'content' => 'The <strong>TShock</strong> module provides enhanced Terraria server management with features like player permissions, world protection, and advanced administrative commands.'
|
||||
)
|
||||
),
|
||||
|
||||
'Troubleshooting' => array(
|
||||
array(
|
||||
'title' => 'My server won\'t start - "Failed to start remote server" error',
|
||||
'content' => 'This error usually means:<br>
|
||||
• The server crashed during startup<br>
|
||||
• Configuration files have syntax errors<br>
|
||||
• Required files are missing or corrupted<br>
|
||||
• Port conflicts with other services<br>
|
||||
<strong>Solution:</strong> Check the server logs for specific error messages, verify your configuration files, and ensure all required game files are present.'
|
||||
),
|
||||
array(
|
||||
'title' => 'Players can\'t connect to my server',
|
||||
'content' => 'Common connection issues:<br>
|
||||
• Server not actually running (check status)<br>
|
||||
• Firewall blocking the port<br>
|
||||
• Incorrect IP address or port<br>
|
||||
• Game version mismatch<br>
|
||||
<strong>Solution:</strong> Verify the server is online, check firewall settings, and confirm players are using the correct connection information.'
|
||||
),
|
||||
array(
|
||||
'title' => 'File upload fails or times out',
|
||||
'content' => 'Large file upload issues can be caused by:<br>
|
||||
• File size limits in PHP configuration<br>
|
||||
• Network timeouts<br>
|
||||
• Browser limitations<br>
|
||||
<strong>Solution:</strong> Use FTP for large files, check file size limits, or break large uploads into smaller chunks.'
|
||||
),
|
||||
array(
|
||||
'title' => 'I forgot my password',
|
||||
'content' => 'Use the <strong>Lost Password</strong> link on the login page to reset your password. You\'ll need access to the email address associated with your account.'
|
||||
),
|
||||
array(
|
||||
'title' => 'The panel is slow or unresponsive',
|
||||
'content' => 'Performance issues may be due to:<br>
|
||||
• High server load<br>
|
||||
• Network connectivity problems<br>
|
||||
• Browser cache issues<br>
|
||||
<strong>Solution:</strong> Try refreshing the page, clearing browser cache, or waiting for server load to decrease. Contact support if problems persist.'
|
||||
)
|
||||
),
|
||||
|
||||
'Game-Specific Information' => array(
|
||||
array(
|
||||
'title' => 'Ark - Query and RCON Ports',
|
||||
'content' => 'For ARK: Survival Evolved servers:<br>
|
||||
• <strong>Query Port:</strong> Server Port + 2<br>
|
||||
• <strong>RCON Port:</strong> Usually Server Port + 1<br>
|
||||
Example: If server port is 7777, query port is 7779'
|
||||
),
|
||||
array(
|
||||
'title' => 'Arma - Query Port',
|
||||
'content' => 'For ARMA servers:<br>
|
||||
• <strong>Query Port:</strong> Server Port + 1<br>
|
||||
Example: If server port is 2302, query port is 2303'
|
||||
),
|
||||
array(
|
||||
'title' => 'Conan Exiles - Ports Configuration',
|
||||
'content' => 'For Conan Exiles servers:<br>
|
||||
• <strong>Query Port:</strong> Server Port + 2<br>
|
||||
• <strong>RCON Port:</strong> Server Port + 3<br>
|
||||
Example: If server port is 7777, query port is 7779, RCON port is 7780'
|
||||
),
|
||||
array(
|
||||
'title' => 'DayZ - Query Ports',
|
||||
'content' => 'DayZ port configuration depends on the version:<br>
|
||||
• <strong>DayZ Mod:</strong> Query Port = Server Port + 1<br>
|
||||
• <strong>DayZ Standalone:</strong> Query Port = Server Port + 3<br>
|
||||
Check which version you\'re running to use the correct ports.'
|
||||
),
|
||||
array(
|
||||
'title' => 'Killing Floor - Query Port',
|
||||
'content' => 'For Killing Floor servers:<br>
|
||||
• <strong>Query Port:</strong> Server Port + 1<br>
|
||||
Example: If server port is 7707, query port is 7708'
|
||||
)
|
||||
),
|
||||
|
||||
'Database & Backups' => array(
|
||||
array(
|
||||
'title' => 'How do I backup my game server database?',
|
||||
'content' => 'To backup your game server database:<br>
|
||||
1. Go to <strong>Game Manager</strong> → <strong>MySQL</strong><br>
|
||||
2. Click on <strong>phpMyAdmin</strong> to access the database<br>
|
||||
3. Select your database and click <strong>Export</strong><br>
|
||||
4. Save the file to your local computer<br>
|
||||
<strong>Tip:</strong> Regular backups prevent data loss from server issues.'
|
||||
),
|
||||
array(
|
||||
'title' => 'How do I restore a database backup?',
|
||||
'content' => 'To restore a database backup:<br>
|
||||
1. Access phpMyAdmin through the MySQL module<br>
|
||||
2. Select your database<br>
|
||||
3. <strong>Important:</strong> Delete all existing tables first<br>
|
||||
4. Click <strong>Import</strong> and select your backup file<br>
|
||||
5. Click <strong>Go</strong> to restore the data'
|
||||
),
|
||||
array(
|
||||
'title' => 'How do I validate Steam files?',
|
||||
'content' => 'To validate/verify Steam game files:<br>
|
||||
1. Stop your server<br>
|
||||
2. Go to <strong>Server Monitor</strong><br>
|
||||
3. Click <strong>Install/Update</strong><br>
|
||||
This will check and download any missing or corrupted files.<br>
|
||||
<strong>For complete reinstall:</strong> Delete all files in File Manager, then run Install/Update.'
|
||||
)
|
||||
),
|
||||
|
||||
'FTP & File Transfer' => array(
|
||||
array(
|
||||
'title' => 'I get TLS/SSL errors when connecting to FTP',
|
||||
'content' => 'If your FTP client shows TLS or secure connection errors:<br>
|
||||
• Try disabling TLS/SSL encryption in your FTP client<br>
|
||||
• Use "Plain FTP" or "No encryption" settings<br>
|
||||
• Our FTP servers typically don\'t require TLS encryption<br>
|
||||
<strong>FTP Clients:</strong> FileZilla, WinSCP, or the built-in File Manager work well.'
|
||||
),
|
||||
array(
|
||||
'title' => 'What are the FTP connection details?',
|
||||
'content' => 'FTP connection information is available in the <strong>FTP</strong> module:<br>
|
||||
• <strong>Server:</strong> Your panel\'s IP address<br>
|
||||
• <strong>Username:</strong> Your panel username<br>
|
||||
• <strong>Password:</strong> Your panel password<br>
|
||||
• <strong>Port:</strong> Usually 21 (standard FTP)<br>
|
||||
• <strong>Encryption:</strong> None/Plain FTP'
|
||||
)
|
||||
)
|
||||
);
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue