LastHolo 可定制 | |
---|---|
![]() |
非常轻量级的插件,可以与全息图聊天! |
作 者 | Gober |
发布时间 | 2018年1月5日 |
支持核心 | Spigot | 原生版本 |
支持版本 | 1.8,1.9,1.10,1.11,1.12,1.13,1.14,1.15,1.16 |
插件详细介绍
LastHolo 是一个功能强大的全息聊天插件,支持多种 Minecraft 版本(1.8-1.16)。它提供了丰富的功能,如全息显示、多行支持、世界守卫区域控制等,且无需依赖其他插件。通过简洁的配置和强大的 API,LastHolo 能够满足各种服务器需求,并支持自定义与扩展。
以下是插件的主要指令与权限说明:
holo.chat
holo.color
lastholo.superplaceholder
/lastholo reload
(需要 holo.reload
权限)/lastholo toggle
(需要 holo.toggle
权限)/lastholo clear
(用于修复 BUG)以下是插件的配置文件示例:
async_chat_processing: true
async_holo_removal: true
special_armorstand: true
async_teleportation: true
spectator_holo_hidden: true
use_extreme_follow_method: false
holo_offset: 2.4
holo_livetick: 95
holo_firstoffset: 1.5
chat_format: "&6Says: &r%CHAT%"
force_holo_chat_first_join: true
chat_pops_during_chat: true
always_enable_holo_chat_join: true
nearby_only:
use_system: true
min_range: 13
original_chat:
hidden: false
requires_toggle: true
words_system:
enable_system: true
max_words: 30
max_words_line: 5
max_word_length: 17
max_sentence_length_line: 24
advanced_only:
full_attempt_check: 1
LastHolo 提供了丰富的 API,方便开发者进行二次开发。以下是事件处理示例:
@EventHandler
public void onHoloChat(PreHoloChatEvent e) {
HoloData data = e.getHoloData();
Player owner = data.getOwner();
if (this.isHandsome(owner)) {
return;
}
e.setCancelled(true);
}
@EventHandler
public void onHoloChat(PostHoloChatEvent e) {
if (this.isAllowed(e.getLineDatas()) {
return;
}
e.setCancelled(true);
}