Вопрос Баг со цветами в PEX

A-Lena

Пользователь
Сообщения
104
Плагин
PermissionEX
Ядро сервера
  1. Spigot
Версия сервера
  1. 1.12.2
Память сервера ОЗУ
4Gb
Здравствуйте, Форумчане!
--

К проблеме:
Как мы знаем в PEX можно делать префиксы, которые можно приукрашивать специальными цветовыми кодами. Когда я делаю стиль шрифта Bold (&l), появляется в конце префикс значок "&".

--
Как это исправить?

--

Некоторые нужные элементы:
Вам необходимо зарегистрироваться для просмотра изображений-вложений
Код:
groups:
Игрок:
    options:
      rank: '1000'
      default: true
      prefix: '&8〔&7Игрок&8〕 &f'
    permissions:
    - authme.register
    - authme.login
    - authme.changepassword
    - modifyworld.*
    - chatex.allowchat
    - ab.mute.notify
    - ab.ban.notify
    - ab.tempban.notify
    - chatex.chat.global
    - itemjoin.use
    - nte.player
    - ab.warn.notify
    - essentials.spawn
    - ab.tempwarn.notify
    - essentials.more
    - ab.ipban.notify
    - ab.kick.notify
    - essentials.sethome
    - essentials.home
    - essentials.msg
    - essentials.balance
    - dynpad.*
    - essentials.kit
    - essentials.kits.starter
    - essentials.warp
    - essentials.tpa
    - essentials.tpaccept
    - essentials.tpdeny
    - worldguard.region.addmember.own.*
    - worldguard.region.addowner.own.*
    - worldguard.region.flag.flags.pvp.*
    - worldguard.region.flag.regions.own.*
    - worldguard.region.info.*
    - worldguard.region.remove.own.*
    - worldguard.region.removemember.own.*
    - worldguard.region.removeowner.own.*
    - worldguard.region.select.own.*
    - essentials.seen
    - CrazyAuctions.Access
    - CrazyAuctions.Bid
    - CrazyAuctions.Bid.128
    - CrazyAuctions.Sell
    - CrazyAuctions.Sell.128
    - chatty.chat.global
    - chatty.chat.local
    - chatty.command.reply
    - essentials.ping
  lite:
    inheritance:
    - Игрок
    options:
      rank: '900'
      default: false
      prefix: '&8〔&bʟɪᴛᴇ&8〕 &f'
    permissions:
    - trail.heart
    - trail.snowball
    - trail.cloud
    - essentials.afk
    - essentials.afk.kickexempt
    - nte.lite
    - essentials.ignore
    - betterrtp.use
    - betterrtp.world.*
    - donate.ruby
    - -essentials.kits.crystal
    - essentials.kits.ruby
    - acidisland.island.range.130
    - acidisland.team.maxsize.12
    - essentials.ptime
    - essentials.clearinventory
  lamus:
    inheritance:
    - lite
    options:
      rank: '800'
      default: false
      prefix: '&8〔&dʟᴀᴍᴜs&8〕 &f'
    permissions:
    - essentials.tpa
    - essentials.tpaccept
    - nte.lamus
    - essentials.tpdeny
    - essentials.warp
    - betterrtp.bypass.delay
    - betterrtp.bypass.cooldown
    - CrazyAuctions.View
    - donate.titan
    - -essentials.kits.ruby
    - essentials.kits.titan
    - acidisland.island.range.140
    - acidisland.team.maxsize.15
  pharaon:
    inheritance:
    - lamus
    options:
      rank: '800'
      default: false
      prefix: '&8〔&eᴘʜᴀʀᴀᴏɴ&8〕 &f'
    permissions:
    - essentials.nick
    - donate.warden
    - essentials.kits.titan
    - nte.pharaon
    - essentials.kits.ruby
    - essentials.kits.crystal
    - essentials.kits.iron
    - acidisland.island.range.170
    - acidisland.team.maxsize.18
  magnat:
    inheritance:
    - pharaon
    options:
      rank: '700'
      default: false
      prefix: '&8〔&eᴍᴀɢɴᴀᴛ&8〕 &f'
    permissions:
    - essentials.invsee
    - essentials.nick.others
    - nte.magnat
    - essentials.realname
  fantom:
    inheritance:
    - magnat
    options:
      rank: '400'
      default: false
      prefix: '&8〔&5ꜰᴀɴᴛᴏᴍ&8〕 &f'
    permissions:
    - essentials.fly.*
    - nte.fantom
  GG:
    inheritance:
    - fantom
    options:
      rank: '300'
      default: false
      prefix: '&7〔&6GG&7〕 &f'
    permissions:
    - essentials.gamemode
    - essentials.gamemode.creative
    - essentials.gamemode.survival
    - nte.gg
    - openaudiomc.*
    - openaudiomc.speakers.*
    - openaudiomc.speakers.create
    - openaudiomc.speakers.destroy
  builder:
    inheritance:
    - GG
    options:
      rank: '400'
      default: false
      prefix: '&7〔&2ʙᴜɪʟᴅᴇʀ&7〕 &f'
    permissions:
    - worldedit.*
    - nte.builder
  moder:
    inheritance:
    - builder
    options:
      rank: '4'
      default: false
      prefix: '&7〔&9&lᴍᴏᴅᴇʀᴀᴛᴏʀ&7〕 &f'
    permissions:
    - adminchat.channel.adminchat
    - essentials.tp
    - essentials.tp.others
    - essentials.realname
    - nte.moder
    - ab.kick.use
    - ab.mute.perma
    - ab.mute.temp
    - ab.banlist
    - ab.history
    - ab.mute.exempt
    - ab.mute.undo
    - essentials.whois
    - essentials.list.hidden
    - essentials.gamemode
    - essentials.gamemode.creative
    - essentials.gamemode.survival
    - essentials.gamemode.spectator
    - tigerreports.report.exempt
    - tigerreports.staff.teleport
    - tigerreports.staff.archive
    - essentials.gamemode.creative
    - essentials.gamemode.survival
    - essentials.gamemode.spectator
  youtube:
    inheritance:
    - builder
    options:
      rank: '5'
      default: false
      prefix: '&f〔&c&lYouTuber&f〕 &f'
    permissions:
    - adminchat.channel.adminchat
    - essentials.tp
    - essentials.tp.others
    - nte.youtube
    - ab.kick.use
    - ab.kick.exempt
    - essentials.realname
    - essentials.whois
    - am.fplayer
    - essentials.list.hidden
    - ab.mute.perma
    - ab.mute.temp
    - ab.banlist
    - ab.ban.perma
    - ab.ban.temp
    - ab.ban.exempt
    - tigerreports.staff.delete
    - tigerreports.staff.advanced
    - essentials.warp
    - ab.ban.undo
    - ab.tempban.exempt
    - ab.history
    - ab.mute.exempt
    - ab.mute.undo
    - essentials.gamemode
    - essentials.gamemode.creative
    - essentials.gamemode.survival
    - essentials.gamemode.spectator
  fplayer:
    inheritance:
    - builder
    options:
      rank: '1000'
      default: false
      prefix: '&8〔&7Игрок&8〕 &f'
    permissions:
    - adminchat.channel.adminchat
    - essentials.tp
    - essentials.tp.others
    - ab.kick.use
    - ab.kick.exempt
    - essentials.realname
    - essentials.whois
    - essentials.list.hidden
    - am.fplayer
    - ab.mute.perma
    - ab.mute.temp
    - ab.banlist
    - ab.ban.perma
    - ab.ban.temp
    - ab.ban.exempt
    - tigerreports.staff.delete
    - tigerreports.staff.advanced
    - essentials.warp
    - ab.ban.undo
    - ab.tempban.exempt
    - ab.history
    - ab.mute.exempt
    - ab.mute.undo
    - essentials.gamemode
    - essentials.gamemode.creative
    - essentials.gamemode.survival
    - essentials.gamemode.spectator
  admin:
    inheritance:
    - moder
    options:
      rank: '3'
      default: false
      prefix: '&8〔&6&lᴀᴅᴍɪɴɪsᴛʀᴀᴛᴏʀ&8〕 &f'
    permissions:
    - worldedit.*
    - essentials.kill
    - essentials.kill.force
    - nte.admin
    - ab.ban.perma
    - ab.ban.temp
    - ab.ban.exempt
    - tigerreports.staff.delete
    - tigerreports.staff.advanced
    - essentials.warp
    - ab.ban.undo
    - ab.tempban.exempt
    - essentials.geoip.show
  mainadmin:
    inheritance:
    - admin
    options:
      rank: '2'
      default: false
      prefix: '&8〔&b&lГ.А&8〕 &f'
    permissions:
    - ab.ipban.perma
    - ab.ipban.temp
    - ab.warn.exempt
    - ab.ipban.exempt
    - nte.mainadmin
    - ab.warn.perma
    - ab.warn.temp
    - ab.tempwarn.exempt
    - ab.warn.undo
    - ab.warns.other
    - ab.tempipban.exempt
  tehadmin:
    inheritance:
    - mainadmin
    options:
      rank: '0'
      default: false
      prefix: '&8〔&c&lЗаместитель&8〕 &f'
      suffix: wdwdw
    permissions:
    - '*'
    - nte.tehadmin
  owner:
    inheritance:
    - tehadmin
    options:
      rank: '1'
      default: false
      prefix: '&8[&4&lOWNER&8] &f'
    permissions:
    - '*'
    - nte.owner
 
