Перейти к содержимому
Mineforgian

Server-Plugin

A versatile Minecraft plugin for map generation, zombie invasions, server monitoring and flexible configuration. Ideal for any server!

Загрузки
107
Подписчики
0
Обновлён
1 января 2025 г.
Лицензия
Apache-2.0

Опубликован 1 января 2025 г.

Server Plugin: Ultimate Minecraft Map Generator & Zombie Invasion

Version: 0.8-SNAPSHOT Minecraft version: 1.21+ Author: Kajakfrosch

**Are you ready to take your Minecraft server to the next level?

With this versatile plugin you don't just get a tool, but a complete package that opens up new possibilities!

Features that will inspire you:

1. automatic map generation

  • Create an overview map of your entire world as map.png.
  • Optionally generate a website with statistics and the map as index.html - perfect for sharing your map with friends.
  • Supports active rendering on events: player join, server status or manually via commands!

2. start epic zombie invasions

  • Want to fight hordes of zombies with your friends? No problem! Start your own Zombie Invasion on your server and customise the distance and difficulty (1-20) to your liking.

  • Rewards for victory! You get rare items such as diamonds, gold and more (all configurable).

  • But beware: Failure costs you experience and prestige! 3rd performance monitor for your world

  • Monitor your server in real time:

    • TPS (Ticks per Second): Is your server running at optimal speed?
    • Memory utilisation: Is there enough RAM available?
    • Chunk situation:** Is your server loading too many chunks?
  • The /serverstatus command gives you all the information at a glance!

4. simple HTML integration for the server map

  • Automatically generated web pages make it easier to view your world map - ideal for private friends or public servers.
  • Optional Apache support** to host the map publicly.

5. customisable server status

  • Greet players with a personalised MOTD (message of the day)!
  • Display important information such as the server node, instance data or a link to the live map.
  • Designed for RPG and Survival fans who want their servers to be dynamic and informative.

**Why this plugin?

  • For server admins: Stay in control - from performance checks to world documentation.
  • For Minecraft players: Dive into new adventures - from customised maps to thrilling zombie invasions.
  • For creators & streamers:** Easily share the beauty of your map or exciting game modes via the generated HTML data or interactive experiences like the invasion feature.

Available commands

Command Description
/dynmap Generates a map of the world.
/invasion start X Y Starts a zombie invasion (X: distance, Y: difficulty).
/invasion stop Stops all active invasions.
/server status Shows the current status of the server.

**It's that simple!

  1. Install the plugin: Load the .jar into your plugins folder and restart the server. 2 Execute the command /dynmap: Admire the map of your world in the plugins/server/work/ folder. 3 Explore new challenges: Start a zombie invasion with /invasion or check your server status with /serverstatus.

Deutsche Beschreibung

Server Plugin: Ultimativer Minecraft Karten-Generator & Zombie-Invasion

Version: 0.8-SNAPSHOT Minecraft-Version: 1.21+ Autor: Kajakfrosch

Bist du bereit, deinen Minecraft-Server auf die nächste Stufe zu bringen?

Mit diesem vielseitigen Plugin bekommst du nicht einfach nur ein Tool, sondern ein Komplettpaket, das dir neue Möglichkeiten eröffnet!

Features, die dich begeistern werden:

1. Automatische Karten-Generierung

  • Erstelle eine Übersichtskarte deiner gesamten Welt als map.png.
  • Optional wird eine Website mit Statistiken und der Karte als index.html generiert – perfekt, um deine Karte mit Freunden zu teilen.
  • Unterstützt das aktive Rendern bei Events: Spielerbeitritt, Serverstatus oder manuell über Befehle!

2. Epische Zombie-Invasionen starten

  • Möchtest du mit deinen Freunden gegen Horden von Zombies kämpfen? Kein Problem! Starte eine eigene Zombie-Invasion auf deinem Server und passe Abstände sowie den Schwierigkeitsgrad (1-20) nach deinen Vorstellungen an.
  • Belohnungen für den Sieg! Du bekommst seltene Items wie Diamanten, Gold und mehr (alles konfigurierbar).
  • Aber Achtung: Scheitern kostet dich Erfahrung und Prestige!

3. Performance-Monitor für deine Welt

  • Überwache deinen Server in Echtzeit:

    • TPS (Ticks per Second): Hält dein Server die optimale Geschwindigkeit?
    • Speicher-Auslastung: Genügend RAM verfügbar?
    • Chunk-Situation: Lädt dein Server zu viele Chunks?
  • Mit dem /serverstatus-Befehl erhältst du alle Infos auf einen Blick!

4. Einfache HTML-Integration für die Serverkarte

  • Automatisch generierte Webseiten erleichtern die Ansicht deiner Welt-Karte – ideal für private Freunde oder Public-Server.
  • Optionale Apache-Unterstützung, um die Karte öffentlich zu hosten.

5. Individualisierbarer Server-Status

  • Begrüße Spieler mit einer personalisierten MOTD (Nachricht des Tages)!
  • Zeige wichtige Informationen an, z. B. den Serverknoten, Instanzdaten oder einen Link zur Live-Karte.
  • Entwickelt für RPG- und Survival-Fans, die ihre Server dynamisch und informativ gestalten möchten.

