Помогите PlaceholderAPI для JSON (Chatty)

Crafter999

Новичок
Пользователь
Баллы
16
Всем привет! Использую плагин chatty и в нем есть такая вещь как JSON... На фото со спигота видел там разные переменные, но в конфиге работает только {player} что делать? Или где взять список всех работающих переменных?
 
Для полноценной работы тебе требуется скачать в PAPI дополнения с требуемыми плейсхолдерами. Список здесь.
 
Отправь твой конфиг, я сравню
Код:
chats:
  admin:
   enable: true
   format: '&b[{player}&b] &e>&b {message}'
   range: -2
   cooldown: -1

  local:
    enable: true
    format: '&8[&e&lЛ&r&8]&r {prefix}{player}{suffix}&r &8»&f {message}'
    range: 200
    cooldown: -1

  global:
    enable: true
    format: '&8[&b&lГ&r&8]&r {prefix}{player}{suffix}&r &8»&f {message}'
    range: -2
    symbol: '!'
    cooldown: -1

# * JSON.
# Formatting chat messages with JSON.
# 1.7.10+.
json:
  # 1.7.10+
  enable: true

  # Command that executes (by player) when you click on the player's name.
  # Supports PlaceholderAPI.
  # *** You should use "command" OR "suggest_command" OR "link" and cannot combine.
  #
  # You can use "{player}" variable here.
  #command: ''

  # Command that suggests when you click on the player's name.
  # Supports PlaceholderAPI.
  # *** You should use "command" OR "suggest_command" OR "link" and cannot combine.
  #
  # You can use "{player}" variable here.
  suggest_command: '/m {player} '

  # URL that opens when when you click on the player's name.
  # You must use "http://" or "https://" prefix, else you will crash Minecraft client :D
  #
  # Supports PlaceholderAPI.
  #
  # You can use "{player}" variable here.
  #link: 'http://google.com'

  # Hover tooltip for the player's name.
  # Supports PlaceholderAPI.
  #
  # You can use "{player}" variable here.
  tooltip:
  - ' <javascript_theGrade> {player}'
  - ' &7Баланс: &a$<vault_eco_balance_fixed>'
  - ' &7Время игры: &6<statistic_hours_played> часов'
  - ' &7Убийств: &c<statistic_player_kills>'
  - ' &7Смертей: &c<statistic_deaths>'
  - ' &7Брак: <javascript_marry>'
 
Код:
chats:
  admin:
   enable: true
   format: '&b[{player}&b] &e>&b {message}'
   range: -2
   cooldown: -1

  local:
    enable: true
    format: '&8[&e&lЛ&r&8]&r {prefix}{player}{suffix}&r &8»&f {message}'
    range: 200
    cooldown: -1

  global:
    enable: true
    format: '&8[&b&lГ&r&8]&r {prefix}{player}{suffix}&r &8»&f {message}'
    range: -2
    symbol: '!'
    cooldown: -1

# * JSON.
# Formatting chat messages with JSON.
# 1.7.10+.
json:
  # 1.7.10+
  enable: true

  # Command that executes (by player) when you click on the player's name.
  # Supports PlaceholderAPI.
  # *** You should use "command" OR "suggest_command" OR "link" and cannot combine.
  #
  # You can use "{player}" variable here.
  #command: ''

  # Command that suggests when you click on the player's name.
  # Supports PlaceholderAPI.
  # *** You should use "command" OR "suggest_command" OR "link" and cannot combine.
  #
  # You can use "{player}" variable here.
  suggest_command: '/m {player} '

  # URL that opens when when you click on the player's name.
  # You must use "http://" or "https://" prefix, else you will crash Minecraft client :D
  #
  # Supports PlaceholderAPI.
  #
  # You can use "{player}" variable here.
  #link: 'http://google.com'

  # Hover tooltip for the player's name.
  # Supports PlaceholderAPI.
  #
  # You can use "{player}" variable here.
  tooltip:
  - ' <javascript_theGrade> {player}'
  - ' &7Баланс: &a$<vault_eco_balance_fixed>'
  - ' &7Время игры: &6<statistic_hours_played> часов'
  - ' &7Убийств: &c<statistic_player_kills>'
  - ' &7Смертей: &c<statistic_deaths>'
  - ' &7Брак: <javascript_marry>'
Ого, я на спиготе PAPI другие переменные брал... Заранее спасибо
 
