This is the template website for CrashNetwork, made for a client of mine!
It provides players with information about the server, live player counts, gamemodes, store links, and contact details.
- 🎨 Modern UI with a glassy navigation bar and smooth animations
- 🎮 Live player count using the mcsrvstat.us API
- 📋 Click-to-copy IP functionality for easy server joining
- 📜 Welcome section with styled server description
- 🕹️ Game Modes showcase with hover effects
- 🛒 Store section with product previews
- 📞 Contact section with email support
- HTML5 – Page structure
- CSS3 – Styling, animations, responsiveness
- JavaScript (Vanilla) – Player count API, smooth scrolling, copy-to-clipboard
- Not fully developed!
- Store not developed.
- Might break for smaller screens!
- Clone this repository:
git clone https://github.com/CodeWithCODFY/CrashNetwork.git
- Extact the file.
- Open the project folder:
cd crashnetwork-main - Change [your_erver_ip], [your_server_name] etc. to your name, server ip etc.
- Open index.html in your browser (or use a live server extension in VS Code).
This project uses CSS variables so you can quickly change the entire color theme.
Default is Red. See in style.css:
:root {
--color-bg: #020301;
--color-text: #ffffff;
--color-primary: #ff1616;
--color-primary-dark: #ae2727;
--color-accent: #5865F2;
...
}Change these variables to instantly update the site’s look.
The server IP is fetched via:
const serverIP = "[your_ip]"; // Replace with your IP-
Displays current online players
-
Shows Server Offline or Error Loading when unreachable
-
Updates on page load
├── img/ # Images and assets
│ ├── Hardcore_Heart_Full.png
│ ├── Diamond_Sword.png
│ ├── Red_Bed.png
│ ├── crate.jpg
│ ├── keys.jpg
│ └── logo.png
├── index.html # Main website file
├── style.css # Styles
├── README.md # Project documentation
Discord: Join My Discord Server!
Email: therealcodfy@gmail.com
The server does not belong to me and don't own. It belongs to its respective owners. I am just creating a template for the website to get feedback and to contribute.
This project is still in development. Expect new features, bug fixes, and refinements. Contributions, suggestions, and ideas are always welcome!