S

ตั่งค่าไฟล์ config ให้ดูสวยงามมากขึ้น

📎 1 file 5,790 chars
📄
config.yml
yml 215 lines
▶
header-footer:
  enabled: true
  designs:
    world-world1:
      display-condition: '%world%=world1'
      header:
      - an example of world with custom
      footer:
      - header/footer and prefix/suffix
    world-world2;world3:
      display-condition: '%world%=world2|%world%=world3'
      header:
      - This is a shared header for
      - world2 and world3
      footer: []
    server-server1:
      display-condition: '%server%=server1'
      header:
      - an example of server with custom header
      footer: []
    default:
      display-condition: '%world%!=disabledworld'
      header:
      - ''
      - " ᕲFFɴᴏɴ-ɴᴏɪ ꜱᴍᴘ "
      - ''
      - 'BFFBFผู้เล่นออนไลน์ %online%/50'
      - '       '
      footer:
      - '       '
      - ''
tablist-name-formatting:
  enabled: true
  disable-condition: '%world%=disabledworld'
scoreboard-teams:
  enabled: true
  enable-collision: true
  invisible-nametags: false
  sorting-types:
  - GROUPS:owner,admin,g,f,e,d,c,b,a,default
  - PLACEHOLDER_A_TO_Z:%player%
  case-sensitive-sorting: true
  can-see-friendly-invisibles: false
  disable-condition: '%world%=disabledworld'
playerlist-objective:
  enabled: true
  value: '%ping%'
  fancy-value: '&7Ping: %ping%'
  title: Java Edition is better
  render-type: INTEGER
  disable-condition: '%world%=disabledworld'
belowname-objective:
  enabled: false
  value: '%health%'
  title: '&c❤'
  fancy-value: '&c%health%'
  fancy-value-default: NPC
  disable-condition: '%world%=disabledworld'
prevent-spectator-effect:
  enabled: false
bossbar:
  enabled: false
  toggle-command: /bossbar
  remember-toggle-choice: false
  hidden-by-default: false
  bars:
    ServerInfo:
      style: PROGRESS
      color: PINK
      progress: ' 100'
      text: ' #00ff15เวลาโลก #00f7ff%rs_time%'
scoreboard:
  enabled: true
  toggle-command: /sb
  remember-toggle-choice: true
  hidden-by-default: true
  delay-on-join-milliseconds: 0
  scoreboards:
    scoreboard-1.20.3+:
      title: "ᕲFFɴᴏɴ-ɴᴏɪ ꜱᴍᴘ"
      display-condition: "%player-version-id%>=765;%bedrock%=false" # Only display it to players using 1.20.3+ AND NOT bedrock edition
      lines:
      - ''
      - '�FFF5ชื่อ &8&l &f%player_name%'
      - '�FFF5ระดับ&7 &r%luckperms_prefix%'
      - '�FFF5เงิน &8&l &f%vault_eco_balance_formatted%'
      - '�FFF5ฆ่า/ตาย &8&l &f%statistic_player_kills% / %statistic_deaths%'
      - '�FFF5เวลาการเล่น &8&l &f%statistic_hours_played%h %statistic_time_played:minutes%m'
      - '�FFF5บล็อกการป้องกันบ้าน&8&l &f%protectionstones_currentplayer_num_of_owned_regions%'
      - '�FFF5ออนไลน์:  &f%online% / &f50'
      #- '�FFF5พิกัด &f%player_x%/%player_y%/%player_z%'
      - ''
      - '�FFF5เน็ต &8&l &f%player_ping%'
      - '�FFF5พิมพ์ /sb เพื่อเปิด - ปิด'
    scoreboard:
      title: "ᕲFFɴᴏɴ-ɴᴏɪ ꜱᴍᴘ"
      lines:
      - ''
      - '�FFF5ชื่อ &8&l &f%player_name%'
      - '�FFF5ระดับ&7 &r%luckperms_prefix%'
      - '�FFF5เงิน &8&l &f%vault_eco_balance_formatted%'
      - '�FFF5ฆ่า/ตาย &8&l &f%statistic_player_kills% / %statistic_deaths%'
      - '�FFF5เวลาการเล่น &8&l &f%statistic_hours_played%h %statistic_time_played:minutes%m'
      - '�FFF5บล็อกการป้องกันบ้าน&8&l &f%protectionstones_currentplayer_num_of_owned_regions%'
      - '�FFF5ออนไลน์:  &f%online% / &f50'
      #- '�FFF5พิกัด &f%player_x%/%player_y%/%player_z%'
      - ''
      - '�FFF5เน็ต &8&l &f%player_ping%'
      - '�FFF5พิมพ์ /sb เพื่อเปิด - ปิด'
layout:
  enabled: false
  direction: COLUMNS
  default-skin: mineskin:6b7c1ebb-87fa-4f64-91a5-d64d8201f47d
  enable-remaining-players-text: true
  remaining-players-text: '... and %s more'
  empty-slot-ping-value: 1000
  layouts:
    default:
      fixed-slots: []
      groups:
        players:
          slots:
          - 1-80
