Вопрос Отображение суффикса в табе.

ROYDIK

Пользователь
Сообщения
60
Плагин
PermissionsEX TAB Premium
Ядро сервера
  1. Paper
Версия сервера
  1. 1.19
Пользуюсь плагинами TAB Premium и PermissionsEX. Ставлю себе суффикс через pex, в чате он появляется (chatty) ибо там гибкая настройка того как сообщения выглядят. А в табе ничего, как исправить? В конфиге порылся - ничего
 
YAML:
# Detailed explanation of all options available at [URL]https://github.com/NEZNAMY/TAB/wiki/config.yml[/URL]

#changing nametags, affecting sorting, collision rule
change-nametag-prefix-suffix: true

#prefix/suffix in tablist
change-tablist-prefix-suffix: true

#header/footer
enable-header-footer: true

header:
  - "&6&las#ap"
  - "&7Онлайн: &f%online%"
  - "&8&l‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒"
footer:
  - "&8&l‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒"
  - "&7Мир: &a&lОбычный мир"
  - '%animation:TPS%'

#supports any numeric placeholder, set to "" to disable the feature
yellow-number-in-tablist: "%ping%"

#literally what it says
group-sorting-priority-list:
  - Administrator
  - Moderator
  - Helper
  - Player

Groups:
  Owner:
    tabprefix: "&0&l[&a&lOwner&0&l] &a"
    tagprefix: "&2&lOwner &a"
  Admin:
    tabprefix: "&0&l[&4&lAdmin&0&l] &1"
    tagprefix: "%animation:admin_prefix%"
  Player:
    tabprefix: "&0&l[&7&lPlayer&0&l] &3"
    tagprefix: "&2&lPlayer &3"
  example_group:
    header:
      - "This is an example of per-group header/footer"
    footer:
      - "applied to a group"
    
  #default settings for all groups, all groups will take properties from this section unless player's primary group overrides a specific setting
  _OTHER_:
    tabprefix: "%vault-prefix%"
    tagprefix: "%vault-prefix%"
    tabsuffix: "%afk%"
    tagsuffix: "%afk%"
    customtabname: "%essentialsnick%"
    customtagname: "%essentialsnick%"

Users:
  _NEZNAMY_:
    tabprefix: "&6&lTAB Author &a"
    tagprefix: "&6&lTAB &r&a"
    abovename: "&bOh look, 3 lines of text !"
    belowname: "&eThere's only one plugin out there supporting it"

#additional very limited line of text below nametag
#don't forget this enables on all player entities, which includes NPCs
#tags so you can find this section using the mighty ctrl + f feature: [NPC, Citizens, below_name, health]
classic-vanilla-belowname:

  #enabling the feature
  enabled: true

  #number or numeric placeholder, supports per-player placeholders
  number: "%health%"

  #text after number, must be same on all players
  text: "Health"

#controlling the collision rule
enable-collision: true

#using the opposite of the setting above for worlds
revert-collision-rule-in-worlds:
  - revertedworld

#preventing players with spectator gamemode from being moved to the bottom of tablist with transparent name
do-not-move-spectators: false

#allows players with tab.spectatorbypass permission to see spectators moved despite the option above enabled
allow-spectator-bypass-permission: false

#using armor stands for nametags, bypassing all limits
#THEY ARE CLIENT SIDED AND DO NOT EXIST ON SERVER SO STOP SAYING YOUR SERVER IS LAGGING FROM THIS
unlimited-nametag-prefix-suffix-mode:

  #enabling the feature
  enabled: true

  #enabling will result in NPCs ignoring nametag prefix/suffix/visibility to prevent NPCs with names of online players from being invisible
  modify-npc-names: false

  #using a feature introduced in 1.8.1 to make hitbox zero so you can't cry it affects pvp despite hit redirection
  #1.8.0 clients will see wild things
  #automatically enabled for 1.9+
  use-marker-tag-for-1-8-x-clients: false

  #disabling the feature for players riding boats to prevent massive desync
  disable-on-boats: true

per-world-settings:
  world_nether:
    header:
      - "&6&las#ap"
      - "&7Онлайн: &f%online%"
      - "&8&l‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒"
    footer:
      - "&8&l‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒"
      - "&7Мир: &c&lАд"
      - '%animation:TPS%'
    Groups:
      Owner:
        tabprefix: "&0&l[&a&lOwner&0&l] &a"
        tagprefix: "&2&lOwner &a"
      
  #separating multiple worlds with "-"
  world_the_end:
    header:
      - "&6&las#ap"
      - "&7Онлайн: &f%online%"
      - "&8&l‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒"
    footer:
      - "&8&l‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒"
      - "&7Мир: &5&lКрай"
      - '%animation:TPS%'

