From 1f0bfef444dce8be1baeb0cebc3454460cd7af37 Mon Sep 17 00:00:00 2001 From: M_Viper Date: Thu, 22 Jan 2026 14:39:59 +0000 Subject: [PATCH] =?UTF-8?q?PlaceholderAPI=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PlaceholderAPI.md | 179 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 179 insertions(+) create mode 100644 PlaceholderAPI.md diff --git a/PlaceholderAPI.md b/PlaceholderAPI.md new file mode 100644 index 0000000..cc2f844 --- /dev/null +++ b/PlaceholderAPI.md @@ -0,0 +1,179 @@ +# PlaceholderAPI + +NexusLobby bietet eigene Platzhalter und unterstutzt alle PlaceholderAPI-Erweiterungen. + +## NexusLobby Platzhalter + +| Platzhalter | Beschreibung | Beispiel | +|-------------|-------------|----------| +| `%nexuslobby_maintenance_status%` | Wartungsmodus-Status | `§aDeaktiviert` / `§cAktiv` | +| `%nexuslobby_version%` | Plugin-Version | `1.0.0` | +| `%nexuslobby_build_mode%` | Baumodus-Status | `§aAktiv` / `§cInaktiv` | + +--- + +## Verwendung in Konfigurationen + +### Scoreboard (visuals.yml) + +```yaml +scoreboard: + default: + lines: + - " &8>> &fSpieler: &e%player_name%" + - " &8>> &fRang: &7%luckperms_prefix%" + - " &8>> &fGeld: &e%vault_eco_balance_formatted%" + - " &8>> &fOnline: &a%server_online%" +``` + +### BossBar (visuals.yml) + +```yaml +bossbar: + messages: + - "&e{online} &fSpieler online" + - "&fWillkommen &e%player_name%&f!" +``` + +--- + +## Empfohlene Expansions + +### Installation + +```bash +/papi ecloud download +/papi reload +``` + +### Basis-Expansions + +| Expansion | Befehl | Platzhalter | +|-----------|--------|-------------| +| Player | `/papi ecloud download Player` | `%player_name%`, `%player_health%` | +| Server | `/papi ecloud download Server` | `%server_online%`, `%server_tps_1%` | + +### Wirtschaft + +| Expansion | Befehl | Platzhalter | +|-----------|--------|-------------| +| Vault | `/papi ecloud download Vault` | `%vault_eco_balance%`, `%vault_eco_balance_formatted%` | + +### Berechtigungen + +| Expansion | Befehl | Platzhalter | +|-----------|--------|-------------| +| LuckPerms | `/papi ecloud download LuckPerms` | `%luckperms_prefix%`, `%luckperms_suffix%` | + +### Netzwerk + +| Expansion | Befehl | Platzhalter | +|-----------|--------|-------------| +| Bungee | `/papi ecloud download Bungee` | `%bungee_total%`, `%bungee_%` | + +--- + +## Haufig verwendete Platzhalter + +### Spieler + +| Platzhalter | Beschreibung | +|-------------|-------------| +| `%player_name%` | Spielername | +| `%player_displayname%` | Anzeigename | +| `%player_uuid%` | UUID | +| `%player_ping%` | Ping in ms | +| `%player_health%` | Gesundheit | +| `%player_food_level%` | Hunger | +| `%player_gamemode%` | Spielmodus | +| `%player_world%` | Aktuelle Welt | +| `%player_x%` | X-Koordinate | +| `%player_y%` | Y-Koordinate | +| `%player_z%` | Z-Koordinate | + +### Server + +| Platzhalter | Beschreibung | +|-------------|-------------| +| `%server_online%` | Online-Spieler | +| `%server_max_players%` | Max. Spieler | +| `%server_tps_1%` | TPS (1 Min.) | +| `%server_tps_5%` | TPS (5 Min.) | +| `%server_tps_15%` | TPS (15 Min.) | +| `%server_ram_used%` | RAM verwendet (MB) | +| `%server_ram_max%` | RAM max. (MB) | +| `%server_ram_free%` | RAM frei (MB) | +| `%server_total_entities%` | Entities | +| `%server_total_chunks%` | Geladene Chunks | +| `%server_time_HH:mm:ss%` | Serverzeit | + +### LuckPerms + +| Platzhalter | Beschreibung | +|-------------|-------------| +| `%luckperms_prefix%` | Prefix | +| `%luckperms_suffix%` | Suffix | +| `%luckperms_primary_group_name%` | Hauptgruppe | +| `%luckperms_groups%` | Alle Gruppen | +| `%luckperms_has_permission_%` | Hat Permission | + +### Vault + +| Platzhalter | Beschreibung | +|-------------|-------------| +| `%vault_eco_balance%` | Kontostand (Zahl) | +| `%vault_eco_balance_formatted%` | Kontostand (formatiert) | +| `%vault_eco_balance_fixed%` | Kontostand (2 Dezimalen) | + +### BungeeCord + +| Platzhalter | Beschreibung | +|-------------|-------------| +| `%bungee_total%` | Spieler gesamt | +| `%bungee_%` | Spieler auf Server | + +--- + +## Beispiel-Konfiguration + +### Vollstandiges Scoreboard + +```yaml +scoreboard: + default: + title: "&6&lNEXUSLOBBY" + lines: + - "&1 " + - "&6&lPROFIL" + - " &8>> &f%player_name%" + - " &8>> &7%luckperms_prefix%" + - "&2 " + - "&6&lSTATISTIK" + - " &8>> &fPing: &a%player_ping%ms" + - " &8>> &fGeld: &e%vault_eco_balance_formatted%" + - "&3 " + - "&6&lSERVER" + - " &8>> &fOnline: &e%server_online%&8/&7%server_max_players%" + - " &8>> &fTPS: &a%server_tps_1%" + - "&4 " + - "&8nexuslobby.de" +``` + +### Admin-Scoreboard + +```yaml +scoreboard: + owner: + title: "&c&lADMIN" + lines: + - "&1 " + - "&c&lPERFORMANCE" + - " &8>> &fTPS: &a%server_tps_1%" + - " &8>> &fRAM: &e%server_ram_used%&8/&7%server_ram_max%MB" + - "&2 " + - "&c&lWARTUNG" + - " &8>> &fStatus: %nexuslobby_maintenance_status%" + - " &8>> &fBuild: %nexuslobby_build_mode%" + - "&3 " + - " &8>> &fVersion: &7%nexuslobby_version%" +```