ping-spoof:
  enabled: false
  value: 0
placeholders:
  date-format: dd.MM.yyyy
  time-format: '[HH:mm:ss / h:mm a]'
  time-offset: 0
  register-tab-expansion: false
  locale: en-US
placeholder-output-replacements:
  '%essentials_vanished%':
    'yes': '&7| Vanished'
    'no': ''
conditions:
  nick:
    conditions:
    - '%player%=%essentials_nickname%'
    true: '%player%'
    false: ~%essentials_nickname%
placeholder-refresh-intervals:
  default-refresh-interval: 500
  '%server_uptime%': 1000
  '%server_tps_1_colored%': 1000
  '%server_unique_joins%': 5000
  '%player_health%': 200
  '%player_ping%': 1000
  '%vault_prefix%': 1000
  '%rel_factionsuuid_relation_color%': 1000
assign-groups-by-permissions: false
primary-group-finding-list:
- Owner
- Admin
- Mod
- Helper
- default
permission-refresh-interval: 1000
debug: false
mysql:
  enabled: false
  host: 127.0.0.1
  port: 3306
  database: tab
  username: user
  password: password
  useSSL: true
proxy-support:
  enabled: true
  type: PLUGIN
  plugin:
    name: RedisBungee
  redis:
    url: redis://:password@localhost:6379/0
  rabbitmq:
    exchange: plugin
    url: amqp://guest:guest@localhost:5672/%2F
  channel-name-suffix: TAB
per-world-playerlist:
  enabled: false
  allow-bypass-permission: false
  ignore-effect-in-worlds:
  - ignoredworld
  - build
  shared-playerlist-world-groups:
    lobby:
    - lobby1
    - lobby2
    minigames:
    - paintball
    - bedwars
compensate-for-packetevents-bug: false
global-playerlist:
  enabled: false
  display-others-as-spectators: false
  display-vanished-players-as-spectators: true
  isolate-unlisted-servers: false
  update-latency: false
  spy-servers:
  - spyserver1
  - spyserver2
  server-groups:
    lobbies:
    - lobby1
    - lobby2
    group2:
    - server1
    - server2
use-bukkit-permissions-manager: false
use-online-uuid-in-tablist: true
config-version: 6
components:
  minimessage-support: true
  disable-shadow-for-heads: true
Kodari AI
KodariAug 7 at 5:17 am 1
TabConfigBeautifier
Plugin that enhances TAB plugin configuration files by restructuring and beautifying YAML formatting. It automatically reformats config.yml with improved indentation, organized sections, and cleaner visual presentation while preserving all functional values and comments. Provides readable, well-structured configuration output for server administrators.

วางไฟล์นี้ไว้ที่โฟลเดอร์ปลั๊กอิน TAB:

plugins/TAB/config.yml

Kodari can make mistakes. Review important code before using.
Files
config.yml
Code
1 316
config.yml
# ╔══════════════════════════════════════════════════════════════╗
# ║                         TAB Configuration                    ║
# ║                         NON-NOI SMP                           ║
# ╚══════════════════════════════════════════════════════════════╝

# ─────────────────────────────────────────────────────────────────
# Header & Footer
# ─────────────────────────────────────────────────────────────────
header-footer:
  enabled: true

  designs:
    world-world1:
      display-condition: '%world%=world1'
      header:
        - an example of world with custom
      footer: []

    world-world2;world3:
      display-condition: '%world%=world2|%world%=world3'
      header:
        - This is a shared header for
        - world2 and world3
      footer: []

    server-server1:
      display-condition: '%server%=server1'
      header:
        - an example of server with custom header
      footer: []

    default:
      display-condition: '%world%!=disabledworld'
      header:
        - ''
        - ' &#5490FFɴᴏɴ-ɴᴏɪ ꜱᴍᴘ '
        - ''
        - '&#3BFFBFผู้เล่นออนไลน์ %online%/50'
        - '       '
      footer:
        - '       '
        - ''

# ─────────────────────────────────────────────────────────────────
# Tablist
# ─────────────────────────────────────────────────────────────────
tablist-name-formatting:
  enabled: true
  disable-condition: '%world%=disabledworld'

# ─────────────────────────────────────────────────────────────────
# Scoreboard Teams
# ─────────────────────────────────────────────────────────────────
scoreboard-teams:
  enabled: true
  enable-collision: true
  invisible-nametags: false
  sorting-types:
    - 'GROUPS:owner,admin,g,f,e,d,c,b,a,default'
    - 'PLACEHOLDER_A_TO_Z:%player%'
  case-sensitive-sorting: true
  can-see-friendly-invisibles: false
  disable-condition: '%world%=disabledworld'

# ─────────────────────────────────────────────────────────────────
# Playerlist Objective
# ─────────────────────────────────────────────────────────────────
playerlist-objective:
  enabled: true
  value: '%ping%'
  fancy-value: '&7Ping: %ping%'
  title: 'Java Edition is better'
  render-type: INTEGER
  disable-condition: '%world%=disabledworld'

