
ClickToSeeNames
Hide all player nametags and reveal names only when right-clicking a player. Supports MiniMessage and displays the nickname above the hotbar.
Оцените первым
159
2
Список изменений
🚀 Release v1.2.0 — Optimization, Safety & Major Overhaul
⚡ Performance & Optimization
- Event-Driven Nametag Management: Replaced background periodic polling with an event-driven lifecycle (
PlayerJoinEvent,PlayerRespawnEvent,PlayerChangedWorldEvent,PlayerGameModeChangeEvent), reducing idle CPU consumption to 0%. - Asynchronous Data I/O: Switched
playerdata.ymlwrites to buffered asynchronous saving with an automatic synchronous flush during server shutdown (onDisable). - Modern Async Chat: Migrated chat input interception for HEX colors to Paper's Adventure-native
AsyncChatEvent. - Component Pre-Caching: Static GUI icons and Adventure color representations are now pre-cached at startup to eliminate runtime allocations.
🛡️ Gameplay & Safety Controls
- Line of Sight Verification: Added
require-line-of-sightoption (player.hasLineOfSight(target)) to prevent inspecting nametags through walls, doors, and obstacles. - Max Inspection Range: Added
max-distanceconfiguration option to limit the maximum interaction distance. - Vanish & NPC Filtering: Added automatic checks to ignore vanished staff members (
canSee/vanishedmetadata) and NPCs (NPCmetadata). - Sneak & Item Hand Rules: Added configurable flags to require empty hands, require clicker sneaking, or ignore sneaking targets.
- Disabled Worlds: Added
disabled-worldslist to exclude specific worlds (Hubs, Minigames) from nametag hiding and inspection.
🔌 Integrations & Customization
- Built-in PlaceholderAPI Expansion:
%ctsn_color%— Returns the player's active custom color, HEX, or gradient specification.%ctsn_formatted_name%— Returns the player's name rendered with their active style and color.
- Granular Permissions: Added permission nodes for individual color palette choices (
ctsn.color.<color_name>) and gradients (ctsn.gradient). - Title Display Timings: Configurable
fade-in,stay, andfade-outticks for title mode inconfig.yml. - Folia Support: Added
folia-supported: trueflag inplugin.yml.
🌐 Localization & Bug Fixes
- Instant Config & Locale Reload:
/ctsn reloadnow instantly re-reads configuration and message files (messages_en.yml,messages_ru.yml) without server restarts. - Localized State Placeholders: Resolved hardcoded English strings in
{state}(ON/OFF,ВКЛ/ВЫКЛ) and display mode announcements. - Tab Completion Permission Leaks: Fixed command suggestions exposing administrative subcommands to non-privileged players.
- Chat Interception Fix: Fixed an issue where regular messages sent after the 60-second HEX prompt expiration were cancelled.
Compatibility
- Server Version: Paper / Purpur / Folia 1.21+
- Java Version: Java 21+
- Soft Dependencies: TAB 4.1.8+, PlaceholderAPI 2.11.6+
Метаданные
Канал релиза
Release
Номер версии
1.2.0
Загрузчики
BukkitFoliaPaperPurpurSpigot
Версии игры
1.17–26.2
Загрузок
52
Дата публикации
20.08.2026