Привет. Можно настройки боковой панели?
Да, конечно.
--
Код:
############################################################
# +------------------------------------------------------+ #
# |                       Notes                          | #
# +------------------------------------------------------+ #
############################################################

# Config comment style borrowed from the Essentials config.
#
# If you want to use special characters (ASCII, UTF-8 characters) in the config, you need to save the file as UTF-8.
#   - If you don't know how this is done, you can see the guide on the wiki: https://github.com/Puharesource/TitleManager/wiki/Unicode---UTF-8-characters-for-TitleManager
#
# Config errors, such as the plugin not loading or the config resetting can be fixed by ensuring that:
#   - No tabs are present: YAML only allows spaces.
#   - You have escaped all apostrophes or quotes in your text:
#      - If you surround your text with apostrophes like this 'don't', double all of your apostrophes like this: 'don''t'
#      - If you surround your text with quotes like this "Quote: "hello"", switch to apostrophes instead like this 'Quite: "hello"'.
#
# If you've got problems:
#   - Join the Discord server here: https://discord.gg/NwdtW2d
#   - Write a ticket on the Issue Tracker here: https://github.com/Puharesource/TitleManager/issues
#
# 1 second = 20 ticks
#
# For more information check: https://github.com/Puharesource/TitleManager/wiki

############################################################
# +------------------------------------------------------+ #
# |                       General                        | #
# +------------------------------------------------------+ #
############################################################