Код:
chats:
  admin:
   enable: true
   format: '&b[{player}&b] &e>&b {message}'
   range: -2
   cooldown: -1

  local:
    enable: true
    format: '&8[&e&lЛ&r&8]&r {prefix}{player}{suffix}&r &8»&f {message}'
    range: 200
    cooldown: -1

  global:
    enable: true
    format: '&8[&b&lГ&r&8]&r {prefix}{player}{suffix}&r &8»&f {message}'
    range: -2
    symbol: '!'
    cooldown: -1

# * JSON.
# Formatting chat messages with JSON.
# 1.7.10+.
json:
  # 1.7.10+
  enable: true

  # Command that executes (by player) when you click on the player's name.
  # Supports PlaceholderAPI.
  # *** You should use "command" OR "suggest_command" OR "link" and cannot combine.
  #
  # You can use "{player}" variable here.
  #command: ''

  # Command that suggests when you click on the player's name.
  # Supports PlaceholderAPI.
  # *** You should use "command" OR "suggest_command" OR "link" and cannot combine.
  #
  # You can use "{player}" variable here.
  suggest_command: '/m {player} '

  # URL that opens when when you click on the player's name.
  # You must use "http://" or "https://" prefix, else you will crash Minecraft client :D
  #
  # Supports PlaceholderAPI.
  #
  # You can use "{player}" variable here.
  #link: 'http://google.com'

  # Hover tooltip for the player's name.
  # Supports PlaceholderAPI.
  #
  # You can use "{player}" variable here.
  tooltip:
  - ' <javascript_theGrade> {player}'
  - ' &7Баланс: &a$<vault_eco_balance_fixed>'
  - ' &7Время игры: &6<statistic_hours_played> часов'
  - ' &7Убийств: &c<statistic_player_kills>'
  - ' &7Смертей: &c<statistic_deaths>'
  - ' &7Брак: <javascript_marry>'
Нет... не работает... Какие версии плагинов PAPI и chatty ты используешь?
 
Код:
chats:
  admin:
   enable: true
   format: '&b[{player}&b] &e>&b {message}'
   range: -2
   cooldown: -1

  local:
    enable: true
    format: '&8[&e&lЛ&r&8]&r {prefix}{player}{suffix}&r &8»&f {message}'
    range: 200
    cooldown: -1

  global:
    enable: true
    format: '&8[&b&lГ&r&8]&r {prefix}{player}{suffix}&r &8»&f {message}'
    range: -2
    symbol: '!'
    cooldown: -1

# * JSON.
# Formatting chat messages with JSON.
# 1.7.10+.
json:
  # 1.7.10+
  enable: true

  # Command that executes (by player) when you click on the player's name.
  # Supports PlaceholderAPI.
  # *** You should use "command" OR "suggest_command" OR "link" and cannot combine.
  #
  # You can use "{player}" variable here.
  #command: ''

  # Command that suggests when you click on the player's name.
  # Supports PlaceholderAPI.
  # *** You should use "command" OR "suggest_command" OR "link" and cannot combine.
  #
  # You can use "{player}" variable here.
  suggest_command: '/m {player} '

  # URL that opens when when you click on the player's name.
  # You must use "http://" or "https://" prefix, else you will crash Minecraft client :D
  #
  # Supports PlaceholderAPI.
  #
  # You can use "{player}" variable here.
  #link: 'http://google.com'

  # Hover tooltip for the player's name.
  # Supports PlaceholderAPI.
  #
  # You can use "{player}" variable here.
  tooltip:
  - ' <javascript_theGrade> {player}'
  - ' &7Баланс: &a$<vault_eco_balance_fixed>'
  - ' &7Время игры: &6<statistic_hours_played> часов'
  - ' &7Убийств: &c<statistic_player_kills>'
  - ' &7Смертей: &c<statistic_deaths>'
  - ' &7Брак: <javascript_marry>'
скинь версии плагинов
 
скинь версии плагинов
> version placeholderapi
[12:10:17 INFO]: PlaceholderAPI version 2.10.2
[12:10:17 INFO]: An awesome placeholder provider!
[12:10:17 INFO]: Authors: extended_clip and Glare
> version chatty
[12:10:22 INFO]: Chatty version 2.7
[12:10:22 INFO]: Author: MrBrikster
 
Назад
Верх Низ