Jump to content

Simple Site 2.0

$12.99 $8.99
   (0 reviews)
Message added by Drxp,

If you have any questions or encounter any issues, I’m here to help. You can reach out to me directly, and I’ll be happy to assist you.

For quick support, feel free to join my Discord server or send me a direct message.
I typically respond within 1-4 hours on Discord. For inquiries on codefling, please allow up to 24 hours for a response.


Discord - Plugin Support - Direct message

4 Screenshots

  • 3k
  • 19
  • 40.08 kB
  • Update details
    v2.0
    Released
    Download size 40.08 kB
    Total versions 3
    Typical update pace About every 215 days
    Freshness Updated today

Works with

Optional integrations and compatible files.

About Simple Site

Simple Site 2.0

A dark, responsive website for your Rust community. One config file controls the name, homepage, FAQ, rules, and server list. Live player counts, maps, and wipe times come from BattleMetrics. Your Discord member count updates on the site.

What you get

  • Homepage with a hero, stat cards, about section, FAQ, and a join band
  • Servers page with player counts, online or offline status, map, next wipe, and a Steam connect button
  • Rules page built from sections you edit in the config
  • Optional leaderboard for player and team stats
  • Live Discord member count, plus social icons for the links you fill in
  • Clean addresses such as /servers and /rules
  • Colors changed from CSS variables
  • An addon system for other developers to build their own pages and systems without editing the core site

Empty social links stay hidden.

Pages

Page What it shows
Home Hero, live player total, your own stats, about cards, FAQ
Servers Every BattleMetrics server you add
Rules Your rule sections and punishments
Leaderboard Players and teams, when the database is connected

Live server data

BattleMetrics now requires an API token on every request. Add the token once, then list each server ID.

  • Real-time player counts
  • Online and offline status
  • Current map
  • Next wipe time
  • Connect button that opens Steam

Tip

Create a token at BattleMetrics Developers. The server ID is the number at the end of the server URL, for example battlemetrics.com/servers/rust/12345678.

Warning

Keep your BattleMetrics token in min.config.php on the server. Do not post it in Discord, reviews, or a public config paste.

Leaderboard

Note

The leaderboard reads leaderboard_players and leaderboard_teams. It is built for Premium Leaderboard. Point the site and the plugin at the same MySQL database. Leaderboard help for that plugin goes through Tryhard.

The rest of the site does not need a database. Leave the database values as placeholders and the other pages still run.

Addons

Other developers can add their own pages and systems on top of Simple Site. A new folder in addons/ is picked up automatically. The site wraps it with the header, menu, and footer. Core pages stay untouched.

  1. Copy addons/_example and rename the folder with lowercase letters, numbers, and hyphens.
  2. The folder name is the address. A folder named store is served at /store.
  3. addon.php sets the name, description, and menu label. page.php is only the page body.
  4. Set nav to show a menu link. Leave nav empty to keep the page off the menu.

Folders that start with _ or . stay hidden, so the example is not published.

Setup

  1. Upload the files to any host with PHP and Apache mod_rewrite.
  2. Open min.config.php.
  3. Set the site name, description, Discord invite, and social links.
  4. Paste your BattleMetrics token and server IDs.
  5. Edit the hero, stats, about cards, FAQ, and rules in $ContentSections.
  6. For the leaderboard only, set $Database to the same database as Premium Leaderboard.
  7. Change colors in the :root block at the top of assets/css/style.css.
$BattlemetricsToken = 'your-token-here';

Requirements

Need Detail
PHP 8.3.36 or newer. PHP 8.2.35, 8.4.27, and 8.5.12 or newer are also fine
Web server Apache with mod_rewrite for clean URLs
Database MySQL only if you use the leaderboard
BattleMetrics A personal API token and your server IDs

Shared hosting is enough. No extra framework to install.


User Feedback

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
3.3m
Total downloads
Customers
12.4k
Customers served
Files Sold
175.6k
Total sales
Payments
3.8m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.