TextOverPlayer

使用盔甲架在玩家头顶上方显示聊天消息。

资源图片
![Example](https://cdn.modrinth.com/data/cached_images/1e5dddbd1754b314cf696158de3ef3798caf12e4_0.webp) # TextOverPlayer TextOverPlayer 是一个 Minecraft 插件,它使用盔甲架在玩家头顶上方显示聊天消息。它支持 HEX 颜色、自定义粒子效果和可配置的消息显示时间。 ## 功能 - 在玩家头顶上方显示聊天消息。 - 支持消息中的 HEX 颜色代码。 - 可自定义的粒子效果。 - 可配置的消息显示持续时间。 - 命令用于重新加载配置和更改设置。 ## 命令 - `/textoverplayer reload`: 重新加载插件配置。 - `/textoverplayer max-line-length [number]`: 设置消息的最大行长度。 - `/textoverplayer max-lines [number]`: 设置消息的最大行数。 - `/textoverplayer initial-display-time [number]`: 设置消息的初始显示时间。 - `/textoverplayer additional-time-per-line [number]`: 设置每行附加的显示时间。 - `/textoverplayer particle-type [type]`: 设置效果的粒子类型。 - `/textoverplayer particle-count [number]`: 设置效果的粒子数量。 - `/textoverplayer particle-enabled [true/false]`: 启用或禁用粒子效果。 - `/textoverplayer chat-line-enabled [true/false]`: 启用或禁用玩家头顶上方的聊天消息。 ## 权限 - `textoverplayer.use` ## 配置 `config.yml` 文件包含以下设置: ```yaml max-line-length: 30 max-lines: 5 particle-type: VILLAGER_HAPPY particle-count: 10 particle-enabled: true chat-line-enabled: true initial-display-time: 5 additional-time-per-line: 2 messages: reload: "&aConfiguration reloaded!" set_max_line_length: "&aMax line length set to {length}! &ePlease use /textoverplayer reload to apply changes." set_max_lines: "&aMax lines set to {lines}! &ePlease use /textoverplayer reload to apply changes." set_particle_type: "&aParticle type set to {type}! &ePlease use /textoverplayer reload to apply changes." set_particle_count: "&aParticle count set to {count}! &ePlease use /textoverplayer reload to apply changes." set_particle_enabled: "&aParticle enabled set to {enabled}!" set_chat_line_enabled: "&aChat line enabled set to {enabled}!" set_initial_display_time: "&aInitial display time set to {time} seconds!" set_additional_time_per_line: "&aAdditional time per line set to {time} seconds!" invalid_number: "&cInvalid number!" invalid_particle: "&cInvalid particle type!" invalid_boolean: "&cInvalid value! Use true или false." ```