Dateien nach "src/main/resources" hochladen
This commit is contained in:
25
src/main/resources/armorstands.yml
Normal file
25
src/main/resources/armorstands.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
# ArmorStandTools Configuration
|
||||
# -----------------------------
|
||||
|
||||
# Nachrichten
|
||||
prefix: "§8[§6ArmorStand§8] §7"
|
||||
no-permission: "§cDu hast keine Berechtigung dafür!"
|
||||
gui-title: "Armor Stand Editor"
|
||||
armorstand-not-found: "§cKein ArmorStand in der Nähe gefunden!"
|
||||
tool-selected: "§7Tool ausgewählt: §6{tool}"
|
||||
|
||||
# Einstellungen
|
||||
settings:
|
||||
require-creative: false
|
||||
cooldown-ticks: 20
|
||||
allow-command-blocks: true
|
||||
log-commands: true
|
||||
|
||||
# GUI Items
|
||||
gui:
|
||||
filler-material: BLACK_STAINED_GLASS_PANE
|
||||
tools:
|
||||
head: "§eKopf drehen"
|
||||
body: "§eKörper drehen"
|
||||
arms: "§eArme umschalten"
|
||||
invisible: "§eSichtbarkeit umschalten"
|
||||
137
src/main/resources/config.yml
Normal file
137
src/main/resources/config.yml
Normal file
@@ -0,0 +1,137 @@
|
||||
# ==========================
|
||||
# NexusLobby Konfiguration
|
||||
# ==========================
|
||||
|
||||
# --- Spawn Einstellungen ---
|
||||
spawn:
|
||||
world: "world" # Name der Standardwelt
|
||||
x: 0.5 # X-Koordinate des Spawns
|
||||
y: 64.0 # Y-Koordinate des Spawns
|
||||
z: 0.5 # Z-Koordinate des Spawns
|
||||
yaw: 0.0 # Blickrichtung
|
||||
pitch: 0.0 # Blickrichtung
|
||||
|
||||
# --- Lobby Einstellungen ---
|
||||
lobby:
|
||||
allow-fly: false # Spieler dürfen fliegen
|
||||
pvp-enabled: false # PvP in der Lobby
|
||||
build-enabled: false # Bau im Lobby-Bereich
|
||||
default-gamemode: Adventure
|
||||
clear-inventory-on-join: true
|
||||
|
||||
# --- Tablist Einstellungen ---
|
||||
tablist:
|
||||
enabled: true
|
||||
header: "&6Willkommen auf &eNexusLobby"
|
||||
footer: "&7Viel Spaß!"
|
||||
refresh-interval: 40 # Ticks
|
||||
|
||||
# --- Items Modul Einstellungen ---
|
||||
items:
|
||||
lobby-tools:
|
||||
compass:
|
||||
enabled: true
|
||||
displayname: "&eTeleporter"
|
||||
slot: 4
|
||||
build-toggle:
|
||||
enabled: true
|
||||
displayname: "&aBaumodus"
|
||||
slot: 1
|
||||
gadget:
|
||||
enabled: true
|
||||
displayname: "&bGadgets"
|
||||
slot: 2
|
||||
|
||||
# --- Portal Einstellungen ---
|
||||
portals:
|
||||
default-particle: "PORTAL"
|
||||
portal-cooldown: 40 # Ticks, 2 Sekunden
|
||||
save-file: "portals.yml" # Datei im Plugin-Ordner
|
||||
|
||||
# -----------------------------------------------------
|
||||
# COMPASS MENU
|
||||
# -----------------------------------------------------
|
||||
compass:
|
||||
title: "&eServer Switcher"
|
||||
size: 27
|
||||
servers:
|
||||
pvp:
|
||||
name: "&cPvP Arena"
|
||||
material: "DIAMOND_SWORD"
|
||||
command: "server pvp"
|
||||
slot: 11
|
||||
lore:
|
||||
- "&7Klicke hier um dich"
|
||||
- "&7zum PvP Server zu teleportieren."
|
||||
survival:
|
||||
name: "&aSurvival"
|
||||
material: "GRASS_BLOCK"
|
||||
command: "server survival"
|
||||
slot: 13
|
||||
lore:
|
||||
- "&7Das normale Survival."
|
||||
- "&7Viel Spaß beim Bauen!"
|
||||
buildbattle:
|
||||
name: "&bBuildBattle"
|
||||
material: "BEDROCK"
|
||||
command: "server build"
|
||||
slot: 15
|
||||
lore:
|
||||
- "&7Zeige was du kannst!"
|
||||
|
||||
# --- Suppressor / Global Chat Einstellungen ---
|
||||
suppressor:
|
||||
enabled: true
|
||||
suppress-join-quit: true
|
||||
suppress-duration-ticks: 40 # Zeit, bis Spieler wieder sichtbar
|
||||
channels:
|
||||
control: "global:control" # Channel für Join/Quit Suppression
|
||||
chat: "global:chat" # Channel für globales Chat-Relay
|
||||
|
||||
# --- Logging Einstellungen ---
|
||||
logging:
|
||||
enable-debug: true # Aktiviert detaillierte Logs für Module
|
||||
log-file: "logs/plugin.log" # Pfad für das Logfile
|
||||
|
||||
# --- Wartungsmodus ---
|
||||
maintenance:
|
||||
enabled: false
|
||||
kick_message: "&cServer im Wartungsmodus! Du darfst nicht joinen."
|
||||
|
||||
# -----------------------------------------------------
|
||||
# VOID PROTECTION
|
||||
# -----------------------------------------------------
|
||||
# Verhindert, dass Spieler in die Leere fallen
|
||||
void_protection:
|
||||
enabled: true
|
||||
# Teleportiert den Spieler zum Welt-Spawn
|
||||
teleport_to_spawn: true
|
||||
# Nachricht beim Teleport (Leer lassen für keine Nachricht)
|
||||
message: "&cDu bist in die Leere gefallen und wurdest teleportiert!"
|
||||
|
||||
# -----------------------------------------------------
|
||||
# DOUBLE JUMP
|
||||
# -----------------------------------------------------
|
||||
# Erlaubt einen Doppelsprung in der Lobby
|
||||
doublejump:
|
||||
enabled: true
|
||||
# Stärke des Sprungs nach oben
|
||||
velocity: 1.0
|
||||
# Vorwärts-Schub beim Sprung
|
||||
horizontal: 0.2
|
||||
|
||||
# -----------------------------------------------------
|
||||
# PLAYER HIDER
|
||||
# -----------------------------------------------------
|
||||
# Item, um andere Spieler zu verstecken/anzuzeigen
|
||||
hider:
|
||||
enabled: true
|
||||
# Material-Name (Muss ein gültiger Bukkit-Material-Name sein)
|
||||
item: "REDSTONE"
|
||||
# Slot im Inventar (0-8)
|
||||
slot: 8
|
||||
messages:
|
||||
# Anzeigename des Items und Nachricht, wenn alle sichtbar sind
|
||||
all: "&aAlle Spieler: &7Sichtbar"
|
||||
# Anzeigename des Items und Nachricht, wenn alle versteckt sind
|
||||
none: "&cKeine Spieler: &7Versteckt"
|
||||
83
src/main/resources/plugin.yml
Normal file
83
src/main/resources/plugin.yml
Normal file
@@ -0,0 +1,83 @@
|
||||
name: NexusLobby
|
||||
main: de.nexuslobby.NexusLobby
|
||||
version: "1.0.0"
|
||||
api-version: "1.21"
|
||||
author: M_Viper
|
||||
description: Modular Lobby Plugin
|
||||
softdepend: [LuckPerms, PlaceholderAPI, Vault, WorldGuard]
|
||||
|
||||
commands:
|
||||
portal:
|
||||
description: Portal management
|
||||
usage: /portal <args>
|
||||
permission: nexuslobby.portal
|
||||
permission-message: "§cKeine Rechte!"
|
||||
|
||||
giveportalwand:
|
||||
description: Gibt das Portal-Werkzeug
|
||||
usage: /giveportalwand
|
||||
permission: nexuslobby.portal.give
|
||||
permission-message: "§cDu hast keine Berechtigung dafür."
|
||||
|
||||
maintenance:
|
||||
description: Aktiviert oder deaktiviert den Wartungsmodus
|
||||
usage: /maintenance <on|off>
|
||||
permission: nexuslobby.maintenance
|
||||
permission-message: "§cDu hast keine Rechte!"
|
||||
|
||||
serverswitcher:
|
||||
description: Öffnet die Server Switcher GUI
|
||||
usage: /serverswitcher
|
||||
permission: nexuslobby.serverswitcher
|
||||
permission-message: "§cDu hast keine Rechte!"
|
||||
|
||||
settings:
|
||||
description: Öffnet das Lobby-Einstellungsmenü (Gamerules)
|
||||
usage: /settings
|
||||
permission: nexuslobby.admin
|
||||
permission-message: "§cDu hast keine Rechte für die Admin-Einstellungen!"
|
||||
|
||||
build:
|
||||
description: Aktiviert oder deaktiviert den Baumodus
|
||||
usage: /build
|
||||
permission: nexuslobby.build
|
||||
permission-message: "§cDu hast keine Rechte!"
|
||||
|
||||
nexuslobby:
|
||||
description: Zeigt Informationen über das Plugin an oder lädt es neu
|
||||
usage: /nexuslobby [reload]
|
||||
aliases: [nexus]
|
||||
|
||||
# --- ArmorStandTools Sektion ---
|
||||
nexustools:
|
||||
description: Nexus ArmorStand Editor
|
||||
aliases: [nt, ntools, astools]
|
||||
nexuscmd:
|
||||
description: Nexus Command Binder
|
||||
aliases: [ncmd, ascmd]
|
||||
|
||||
permissions:
|
||||
nexuslobby.portal:
|
||||
description: Zugriff auf Portalbefehle
|
||||
default: op
|
||||
nexuslobby.portal.give:
|
||||
description: Berechtigung, das Portal-Werkzeug zu erhalten
|
||||
default: op
|
||||
nexuslobby.maintenance:
|
||||
description: Berechtigung, Wartungsmodus zu toggeln
|
||||
default: op
|
||||
nexuslobby.serverswitcher:
|
||||
description: Zugriff auf den Server Switcher
|
||||
default: true
|
||||
nexuslobby.admin:
|
||||
description: Voller Zugriff auf Lobby-Gamerules, Einstellungen und Reload
|
||||
default: op
|
||||
nexuslobby.build:
|
||||
description: Erlaubt das Umgehen des Lobby-Schutzes zum Bauen
|
||||
default: op
|
||||
nexuslobby.armorstand.use:
|
||||
description: Erlaubt die Nutzung der NexusTools GUI
|
||||
default: op
|
||||
nexuslobby.armorstand.cmd:
|
||||
description: Erlaubt das Binden von Commands via NexusCmd
|
||||
default: op
|
||||
122
src/main/resources/settings.yml
Normal file
122
src/main/resources/settings.yml
Normal file
@@ -0,0 +1,122 @@
|
||||
# =====================================================
|
||||
# NEXUSLOBBY – DEFAULT LOBBY GAMERULES
|
||||
# Minecraft 1.21.1
|
||||
# =====================================================
|
||||
|
||||
# -------------------------------------------------
|
||||
# Security Einstellungen
|
||||
# -------------------------------------------------
|
||||
security:
|
||||
vpn-blocker:
|
||||
enabled: true
|
||||
# Kick-Nachricht für VPN/Proxy-Nutzer
|
||||
kick-message: "&cVPN und Proxies sind auf diesem Server nicht erlaubt!"
|
||||
|
||||
country-blocker:
|
||||
enabled: true
|
||||
# Erlaubte Länder (ISO-Codes). Wenn leer, sind alle erlaubt.
|
||||
# DE = Deutschland, AT = Österreich, CH = Schweiz
|
||||
allowed-countries:
|
||||
- "DE"
|
||||
- "AT"
|
||||
- "CH"
|
||||
kick-message: "&cZugriff aus deinem Land (%country%) ist leider nicht gestattet."
|
||||
|
||||
# -------------------------------------------------
|
||||
# LOBBY SCHUTZ (Plugin-Logik)
|
||||
# -------------------------------------------------
|
||||
allowPvp: false
|
||||
allowBlockBreaking: false
|
||||
allowBlockPlacing: false
|
||||
allowBlockInteracting: true
|
||||
allowItemDropping: false
|
||||
allowItemPickup: false
|
||||
allowExplosions: false
|
||||
|
||||
gamerules:
|
||||
|
||||
# -------------------------------------------------
|
||||
# Chat & Systemmeldungen
|
||||
# -------------------------------------------------
|
||||
announceAdvancements: false
|
||||
commandBlockOutput: false
|
||||
logAdminCommands: false
|
||||
sendCommandFeedback: false
|
||||
showDeathMessages: false
|
||||
reducedDebugInfo: false
|
||||
|
||||
# -------------------------------------------------
|
||||
# Drops & Inventar
|
||||
# -------------------------------------------------
|
||||
keepInventory: true
|
||||
doEntityDrops: false
|
||||
doMobLoot: false
|
||||
doTileDrops: false
|
||||
mobExplosionDropDecay: false
|
||||
blockExplosionDropDecay: false
|
||||
tntExplosionDropDecay: false
|
||||
|
||||
# -------------------------------------------------
|
||||
# Spawning & Events
|
||||
# -------------------------------------------------
|
||||
doMobSpawning: false
|
||||
doInsomnia: false
|
||||
doPatrolSpawning: false
|
||||
doTraderSpawning: false
|
||||
doWardenSpawning: false
|
||||
doRaids: false
|
||||
disableRaids: true
|
||||
maxEntityCramming: 24
|
||||
|
||||
# -------------------------------------------------
|
||||
# Zeit & Wetter
|
||||
# -------------------------------------------------
|
||||
doDaylightCycle: false
|
||||
doWeatherCycle: false
|
||||
|
||||
# -------------------------------------------------
|
||||
# Welt-Mechaniken
|
||||
# -------------------------------------------------
|
||||
doFireTick: false
|
||||
doVinesSpread: false
|
||||
mobGriefing: false
|
||||
randomTickSpeed: 0
|
||||
snowAccumulationHeight: 0
|
||||
waterSourceConversion: false
|
||||
lavaSourceConversion: false
|
||||
|
||||
# -------------------------------------------------
|
||||
# Spieler-Status & Bewegung
|
||||
# -------------------------------------------------
|
||||
naturalRegeneration: false
|
||||
doImmediateRespawn: true
|
||||
doLimitedCrafting: false
|
||||
playersSleepingPercentage: 100
|
||||
spawnRadius: 0
|
||||
spectatorsGenerateChunks: false
|
||||
|
||||
# -------------------------------------------------
|
||||
# Schaden (Lobby-typisch deaktiviert)
|
||||
# -------------------------------------------------
|
||||
drowningDamage: false
|
||||
fallDamage: false
|
||||
fireDamage: false
|
||||
freezeDamage: false
|
||||
|
||||
# -------------------------------------------------
|
||||
# Aggro- & Mob-Verhalten
|
||||
# -------------------------------------------------
|
||||
forgiveDeadPlayers: true
|
||||
universalAnger: false
|
||||
|
||||
# -------------------------------------------------
|
||||
# Portale & Dimensionen
|
||||
# -------------------------------------------------
|
||||
playersNetherPortalCreativeDelay: 1
|
||||
playersNetherPortalDefaultDelay: 80
|
||||
|
||||
# -------------------------------------------------
|
||||
# Command- & Technik-Limits
|
||||
# -------------------------------------------------
|
||||
commandModificationBlockLimit: 32768
|
||||
maxCommandChainLength: 65536
|
||||
93
src/main/resources/visuals.yml
Normal file
93
src/main/resources/visuals.yml
Normal file
@@ -0,0 +1,93 @@
|
||||
# -----------------------------------------------------
|
||||
# NEXUSLOBBY - VISUELLE EINSTELLUNGEN
|
||||
# -----------------------------------------------------
|
||||
|
||||
# --- Tablist Einstellungen ---
|
||||
tablist:
|
||||
enabled: true
|
||||
show-prefix-in-playerlist: true
|
||||
server-name: "&l&6✦✦ NEXUSLOBBY ✦✦"
|
||||
website: "www.nexuslobby.de"
|
||||
show-website: true
|
||||
teamspeak-address: "ts.nexuslobby.de"
|
||||
show-teamspeak: true
|
||||
discord-address: "discord.gg/nexuslobby"
|
||||
show-discord: true
|
||||
staff-permission: "nexuslobby.staff"
|
||||
separator-line: "&8&l&m================================"
|
||||
header-animations:
|
||||
- "&6&l{server}\n&7Willkommen, &a{player}\n&7Online Spieler: &e{online}\n&6Online Staff: &e{staff}\n"
|
||||
- "&e&l{server}\n&7Willkommen, &a{player}\n&7Online Spieler: &e{online}\n&6Online Staff: &e{staff}\n"
|
||||
- "&b&l{server}\n&7Willkommen, &a{player}\n&7Online Spieler: &e{online}\n&6Online Staff: &e{staff}\n"
|
||||
footer-animations:
|
||||
- "{separator}\n&7NexusLobby &8| &eDein Abenteuer!\n&7Website: &b{website}\n&7Discord: &b{discord}\n{separator}"
|
||||
- "{separator}\n&7NexusLobby &8| &bEntdecke die Welt!\n&7Website: &b{website}\n&7TeamSpeak: &b{teamspeak}\n{separator}"
|
||||
- "{separator}\n&7NexusLobby &8| &aBaue, kämpfe, überlebe!\n&7Website: &b{website}\n&7Discord: &b{discord}\n{separator}"
|
||||
interval-ticks: 40
|
||||
|
||||
# --- BossBar Einstellungen ---
|
||||
bossbar:
|
||||
enabled: true
|
||||
color: "BLUE"
|
||||
style: "SEGMENTED_6"
|
||||
pause-seconds: 4
|
||||
messages:
|
||||
- "&fWillkommen auf &6&lNexusLobby.de"
|
||||
- "&fBesuche unseren &bDiscord &funter &7/discord"
|
||||
- "&fAktuell sind &e{online} &fSpieler online!"
|
||||
- "&6Viel Spaß beim Spielen!"
|
||||
- "&7Folge uns auf Social Media für &eGewinnspiele&7!"
|
||||
|
||||
# -----------------------------------------------------
|
||||
# ACTION BAR
|
||||
# -----------------------------------------------------
|
||||
actionbar:
|
||||
enabled: true
|
||||
# Schreibgeschwindigkeit (niedriger = schneller, 1 ist Minimum)
|
||||
animation-speed: 2
|
||||
# Wie lange die fertige Nachricht stehen bleibt (in Ticks, 20 Ticks = 1 Sekunde)
|
||||
hold-duration: 150
|
||||
messages:
|
||||
- "&aWillkommen auf dem Server! &eHier gibt es viel zu erleben..."
|
||||
- "&cKein Griefing erlaubt! &4Bitte respektiere die Builds anderer."
|
||||
- "&bBesuche uns auf unserem Discord: &fdein-discord.link"
|
||||
|
||||
# --- Scoreboard Einstellungen ---
|
||||
scoreboard:
|
||||
enabled: true
|
||||
update_ticks: 20
|
||||
default:
|
||||
title: "&6&l&nNEXUSLOBBY"
|
||||
lines:
|
||||
- "&1 "
|
||||
- "&6&lPROFIL"
|
||||
- " &8» &f%player_name%"
|
||||
- " &8» &7%luckperms_prefix%"
|
||||
- "&2 "
|
||||
- "&6&lWIRTSCHAFT"
|
||||
- " &8» &e%vault_eco_balance_formatted%"
|
||||
- "&3 "
|
||||
- "&6&lNETZWERK"
|
||||
- " &8» &fOnline: &e%bungee_total%"
|
||||
- "&4 "
|
||||
- "&8&o m-viper.de"
|
||||
owner:
|
||||
title: "&4&l&nNEXUS &c&lADMIN"
|
||||
lines:
|
||||
- "&1 "
|
||||
- "&c&lPERFORMANCE"
|
||||
- " &8» &fTPS: &a%server_tps_1% &8"
|
||||
- " &8» &fRAM: &e%server_ram_used%&8/&7%server_ram_max%MB"
|
||||
- " &8» &fPing: &a%player_ping%ms"
|
||||
- "&2 "
|
||||
- "&c&lWELT &8» &7Lobby"
|
||||
- " &8» &fEntities: &7%server_total_entities% &8| &fChunks: &7%server_total_chunks%"
|
||||
- "&3 "
|
||||
- "&c&lNETZWERK"
|
||||
- " &8» &fGlobal: &e%bungee_total% &8| &fOnline: &a%server_online%"
|
||||
- "&4 "
|
||||
- "&c&lSTATUS"
|
||||
- " &8» &fWartung: %nexuslobby_maintenance_status%"
|
||||
- " &8» &fVersion: &7%nexuslobby_version%"
|
||||
- "&5 "
|
||||
- "&8&o %server_time_HH:mm:ss%"
|
||||
Reference in New Issue
Block a user