Warum dieses Plugin?

  • Für Server-Admins: Behalte die Kontrolle – von Performance-Checks bis hin zur Welt-Dokumentation.
  • Für Minecraft-Spieler: Tauche ein in neue Abenteuer – von benutzerdefinierten Karten bis zu packenden Zombie-Invasionen.
  • Für Kreative & Streamer: Teile die Schönheit deiner Karte oder spannende Spielmodi einfach über die generierten HTML-Daten oder interaktive Erlebnisse wie die Invasions-Feature.

Verfügbare Befehle

Befehl Beschreibung
/dynmap Generiert eine Karte der Welt.
/invasion start X Y Startet eine Zombie-Invasion (X: Abstand, Y: Schwierigkeit).
/invasion stop Stoppt alle aktiven Invasionen.
/serverstatus Zeigt den aktuellen Zustand des Servers an.

So einfach funktioniert’s!

  1. Installiere das Plugin: Lade die .jar in deinen plugins-Ordner und starte den Server neu.
  2. Führe den Befehl /dynmap aus: Bewundere die Karte deiner Welt im Ordner plugins/server/work/.
  3. Erkunde neue Herausforderungen: Starte eine Zombie-Invasion mit /invasion oder überprüfe deinen Serverstatus mit /serverstatus.

Ченджлог

0.8-SnapshotРелиз1.21.2, 1.21.3, 1.21.4 · 1 января 2025 г.

Release Notes: Minecraft Server Map Generator Plugin

Version: 0.8-SNAPSHOT

Author: Kajakfrosch

API-Version: 1.21

Features

  1. Map generator for Minecraft worlds

    • Automatic creation of a map.png that represents the current world.
    • HTML generation for easy viewing in the browser (index.html).
    • Supports dynamic rendering of the map for events such as player entry or world saving.
  2. Zombie Invasion

    • Players can launch zombie invasions with customisable difficulty levels and intervals.
    • Rewards for successful defence, including configurable items and probabilities.
    • Possibility to end active invasions.
  3. server performance monitor

    • Monitoring of TPS (ticks per second), memory utilisation and loaded chunks.
    • Notifications in case of server overload.

4 Dynamic HTML generation - Player statistics and world map directly accessible via a website (index.html). - Automatic generation of map tiles for zoom view.

5 Extended logging options - Debugger for detailed logging and error diagnosis. - Configurable log levels (INFO, WARN, DEBUG, ERROR).

Installation

1. Prerequisites

  • Server version: Minecraft Server 1.21+ (Spigot / Paper recommended).
  • Java version**: 17 or higher.
  • Plugin API version: 1.21 compatible.
  • Access to the server plugin folder and Apache configuration (if HTML files are to be hosted publicly).

2. Installation of the plugin

1 Upload plugin: - Upload the published JAR file (server.jar) to the plugins folder of your server.

2 Generate configuration files: - Start the server to have the default configuration files (config.yml, blocks.txt) generated.

  1. customise configuration**:

    • Adjust the values in the config.yml:
      • Set MOTD (server message of the day).
      • Activate/deactivate debug logging.
      • Adjust threshold values for performance monitoring.
  2. Restart server:

    • Restart the server so that all changes are applied.

Map generation

The maps are automatically saved in the plugins/server/work/ folder:

  • map.png - Complete map of the current Minecraft world.
  • index.html - Web page for accessing the map and statistics.

Manual creation

  • Use the /dynmap command to create the map by command:
  /dynmap

Files

  1. Map:

    • Location: plugins/server/work/map.png.
  2. HTML file:

    • Location: plugins/server/work/index.html.

Map tiles (optional)

The map can be divided into smaller tiles (Tiles) for zoom view (using the TileGenerator class).

  • Location of the tile files: plugins/server/work/tiles/.

Commands

Command Description Permission
/dynmap Creates a map of the current world. server.dynmap
/invasion Starts or stops a zombie invasion. server.*
/serverstatus Displays the current status of the server. server.status
Example for invasion:
  • Starting an invasion (distance: 10 blocks, difficulty: 5):
  /invasion start 10 5
  • Stop an active invasion:
  /invasion stop
```
### **HTML hosting**
#### **Apache server configuration**
The generated files (`map.png`, `index.html`) can be made publicly available. To do this, an Apache web server must be configured accordingly:
1. **Copy files to the public folder** (e.g. `/var/www/html/map/`):
``` bash
   cp -r plugins/server/work/* /var/www/html/map/
```
1. **Configure Apache**:
    - Edit the configuration file for the web server:
``` bash
     sudo nano /etc/apache2/sites-available/000-default.conf
```
- Complete the configuration:
``` apache
     <Directory /var/www/html/map>
         Options Indexes FollowSymLinks MultiViews
         AllowOverride All
         Require all granted
     </directory>
```
1 **Restart Apache**:
    - Apply the changes:
``` bash
     sudo systemctl restart apache2
```
1. **Test access**:
    - Open the generated map via `http://<server-ip>/map/`.

#### **Note**:
The map HTML (`index.html`) contains dynamically generated text (player statistics, online counter). Update the file manually using the `dynmap` command to load new data.

Комментарии

Загружаем…