Sueta

CustomTabBungee

1.3

This plugin allow you to define player's tab header and footer

·Plugin

Features

This plugin allow you to define player's tab header and footer

Configs

In the plugins\CustomTab folder you have 3 files :

config.cfg:
If you want to bind the plugin with the Bukkit version to get local data (Like TPS...), the plugin will work as global tab and bukkit as local tab, you can had bukkit footer and header with there options : %bukkitheadermessage% / %bukkitfootermessage% (local datas and bungee datas can be use both in global and local configs)

footer.cfg & header.cfg:
To change the tab data, you can use "&" for color and this to add information :

%name% : Player's name
%displayname% : Player's display name
%servername% : Server's config name
%servermotd% : Server's config M.O.T.D.
%playerscounts% : Bungee's players counts
%ping% : Player's ping
%cping% : Player's ping with color
%date% : Machine date
%chatmode% : Player's chat mode
%mainhand% : Player's main hand
%date-<format>% : Machine date with a specific format : https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html
%swap-<colors>% or %s-<colors>% : swap every second in a list of colors %swaplight% or %swapheavy% for light/heavy color synchronised (%s-<color>% / %sl% / %sh% also works)
%swaptext-delay-text1;;text2;;...% : swap every every delay (in second) in a list of texts (%st-(...) also work)

(Check Bukkit plugin's Options List if you set noBukkit on false in your configs)

Example :

with the configs :
header.cfg

%sh%Hello %sl%%name%%sh% ! %s-54dc%❤
%sh%Time: %sl%%date%%sh% c:%bukkitheadermessage%
%sl%&m----%sh%&m----%sl%&m----%sh%&m----%sl%&m----%sh%&m----%sl%&m----

footer.cfg

%sl%&m----%sh%&m----%sl%&m----%sh%&m----%sl%&m----%sh%&m----%sl%&m----
%sh%Server: %sl%%servername%%sh% / Ping: %sl%%ping%
%servermotd%
%sh%Players: %sl%%playerscounts%%bukkitfootermessage%%sh% / tps: %sl%%tps%
%st-2-My 1rs option;;My second option;;My 3rd option%

(a Bukkit part is needed for tps)

GlobalTab command /gtab

You can edit tab in game with /gtab :

Command Screenshots

EVERY BOLD CHARACTERS ARE CLICKABLES OPTIONS
/gtab

/gtab footer

/gtab opt

Permissions

ctp.gtab : use /gtab command
ctp.gtab.reload : Reload config
ctp.gtab.opt : Show available text options
ctp.gtab.show : Show tab part
ctp.gtab.delline : Delete a line
ctp.gtab.addline : Add a line
ctp.gtab.setline : Set a line

Integration

You can implement your own options of your BungeeCord plugin with the API, check here for more information.

Similar projects

Plugin →