Skip to content

Version 1.5.2

Compare
Choose a tag to compare
@Tanguygab Tanguygab released this 14 Mar 17:55
· 431 commits to main since this release

[+] Added mentions for chat, enable them in the chat.yml file and you can edit the input (what you need to enter mention someone) and edit the output (what will appear in the message)
[~] Fixed some problems with Real Fake Players' skins
[~] Fixed some flickering problems with Layout
[+] Added texture:<texture> for skins/icons! This means you can now use custom heads from Minecraft Heads, You just need to put the text right below Minecraft-URL on a head's page
image
[+] New PlaceholderAPI placeholder: %tabadditions_fakeplayers_amount% can be useful if you want online players count + fakeplayers I guess
[+] Added Only You feature (Bukkit only) to show only yourself ingame and in the tablist, don't ask me why I did this, idk
[+] Added DiscordSRV support to send Chat messages to Discord
[+] Added tabadditions.chat.color.<&colorcode> and tabadditions.chat.color.rgb permissions to allow or prevent players from using colors in chat
[+] Added new placeholders (rfp = real fake player)

  • %canseeworldonline% : mix of %canseeonline% and %worldonline%
  • %onlinerfp% = %online% + rfps
  • %canseeonlinerfp% : %canseeonline% + rfps
  • %canseeworldonlinerfp% : %canseeworldonline% + rfps

[~] Chat now uses TAB's conditions system, so use %placeholder%=test in condition to check for something for example, check this for more conditions (and YES you can use this with TAB free)
[+] Chat formats now support channels and view-conditions! Example:

chat-formats:
  vip:
    condition: '%luckperms_groups%<-vip'
    if-condition-not-met: default
    channel: "vip"
    view-condition: "inRange:30"
  • The condition is the condition that must be met by the message sender so they can use this format, else, they will use the format in if-condition-not-met.
  • The channel is like a group of people, the plugin will check the chat format of each players and will get their channel name, if it matches the same as the one of the message sender, the message will be sent to the player. Example: chat format vip uses channel vip, format default uses channel global, Tanguygab sends a and has the chat format vip, AgentSecret has the chat format default, which means that Tanguygab uses the channel vip and AgentSecret uses the channel global. Since the sender's channel (Tanguygab) and the viewer's channel (AgentSecret) aren't the same, the message isn't sent.
    Yeah, I know, it's complex... If you need help, come on TAB's discord in the #addon-chat channel and I'll try to help.
  • The view-condition is a condition, like condition, but instead of checking on the sender, it checks if the viewer meets the condition. If he doesn't, he won't see the message. I have added a new condition type for that purpose: inRange:<number> so players will only see the message if they are in of blocks from the sender. You can still use TAB's condition just like the normal condition. You can use %sender:<placeholder>% and %viewer:<placeholder>% to parse placeholders for the message sender or the viewer
    Channels work with DiscordSRV, if you configured a channel for a chat format called for example vip and that you got a vip channel set in DiscordSRV's config, the message will be sent there instead of the main channel. If a discord channel for that chat channel doesn't exist, the message won't be sent. If a format has a view-condition, it won't be sent to Discord at all.

You will get a new file called skins.yml in your TAB-Additions folder, it's normal, I use it to store skins textures so I don't need to always fetch them online. You don't need to touch it.