placeholders:
  #output of %afk%
  afk-yes: " &7Zzz.."
  afk-no: ""

  #%date%
  date-format: "dd.MM.yyyy"

  #%time%
  time-format: "[HH:mm:ss / h:mm a]"

  #in hours, in case of wrong timezone
  time-offset: 0

  #don't forget color codes
  remove-strings:
    - "[]"
    - "< >"
  
#aliases for %rank%, this is not the place where group prefix is defined!
rank-aliases:
  Admin: "&4&lADMIN"
  Mod: "&b&lMOD"
  Premium: "&6&lPREMIUM"
  Ultra: "&b&lULTRA"
  Legend: "&a&lLEGEND"
  Titan: "&c&lTITAN"
  Youtuber: "&c&lYOUTUBE"
  _OTHER_: "&7No Rank"

disable-features-in-worlds:
  header-footer:
    - disabledworld
  tablist-names:
    - disabledworld
  nametag:
    - disabledworld
  yellow-number:
    - disabledworld
  bossbar:
    - disabledworld
  belowname:
    - disabledworld

placeholderapi-refresh-intervals:
  default-refresh-interval: 100
  server:
    "%server_uptime%": 1000
    "%server_tps_1_colored%": 1000
  player:
    "%player_health%": 200
    "%player_ping%": 1000
    "%vault_prefix%": 1000
  relational:
    "%rel_factionsuuid_relation_color%": 500
  
#different playerlist in different worlds
per-world-playerlist:

  #to enable the feature
  enabled: false

  #allows players with tab.bypass permission to see everyone in tablist despite this option enabled
  allow-bypass-permission: false

  #players in these worlds will see everyone despite the feature enabled
  ignore-effect-in-worlds:
    - ignoredworld
    - build
  
  #groups of worlds to share playerlist
  shared-playerlist-world-groups:
    #group name, can be anything
    lobby:
      - lobby1
      - lobby2
    minigames:
      - paintball
      - bedwars

#permission node is tab.sort.<permission group from sorting list>
sort-players-by-permissions: false

#making tamed animals no longer copy nametag properties from their owner (prefix/suffix/visibility)
#do not enable this if you're on paper, you'll feed the trolls even more
fix-pet-names: false

#taking primary group from permission plugin
use-primary-group: true

#if the option above is false, all groups are taken from permission plugin and the one higher in this list is used as primary
primary-group-finding-list:
  - Owner
  - Admin
  - Helper
  - default

#if none of the above fits your needs, you can enable this to give groups using tab.group.<group name from the list above> permission
assign-groups-by-permissions: false
 
Последнее редактирование модератором:
Я правильно понимаю, ты эти строчки не нашел?:)
YAML:
Groups:
  Owner:
    tabprefix: "&0&l[&a&lOwner&0&l] &a"
    tagprefix: "&2&lOwner &a"
  Admin:
    tabprefix: "&0&l[&4&lAdmin&0&l] &1"
    tagprefix: "%animation:admin_prefix%"
  Player:
    tabprefix: "&0&l[&7&lPlayer&0&l] &3"
    tagprefix: "&2&lPlayer &3"
 
Последнее редактирование:
YAML:
change-nametag-prefix-suffix: true
change-tablist-prefix-suffix: true
enable-header-footer: true
header:
- 'Онлайн: %online%/%maxplayers%'
- '---------------'
footer:
- '---------------'
yellow-number-in-tablist: ''
group-sorting-priority-list:
- s9
- default
Groups:
  default:
    tabprefix: '[Игрок]'
    tagprefix: '%vault-prefix% '
    tagsuffix: ' %cmi_user_rank%'
По аналогии можно разобраться и оформить каждую группу под себя, можно так же использовать для всех групп стандартный header и footer, а можно в каждой группе добавить отдельный, если к примеру у тебя группы выдаются на время, с использованием javascript.
Вот пример из этого же конфига одной из групп с привилегиями:
YAML:
s9:
    tabprefix: '|9|'
    tagprefix: '%vault-prefix% '
    tagsuffix: ' %cmi_user_rank%'
    header:
    - 'Онлайн: %online%/%maxplayers%'
    - 'Время привилегии: '
    - '%javascript_s9% '
    - '--------------------'
    footer:
    - '--------------------'
    - 'Бессмертие: %cmi_user_tgod_formatted%'
    - 'Полёт: %cmi_user_canfly%'
    - 'Регион: %javascript_hasregion%'
    - 'Владелец: %javascript_hasowner%'
 
Последнее редактирование модератором:
Назад
Сверху Снизу