# Never change this value
config-version: 5

# Toggles debug mode, which prints additional information when the plugin does something.
debug: false

# Toggles whether or not all of the features of TitleManager will be toggled.
using-config: true

# Toggles whether or not all of the BungeeCord functionality will be toggled.
using-bungeecord: false

# (Feature only works on 1.7-1.8 Protocol Hack)
# Toggles whether or not 1.7 players will see actionbar messages when they're holding an item.
legacy-client-support: false

# Toggles whether or not the plugin should warn administrators if there's a new version out.
check-for-updates: false

# The locale used for some of the placeholders.
locale: 'en-US'

############################################################
# +------------------------------------------------------+ #
# |                     Player List                      | #
# +------------------------------------------------------+ #
############################################################

# Sets the header and footer of the player list. (Shown when you hold the TAB key.)

player-list:
  # Toggles this feature.
  enabled: true

  # Sets the header of the player list.
  #
  # Single line format.
  # header: 'My header text'
  #
  # Multiple line format.
  # header:
  # - 'My first line'
  # - 'My second line'
  # - 'My third line'
############################################################
# +------------------------------------------------------+ #
# |                    Welcome Title                     | #
# +------------------------------------------------------+ #
############################################################

# Sets the title that is sent to the player when they join the server.

welcome-title:

  # Toggles this feature.
  enabled: true

  # The title shown.
  title: '&7Вконтакте: &6В разработке'

  # The subtitle shown.
  subtitle: '&7Отзывы: &cВ разработке'

  # The time it takes for the title to fade into the screen. (In ticks)
  fade-in: 20

  # The time it takes for the title to stay on the screen. (In ticks)
  stay: 40

  # The time it takes for the title to fade out of the screen. (In ticks)
  fade-out: 20

  # The title shown when the player joins the server for the first time.
  first-join:

    # The title shown.
    title: '&7Вконтакте: &6В разработке'

    # The subtitle shown.
    subtitle: '&7Отзывы: &cВ разработке'

