TitleManager 标题管理器 | |
---|---|
![]() |
一个用于发送标题、设置玩家列表和记分板的页眉和页脚的插口插件。 |
作 者 | Puharesource |
发布时间 | 2014年9月4日 |
支持核心 | Spigot | 原生版本 |
支持版本 | 1.8,1.9,1.10,1.11,1.12,1.13,1.14,1.15,1.16,1.17,1.18 |
插件详细介绍
TitleManager 是一个 Spigot 插件,用于发送标题消息、设置玩家列表的页眉和页脚,以及创建记分板侧边栏。它还提供了一个丰富的 API,供开发者在自己的插件中使用。
🎉
maven {
name 'Puharesource'
url 'https://repo.puha.io/repo/'
}
compile group: 'io.puharesource.mc', name: 'TitleManager', version: '2.2.0'
<repository>
<id>puha-repo</id>
<url>https://repo.puha.io/repo/</url>
</repository>
<dependency>
<groupId>io.puharesource.mc</groupId>
<artifactId>TitleManager</artifactId>
<version>2.2.0</version>
</dependency>
/titlemanager
- 显示插件信息。/titlemanager reload
- 重载插件配置。权限:titlemanager.command.reload
/title <player> <fadeIn> <stay> <fadeOut> <title> [subtitle]
- 向玩家发送一个标题。权限:titlemanager.command.title
/actionbar <player> <stay> <text>
- 向玩家发送一个 Actionbar 消息。权限:titlemanager.command.actionbar
/header <player> <text>
- 设置玩家列表的页眉。权限:titlemanager.command.header
/footer <player> <text>
- 设置玩家列表的页脚。权限:titlemanager.command.footer
titlemanager.command.reload
- 允许重载插件配置。titlemanager.command.title
- 允许使用 /title
命令。titlemanager.command.actionbar
- 允许使用 /actionbar
命令。titlemanager.command.header
- 允许使用 /header
命令。titlemanager.command.footer
- 允许使用 /footer
命令。titlemanager.bypass
- 允许绕过首次加入的标题和 Actionbar 消息。
# TitleManager configuration file
# https://www.spigotmc.org/resources/titlemanager.1049/
# Developed by Tarkan Sevilmis
# Do not edit this file unless you know what you are doing.
# If you have any questions, ask in the discussion thread.
settings:
# Should we check for updates?
check-for-updates: true
# Should we use Vault for permissions?
use-vault: false
# First join title
first-join:
enabled: true
# Title fade in time in ticks
fade-in: 20
# Title stay time in ticks
stay: 60
# Title fade out time in ticks
fade-out: 20
# Title text
title: '&aWelcome {player}!'
# Subtitle text
subtitle: '&aEnjoy your stay!'
# First join actionbar
first-join-actionbar:
enabled: true
# Stay time in ticks
stay: 100
# Actionbar text
text: '&aWelcome to the server!'
# Welcome title
welcome:
enabled: true
# Title fade in time in ticks
fade-in: 20
# Title stay time in ticks
stay: 60
# Title fade out time in ticks
fade-out: 20
# Title text
title: '&aWelcome back {player}!'
# Subtitle text
subtitle: '&aEnjoy your stay!'
# Welcome actionbar
welcome-actionbar:
enabled: true
# Stay time in ticks
stay: 100
# Actionbar text
text: '&aWelcome back to the server!'
# Tablist header
header:
enabled: true
# Update interval in ticks
interval: 100
# Header text
text:
- '&aWelcome to the server!'
- '&aEnjoy your stay!'
# Tablist footer
footer:
enabled: true
# Update interval in ticks
interval: 100
# Footer text
text:
- '&aDeveloped by Tarkan Sevilmis'
- '&aTitleManager v2.0'
# Scoreboard sidebar
scoreboard:
enabled: false
# Update interval in ticks
interval: 20
# Title text
title: '&aScoreboard'
# Lines text
lines:
- '&aPlayer: {player}'
- '&aOnline: {online}'
- '&aTPS: {tps}'
# Animations
animations:
enabled: true
# Animations update interval in ticks
interval: 5
# Animations list
list:
Example:
- '&aHello'
- '&bHello'
- '&cHello'
- '&dHello'
- '&eHello'
- '&fHello'