> ## Content Index
> Fetch the complete content index at: https://dampsnag.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# A Free Landing Page Template for Your Minecraft Server
- URL: https://dampsnag.com/blog/minecraft-server-landing-page-template/
- Published: 2026-10-22T03:06:52.000Z
- Updated: 2026-10-22T04:57:23.000Z
- Description: A free, MIT-licensed one-page site for Minecraft servers, with a click-to-copy IP button and link tiles. Plain HTML and CSS, set up from one config file.
- Author: DampSnag
- Tags: Minecraft, Server Admin, Game Servers

[BlockHaven MC Portal Page](https://github.com/DampSnag/blockhaven-mc-portal) is a free, MIT-licensed one-page website for Minecraft servers. It shows your server name and address, and links players to your Discord, store, vote page and rules. Setup is one config file, with no build step.

A full website builder is more than this job needs, so the template sticks to a single page. Grab the latest release or try the demo first:

[Download the template (zip)](https://github.com/DampSnag/blockhaven-mc-portal/releases/latest)[View the live demo](https://dampsnag.github.io/blockhaven-mc-portal/)

![The Minecraft server portal template on a desktop browser, showing the server name, copy IP button and four link tiles](https://dampsnag.com/content/images/2026/10/minecraft-server-portal-desktop.webp)

## What you get

The whole thing fits on one screen:

- **A full-screen hero image.** The template ships with a blocky night landscape as a placeholder. You're meant to swap in a screenshot of your own server. A dark overlay sits on top so the text stays readable, and you can adjust how dark it is.
- **A big pixel-font server name.** The end of the name can be shown in a second colour, so "Blockhaven" in the demo reads as "Block" in white and "haven" in green.
- **A large click-to-copy IP button.** Players click it, the address goes to their clipboard, and a "Copied!" message appears. Screen readers announce that message too.
- **Link tiles** for Discord, Store, Vote and Rules. You can add, remove or rename them, and any of them can also appear as a button in the top bar.
- **An optional live player count**, which is off by default. More on that below.

The look follows this blog: dark background, sharp edges and a pale green accent. All of that can be changed from the config file. On phones the tiles drop to two columns. Animations are switched off for visitors who've asked their system for reduced motion.

![The same template on a phone screen, with the link tiles in two columns](https://dampsnag.com/content/images/2026/10/minecraft-server-portal-mobile.webp)

## Who it's for

It's for server owners who want a clean front page without paying for a site builder or learning a framework. If you can edit a text file and upload a folder, you can set this up. It's also a reasonable starting point if you do know HTML and CSS and want something small to build on.

It's plain HTML and CSS with one small script. There are no frameworks, no trackers and nothing loaded from other sites. Even the pixel font (Pixelify Sans) is bundled in the download. That also means there's no PHP or database behind it, so there's nothing on the server side to [keep patched](https://dampsnag.com/blog/php2shell-php-update-self-hosters/).

## Setting it up

1. **Download the template.** Grab `blockhaven-mc-portal-v1.0.2.zip` from the [latest release](https://github.com/DampSnag/blockhaven-mc-portal/releases/latest) and unzip it.
2. **Edit `config.js`.** This is the only file most people need to touch. Set your server name, IP and links (details below).
3. **Add your own background.** Put a screenshot of your server in the `assets` folder, for example `assets/hero.jpg`, and point `HERO_IMAGE` at it.
4. **Swap the logo.** Replace `assets/logo.svg` with your own. It's also used as the browser tab icon. If you don't want a logo, set `LOGO` to `""`.
5. **Preview it.** Open `index.html` in a browser, or run `python3 -m http.server` in the folder and visit `http://localhost:8000`.
6. **Upload it.** Any static host will do (see below).

### The main config.js options

| Option                        | What it does                                                                                                                       |
| ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| NAME                          | Server name, used in the title, top bar, footer and browser tab                                                                    |
| NAME\_ACCENT                  | The end of the name to show in the accent colour, e.g. "haven". Use "" for one colour                                              |
| TAGLINE                       | The line under the name                                                                                                            |
| IP and PORT                   | The address players connect to. Leave PORT empty (or 25565) to hide it                                                             |
| VERSION                       | A small note under the IP, e.g. "Java 1.21+"                                                                                       |
| HERO\_IMAGE and HERO\_OVERLAY | Background image, and how dark the overlay is, from 0 to 1                                                                         |
| COLORS                        | Accent colour, text colour on the accent, and page background                                                                      |
| LINKS                         | The tiles. Each one has a label, a short line of text, a URL, an icon, a colour and an optional nav: true to add it to the top bar |
| STATUS                        | true turns on the live player count                                                                                                |

Each tile can use one of five built-in pixel icons (`chat`, `cart`, `star`, `book` or `sword`) or your own image. A tile with an empty URL is hidden, so you can leave out the store or vote page if you don't have one. The README suggests two to six tiles.

### Where to host it

- **GitHub Pages:** push the folder to a repository, then go to Settings → Pages and deploy from your branch's root folder. This is how the demo is hosted.
- **Netlify, Cloudflare Pages or Vercel:** drag and drop the folder, or connect the repository. There's no build command.
- **Ordinary web hosting:** upload the files with FTP or your host's file manager.

The copy button works best over HTTPS, which all of these provide. On a plain HTTP page it falls back to an older copy method. If that fails, it shows the IP so players can copy it by hand.

## A note on the live player count

If you set `STATUS: true`, the page shows a small "players online" pill above the server name. To get the number, each visitor's browser asks the free public [mcsrvstat.us](https://mcsrvstat.us/) API about your server. It's off by default for two reasons. It's a third-party service that sees your visitors' IP addresses. It also caches results for a few minutes, so the count isn't exactly live. If the API can't be reached, the pill just stays hidden. It's set up for Java servers. For a Bedrock server, the README explains the one-line change to make in `main.js`.

## Licence and credit

The code is under the MIT licence, so you can use it for any server, change it however you like and host it anywhere. The bundled Pixelify Sans font is under the SIL Open Font License, and its licence file is included. The footer has a small "Template by DampSnag" credit. Keeping it is appreciated but not required.

If the template saves you some time, there's a [tip link](https://dampsnag.com/coffee) in the footer and the README. That's entirely optional.

Bug reports and suggestions are welcome on the [GitHub repository](https://github.com/DampSnag/blockhaven-mc-portal).

*This template isn't an official Minecraft product and isn't approved by or associated with Mojang or Microsoft. Minecraft is a trademark of Mojang Synergies AB.*

*DampSnag*