############################################################
# +------------------------------------------------------+ #
# |                  Welcome Actionbar                   | #
# +------------------------------------------------------+ #
############################################################

# Sets the actionbar that is sent to the player when they join the server.

welcome-actionbar:

  # Toggles this feature.
  enabled: false

  # The message shown.
  title: ''

  # The message shown when the player joins the server for the first time.
  first-join: ''

############################################################
# +------------------------------------------------------+ #
# |                     Placeholders                     | #
# +------------------------------------------------------+ #
############################################################

# Configures anything placeholder related.

placeholders:

  # The format used by the balance placeholder.
  number-format:

    # Toggles this feature.
    enabled: true

    # The format used.
    format: '#,###.##'

  # The format used by the server-time placeholder.
  # The format used can be found here: https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html
  date-format: 'EEE, dd MMM yyyy HH:mm:ss z'

############################################################
# +------------------------------------------------------+ #
# |                      Scoreboard                      | #
# +------------------------------------------------------+ #
############################################################

# Sets the scoreboard (sidebar) that is sent to the player

scoreboard:

  # Toggles this feature
  enabled: true

  # The title displayed at the very top of the scoreboard
  # The title must consist of 32 or less characters (this includes color codes)
  title: '${CloudMine}'

  # The lines of the scoreboard (Maximum of 15 lines allowed)
  # Each line can only have 40 characters (this includes color codes)
  # Each line must also be unique, a work around would be to put a color code at the end your line, to make it unique.
  lines:
  - '&fВаша привилегия: %vault_prefix%'
  - ''
  - '&a-&2-&a-&2-&a-&2-&a-&2-&a-&2-&a-&2-&a-&2-&a-&2-&a-&2-&a-&2-&a-&2-&a-&2-&a-&2-'
  - '&7Статистика:'
  - '&c▢ &fБаланс: &a%vault_eco_balance%&2$'
  - '&c▢ &fУбито игроков: &c%statistic_player_kills%'
  - '&c▢ &fСмертей: &c&l%statistic_deaths%'
  - '&c▢ &fРежим игры: &6&l%player_gamemode%'
  - '&c▢ &fВремени в игре: &7%statistic_time_played%'
  - '&f&f&f'
  - '&fВконтакте: &bvk.com/cloud.mine'
  - '&fСайт: &bВ разработке'

############################################################
# +------------------------------------------------------+ #
# |                      Announcer                       | #
# +------------------------------------------------------+ #
############################################################

# Automatically send titles and/or actionbar messages to the players on the server.

announcer:

  # Toggles this feature.
  enabled: false

  # The announcements
  #
  # The format:
  #
  # announcement-name:
  #   interval: 60                        (Seconds, Default: 60)
  #   timings:
  #     fade-in: 20                       (Ticks, Default: 20)
  #     stay: 40                          (Ticks, Default: 40)
  #     fade-out: 20                      (Ticks, Default: 20)
  #   titles:
  #   - 'First title'                     (The title sent)
  #   - 'Second title\nSecond subtitle'   (The next title sent, this time using \n to split the title and subtitle from each other)
  #   actionbar:
  #   - 'First actionbar'                 (The actionbar message sent)
  #   - 'The next actionbar sent'         (The next actionbar message sent)
  announcements:
    my-announcement:
      interval: 60
      timings:
        fade-in: 20
        stay: 40
        fade-out: 20
      titles:
      - ''
      - ''
      actionbar:
      - ''
      - ''

