feat: NickCore v1.0.0 - enterprise nickname plugin for Paper/Folia/Velocity
This commit is contained in:
61
nickcore-paper/src/main/resources/config.yml
Normal file
61
nickcore-paper/src/main/resources/config.yml
Normal file
@@ -0,0 +1,61 @@
|
||||
# ╔═══════════════════════════════════════════════════════════╗
|
||||
# ║ NickCore Configuration ║
|
||||
# ╚═══════════════════════════════════════════════════════════╝
|
||||
|
||||
# Plugin prefix (MiniMessage format)
|
||||
prefix: "<gradient:#00BFFF:#1E90FF>[NickCore]</gradient> "
|
||||
|
||||
# Language/locale
|
||||
locale: en_US
|
||||
|
||||
# Enable debug logging
|
||||
debug: false
|
||||
|
||||
# Allow players with nickcore.name.custom to enter any nickname
|
||||
allow-custom-names: false
|
||||
|
||||
# Allow multiple players to use the same nickname
|
||||
allow-duplicate-nicks: false
|
||||
|
||||
# Nickname length limits
|
||||
min-nick-length: 3
|
||||
max-nick-length: 16
|
||||
|
||||
# ── Chat Configuration ───────────────────────────────────────
|
||||
chat:
|
||||
# Enable chat formatting (disable if using another chat plugin)
|
||||
enabled: true
|
||||
# Chat format (MiniMessage)
|
||||
# Placeholders: <prefix>, <display_name>, <suffix>, <message>
|
||||
format: "<prefix><display_name><suffix><gray>: </gray><message>"
|
||||
|
||||
# ── Security Configuration ───────────────────────────────────
|
||||
security:
|
||||
# Regex for allowed nickname characters
|
||||
allowed-characters: "^[a-zA-Z0-9_]+$"
|
||||
# Block Unicode homoglyphs (Cyrillic/Greek lookalikes)
|
||||
block-homoglyphs: true
|
||||
# Block invisible/zero-width characters
|
||||
block-invisible-chars: true
|
||||
# Prevent names similar to online players
|
||||
prevent-impersonation: true
|
||||
# Levenshtein distance threshold for impersonation detection
|
||||
impersonation-threshold: 2
|
||||
# Names that cannot be used as nicknames
|
||||
reserved-names:
|
||||
- Server
|
||||
- Console
|
||||
- Admin
|
||||
- Moderator
|
||||
- Owner
|
||||
- Staff
|
||||
- Helper
|
||||
# Real player names that are protected from impersonation
|
||||
protected-names: []
|
||||
|
||||
# ── Velocity Configuration ───────────────────────────────────
|
||||
velocity:
|
||||
# Enable Velocity plugin messaging
|
||||
enabled: false
|
||||
# This server's name (must match Velocity config)
|
||||
server-name: "lobby"
|
||||
Reference in New Issue
Block a user