├── README.md ├── config.php ├── index.php └── styles.css /README.md: -------------------------------------------------------------------------------- 1 | # GameServerTemplate 2 | Web PHP+CSS+HTML+JS Website template with monitoring & server info 3 | 4 | ![image](https://user-images.githubusercontent.com/23291806/128423682-ab1c81f4-52a9-49e4-9c52-f4c075b8dd48.png) 5 | 6 | 7 | More info: [https://play-servers.com/pages/main/load/20-game-template](https://play-servers.com/pages/faq/game-server-html-template) 8 | 9 | Upload files to your website hosting directory, Add your server on https://play-servers.com to get ID. 10 | Open config.php and set server_id to your ID, change server Name & Description 11 | 12 | Supported Game Servers: 13 | - Rust 14 | - CS:GO (Counter Strike: Global Offensive / CS2) 15 | - SA-MP 16 | - FiveM 17 | - RedM 18 | - Minecraft 19 | - MC:PE (Minecraft: Pocket Edition) 20 | - Garry's Mod 21 | - Arma 3 22 | - DayZ 23 | - Team Fortress 2 (TF2) 24 | - CS 1.6 25 | - ARK Survival Ascended (SA) / ARK Survival Evolved (SE) 26 | - The Isle Evrima / The Isle Legacy 27 | -------------------------------------------------------------------------------- /config.php: -------------------------------------------------------------------------------- 1 | "Game Server Website", 5 | 6 | 'home_logo_name' => "Your Server Name", 7 | 8 | 'home_short_description' => "Welcome to our server!", 9 | 10 | 'home_description' => "Welcome to our gaming server website! You can connect to our server, or check server online & players, view online statistic", 11 | 12 | 'our_server_button' => "Connect to server", 13 | 14 | 'link1' => "https://play-servers.com/", 15 | 'link1_name' => "Link 1", 16 | 17 | 'link2' => "https://google.com", 18 | 'link2_name' => "Link 2", 19 | 20 | 'home_about_server_description' => " 21 | 22 |

This is full gaming server description! You can edit it in config.php file, and you can use HTML code here.

23 |
24 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. 25 |
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. 26 |

Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 27 | 28 | ", 29 | 30 | 31 | 32 | 33 | 'server_id' => "41", // Your Game Server ID on Play-Servers.com (Check it on User Panel > Your Servers), or get this id from your server link. Example https://play-servers.com/server-11111 (11111 - Server ID) 34 | 35 | // If you don't have Server ID: Add your server on Play-Servers.com/add-server 36 | 37 | // Supported Games list - Play-Servers.com/#supportedgames 38 | 39 | ); 40 | 41 | ?> 42 | -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | <?php echo $config['home_title']; ?> 19 | 20 | 21 | 22 |
23 | 24 | 40 |
41 |
42 |
43 |
44 |
45 |

46 |

47 |
48 | 49 |
50 |
51 |
52 |
<?php echo $server_info['gamename']; ?> server
53 |
54 |
55 |
56 |
57 |
58 |
59 | 60 |
61 | 62 |
63 | ... 64 |
65 |

Welcome to

66 |

67 |
68 | 69 |
70 | 71 |
87 |
88 | 89 | 90 |
91 |
92 |
Vote for us
93 |
94 |
' method='POST' target="_blank"> 95 |
96 | 97 | 98 |
99 |
100 |
101 |
102 |
103 |
Server Info
104 |
105 |
106 |
107 |
    108 |
  • Game Version
  • 109 |
  • Location
  • 110 |
  • Players
  • 111 |
  • Record
  • 112 |
  • Votes
  • 113 |
114 |
115 |
116 |
    117 |
  • 118 |
  • 119 |
  • 120 |
  • 121 |
  • 122 |
123 |
124 |
125 |
126 |
127 |
128 |
Server Stats
129 |
130 |
131 |
132 |
133 |
134 |
135 | 145 | 146 | 147 | 148 | 149 | --------------------------------------------------------------------------------