############################################################
# +------------------------------------------------------+ #
# |                       Bandwidth                      | #
# +------------------------------------------------------+ #
############################################################

# Configures all of the bandwidth saving options.

bandwidth:
  # Prevents sending identical packets, lowering bandwidth (but might be more CPU intensive).
  prevent-duplicate-packets: true

  # The tick rate of the player list in milliseconds. (Lower = More bandwidth & CPU usage, Higher = Less bandwidth & CPU usage)
  player-list-ms-per-tick: 50

  # The tick rate of the scoreboard in milliseconds. (Lower = More bandwidth & CPU usage, Higher = Less bandwidth & CPU usage)
  scoreboard-ms-per-tick: 50

############################################################
# +------------------------------------------------------+ #
# |                       Messages                       | #
# +------------------------------------------------------+ #
############################################################

# Configures all of the messages sent to the users.

messages:
  # The message shown when a player doesn't have permission to run a command.
  no-permission: '&cYou do not have permission to run that command!'

  # The messages from the command /tm reload
  command-reload:
    description: 'Reloads TitleManager'
    reloaded: '&aTitleManager reloaded'

  # The messages from the command /tm animations
  command-animations:
    description: 'Displays all loaded animations'
    format: '&aLoaded animations (&f%count&a): %animations'
    separator: '&f, &a'

  # The messages from the command /tm scripts
  command-scripts:
    description: 'Displays all loaded scripts'
    format: '&aLoaded scripts (&f%count&a): %scripts'
    separator: '&f, &a'

  # The messages from the command /tm broadcast
  command-broadcast:
    description: 'Broadcasts a title to the server'
    usage: '<title>|<title\nsubtitle>'
    title-sent: '&aYou have broadcasted the title "&r%title&a".'
    subtitle-sent: '&aYou have broadcasted the subtitle "&r%subtitle&a".'
    both-sent: '&aYou have broadcasted the titles "&r%title&a" "&r%subtitle&a".'

  # The messages from the command /tm abroadcast
  command-abroadcast:
    description: 'Broadcasts an actionbar title to the server'
    usage: '<title>'
    sent: '&aYou have broadcasted the actionbar title "&r%title&a".'

  # The messages from the command /tm message
  command-message:
    description: 'Sends a title to the specified player'
    usage: '<player> <title>|<title\nsubtitle>'
    title-sent: '&aYou have sent %player the title "&r%title&a".'
    subtitle-sent: '&aYou have sent %player the subtitle "&r%subtitle&a".'
    both-sent: '&aYou have sent %player the titles "&r%title&a" "&r%subtitle&a".'
    invalid-player: '&c%player is not a valid player.'

  # The messages from the command /tm amessage
  command-amessage:
    description: 'Sends an actionbar title to the specified player'
    usage: '<player> <title>'
    sent: '&aYou have sent %player the actionbar title "&r%title&a".'
    invalid-player: '&c%player is not a valid player.'

  # The messages from the command /tm scoreboard
  command-scoreboard:
    description: 'Toggles the scoreboard on or off.'
    usage: 'toggle'
    toggled-on: '&aYou have enabled your scoreboard.'
    toggled-off: '&cYou have disabled your scoreboard.'

 
Попробуй выполнить команду /papi parse me %vault_prefix%
Какой будет ответ? Знак будет или нет. Только нужно быть в той привилегии, которая с жирным шрифтом и не ОР
Знака нету.
Авто объединение сообщений:

или проще попробовать так изменить в боковой панели - '&fВаша привилегия: %vault_prefix%&r'
Не помогло(
 
Назад
Сверху Снизу