# ─────────────────────────────────────────────────────────────────
# Below-name Objective
# ─────────────────────────────────────────────────────────────────
belowname-objective:
  enabled: false
  value: '%health%'
  title: '&c❤'
  fancy-value: '&c%health%'
  fancy-value-default: NPC
  disable-condition: '%world%=disabledworld'

# ─────────────────────────────────────────────────────────────────
# Spectator Effect
# ─────────────────────────────────────────────────────────────────
prevent-spectator-effect:
  enabled: false

# ─────────────────────────────────────────────────────────────────
# Bossbar
# ─────────────────────────────────────────────────────────────────
bossbar:
  enabled: false
  toggle-command: /bossbar
  remember-toggle-choice: false
  hidden-by-default: false

  bars:
    ServerInfo:
      style: PROGRESS
      color: PINK
      progress: ' 100'
      text: ' #00ff15เวลาโลก #00f7ff%rs_time%'

# ─────────────────────────────────────────────────────────────────
# Scoreboard
# ─────────────────────────────────────────────────────────────────
scoreboard:
  enabled: true
  toggle-command: /sb
  remember-toggle-choice: true
  hidden-by-default: true
  delay-on-join-milliseconds: 0

  scoreboards:
    scoreboard-1.20.3+:
      title: 'Р5490FFɴᴏɴ-ɴᴏɪ ꜱᴍᴘ'
      display-condition: '%player-version-id%>=765;%bedrock%=false'
      lines:
        - ''
        - '&#00FFF5ชื่อ &8&l &f%player_name%'
        - '&#00FFF5ระดับ&7 &r%luckperms_prefix%'
        - '&#00FFF5เงิน &8&l &f%vault_eco_balance_formatted%'
        - '&#00FFF5ฆ่า/ตาย &8&l &f%statistic_player_kills% / %statistic_deaths%'
        - '&#00FFF5เวลาการเล่น &8&l &f%statistic_hours_played%h %statistic_time_played:minutes%m'
        - '&#00FFF5บล็อกการป้องกันบ้าน&8&l &f%protectionstones_currentplayer_num_of_owned_regions%'
        - '&#00FFF5ออนไลน์:  &f%online% / &f50'
        # - '&#00FFF5พิกัด &f%player_x%/%player_y%/%player_z%'
        - ''
        - '&#00FFF5เน็ต &8&l &f%player_ping%'
        - '&#00FFF5พิมพ์ /sb เพื่อเปิด - ปิด'

    scoreboard:
      title: 'Р5490FFɴᴏɴ-ɴᴏɪ ꜱᴍᴘ'
      lines:
        - ''
        - '&#00FFF5ชื่อ &8&l &f%player_name%'
        - '&#00FFF5ระดับ&7 &r%luckperms_prefix%'
        - '&#00FFF5เงิน &8&l &f%vault_eco_balance_formatted%'
        - '&#00FFF5ฆ่า/ตาย &8&l &f%statistic_player_kills% / %statistic_deaths%'
        - '&#00FFF5เวลาการเล่น &8&l &f%statistic_hours_played%h %statistic_time_played:minutes%m'
        - '&#00FFF5บล็อกการป้องกันบ้าน&8&l &f%protectionstones_currentplayer_num_of_owned_regions%'
        - '&#00FFF5ออนไลน์:  &f%online% / &f50'
        # - '&#00FFF5พิกัด &f%player_x%/%player_y%/%player_z%'
        - ''
        - '&#00FFF5เน็ต &8&l &f%player_ping%'
        - '&#00FFF5พิมพ์ /sb เพื่อเปิด - ปิด'

# ─────────────────────────────────────────────────────────────────
# Tablist Layout
# ─────────────────────────────────────────────────────────────────
layout:
  enabled: false
  direction: COLUMNS
  default-skin: 'mineskin:6b7c1ebb-87fa-4f64-91a5-d64d8201f47d'
  enable-remaining-players-text: true
  remaining-players-text: '... and %s more'
  empty-slot-ping-value: 1000

  layouts:
    default:
      fixed-slots: []
      groups:
        players:
          slots:
            - 1-80

# ─────────────────────────────────────────────────────────────────
# Ping Spoof
# ─────────────────────────────────────────────────────────────────
ping-spoof:
  enabled: false
  value: 0

# ─────────────────────────────────────────────────────────────────
# Placeholder Settings
# ─────────────────────────────────────────────────────────────────
placeholders:
  date-format: dd.MM.yyyy
  time-format: '[HH:mm:ss / h:mm a]'
  time-offset: 0
  register-tab-expansion: false
  locale: en-US

placeholder-output-replacements:
  '%essentials_vanished%':
    'yes': '&7| Vanished'
    'no': ''

conditions:
  nick:
    conditions:
      - '%player%=%essentials_nickname%'
    true: '%player%'
    false: ~%essentials_nickname%