Skip to content
This repository has been archived by the owner. It is now read-only.
Go to file
Cannot retrieve contributors at this time
17 lines (17 sloc) 914 Bytes
<title>Rust-Servers.Info JavaScript API Example</title>
<script src=""></script><!-- Use your server ID! -->
<script>document.write("<img class='image' src=" + image + "/>");</script>
<li>Hostname: <script>document.write(hostname);</script></li>
<li>Players: <script>document.write(players_cur);</script> / <script>document.write(players_max);</script></li>
<li>Map: <script>document.write(map);</script> <small>(Size: <script>document.write(map_size);</script> / Seed: <script>document.write(map_seed);</script>)</small></li>
<li>Rating: <script>document.write(rating);</script></li>
<li>Server Location: <script>document.write(country_full);</script></li>
<p>For full list of JavaScript Variables visit Rust-Servers.Info API page - <a href=""></a></p>
You can’t perform that action at this time.