Sueta
CU

CustomTablistNames - CTN

1.0

Customize the tab list name of your players!

·Plugin

CTN

You hate the default tab-list name of the players? With this plugin, you can change the default, and any of your players tab-list names!

Features

  • Fully customizable & very easy to configure.
  • Language is customizable, too!
  • Easy to use

How to use
Just download the .jar file and put it to yourServerFolder>plugins. Then, start/restart/reload your server.
The plugin is installed, ready to configure then use.

Configuration
You can configure the messages in lang.yml.
If you want to change a player's tab list name manually, you can do it players.yml. But note that I put my self to the players.yml so you should remove it.. I had to test the plugin somehow : p

Default lang.yml
playersTabSetSuccessfully: '&aSuccessfully changed tab name of &e{PLAYER}' #when /ctn set <player> <new name> was successfully executed.
playersTabResettedSuccessfully: '&aSuccessfully reset tab name of {PLAYER}' #/ctn reset <player> was successfully executed.
#/ctn reload reload lang.yml, players.yml and config.yml. Therefore, it sends max 3 messages when reload each: was it successfully reloaded, or not.
langReloadedSucc: '&aLanguage configuration has been successfully reloaded!'
error_IOException_lang: '&cIO exception when reloading language configuration. Resetting to default...' #When lang.yml doesn't exist.
error_invalidConfig_lang: '&cInvalid language configuration. Resetting to default...' #You should never see this message, except if you mess up something there.
playersReloadedSucc: '&aPlayer configuration has been successfully reloaded!'
error_IOException_players: '&cIO exception when reloading player configuration. Resetting to default...' #When players.yml doesn't exist.
error_invalidConfig_players: '&cInvalid player configuration. Resetting to default...' #You should never see this message, except if you mess up something in players.yml.
configReloaded: '&aConfiguration has been successfully reloaded!' #config.yml reloaded successfully
playerNotFound: '&cPlayer {PLAYER} not found in our database.' #When trying to reset tab name of player, but it was not set.
usage: '&cUsage: /ctn reload|set|reset [Player] [new tab name]'
noPermission: '&cYou don''t have permission for /ctn.'
onlyPlayersCanExecute: '&cOnly player''s can execute /ctn.'

Default players.yml:

players:
  Scholler: '&7[&cServer Owner&7]&e{PLAYER}'


In the configurations, you can use {PLAYER}, it will be replaced with the player's name. So where you see {PLAYER}, you can use it there.

And the default config.yml has just two lines:

permission: 'ctn.command'
defaultPrefix: '&e{PLAYER}'

defaultPrefix is the tab list name for player's who are not in players.yml.
permission is for /ctn.

Usage of commands
/ctn reload - reloads lang.yml, players.yml and config.yml.
/ctn reset <Player> - resets a player's tab name to the defaultPrefix from config.yml
/ctn set <Player> <the name you want> - changes the tab list name of player.

Similar projects

Plugin →