
简介
SuperTab 是一个插件,允许服务器管理员和插件开发者自定义服务器的标签页列表(tab-list)。
功能特性
对于服务器管理员:
对于开发者:
示例
以下是它可能呈现的样子:

配置文件
# _____ _____ _
# / ___| |_ _| | |
# \ `--. _ _ _ __ ___ _ __| | __ _| |__
# `--. \ | | | '_ \ / _ \ '__| |/ _` | '_ \
# /\__/ / |_| | |_) | __/ | | | (_| | |_) |
# \____/ \__,_| .__/ \___|_| \_/\__,_|_.__/
# | |
# |_|
#
# SuperTab plugin by bubbleguj
#
# -----------------------------------------------------------------------------
#
# 每个新的“标签页槽位”都以“-”标记
#
# 你可以在列表中使用以下变量:
#
# %onlineplayers% - 显示在线玩家数量
# %slots% - 显示服务器拥有的槽位总数
# %playername% - 显示查看该列表的玩家名称
# %motd% - 显示 MOTD(每日消息)
# %health% - 显示查看该列表的玩家的生命值
# %level% - 显示查看该列表的玩家的 XP 等级
# %ip% - 显示查看该列表的玩家的 IP 地址
# %gamemode% - 显示查看该列表的玩家的 gamemode(游戏模式)
# %fly% - 显示查看该列表的玩家是否可以飞行
# %hour% - 显示系统时间的小时数
# %minute% - 显示系统时间的分钟数
# %day% - 显示系统日期的天数
# %month% - 显示系统日期的月份
#
# .:!IMPORTANT!:. 超过 16 个字符的内容将被截断 .:!IMPORTANT!:.
# .:!IMPORTANT!:. 请勿创建两个内容相同的槽位 .:!IMPORTANT!:.
#
# 若要创建一个空列表:
# - '&1 '
# 只需使用一个颜色代码和一个或多个空格即可
#
# -----------------------------------------------------------------------------
#
# 以下是一个示例配置:
#
# TabConfig:
# - '&1 '
# - '&1Servername'
# - '&2 '
# - '&1Admins:'
# - '&3 xxxxx'
# - '&8 '
# - '&1Health:'
# - '&3 %health%'
# - '&9 '
# - '&7Players:'
# - '&5 '
# - '&4 '
#
# 这将生成如下标签页列表:
# ________________________________
#| |Servername| |
#|__________|__________|__________|
#|Admins: |xxxxx | |
#|__________|__________|__________|
#|Health: |4 | |
#|__________|__________|__________|
#|Players: | | |
#|__________|__________|__________|
#
# 祝你好运! ;)
#
# -----------------------------------------------------------------------------
# 如果此项为 false,SuperTab 将被禁用
UseSuperTab: true
TabConfig:
- '&1'
- '&1SERVERNAME'
- '&2'
- '&5[]=========='
- '&5=========='
- '&5==========[]'
- '&7Players:'
- '&5'
- '&4'
开发者
请参见:
命令与权限
只有一个带权限的命令。命令为 /streload。用于重新加载 SuperTab 配置。所需权限为:supertab.reload
安装
将 SuperTab.jar 放入你的插件文件夹并重启服务器。完成,祝你玩得开心!

About
SuperTab is a plugin that allows server owners and plugin developers to change the server tab-list.
Features
For server admins:
- very easy configuration
- a lot of variables
- very compact
For developers:
Example
Here's an example how it could look like:

Configuration
# _____ _____ _
# / ___| |_ _| | |
# \ `--. _ _ _ __ ___ _ __| | __ _| |__
# `--. \ | | | '_ \ / _ \ '__| |/ _` | '_ \
# /\__/ / |_| | |_) | __/ | | | (_| | |_) |
# \____/ \__,_| .__/ \___|_| \_/\__,_|_.__/
# | |
# |_|
#
# SuperTab plugin by bubbleguj
#
# -----------------------------------------------------------------------------
#
# Every new "tabslot" is marked with a "-"
#
# You can use those variables in the list:
#
# %onlineplayers% - Shows, how many players are online
# %slots% - Shows, how many slots the server has
# %playername% - Shows the name of the player, looking at the list
# %motd% - Shows the motd
# %health% - Shows the health of the player, looking at the list
# %level% - Shows the XP-level of the player, looking at the list
# %ip% - Shows the IP of the player, looking at the list
# %gamemode% - Shows the gamemode of the player, looking at the list
# %fly% - Shows if the player can fly
# %hour% - Shows the system time hour
# %minute% - Shows the system time minutes
# %day% - Shows the system date day
# %month% - Shows the system date month
#
# .:!IMPORTANT!:. More than 16 characters will be reduced .:!IMPORTANT!:.
# .:!IMPORTANT!:. Don't create two slots with the same content .:!IMPORTANT!:.
#
# To create an empty list:
# - '&1 '
# So, just take an colourcode and one or more spaces
#
# -----------------------------------------------------------------------------
#
# Here's an example config:
#
# TabConfig:
# - '&1 '
# - '&1Servername'
# - '&2 '
# - '&1Admins:'
# - '&3 xxxxx'
# - '&8 '
# - '&1Health:'
# - '&3 %health%'
# - '&9 '
# - '&7Players:'
# - '&5 '
# - '&4 '
#
# This would create this tablist:
# ________________________________
#| |Servername| |
#|__________|__________|__________|
#|Admins: |xxxxx | |
#|__________|__________|__________|
#|Health: |4 | |
#|__________|__________|__________|
#|Players: | | |
#|__________|__________|__________|
#
# Good luck! ;)
#
# -----------------------------------------------------------------------------
# If this is false, SuperTab will be disabled
UseSuperTab: true
TabConfig:
- '&1'
- '&1SERVERNAME'
- '&2'
- '&5[]=========='
- '&5=========='
- '&5==========[]'
- '&7Players:'
- '&5'
- '&4'
Developers
Look here:
Commands and permissions
There's one command with a permission. The command is /streload. This will reload the SuperTab config. The permission is: supertab.reload
Installation
Put the SuperTab.jar into your plugin folder and restart your server. That's it, have fun!
评论 0
登录后参与评分
还没有评论,来抢沙发吧