Problème de Perfix / Suffix - PermissionsEX / Essentials

Luzog78

Aventurier
12 Août 2019
1
0
2
Alors bonjour,

Je suis Luzog78 et j'ai besoin d'un petit peu d'aide pour un serveur Minecraft en 1.12.2 que j'aimerais améliorer...

j'ai voulu recréer complètement le système de permission et je le refaire avec PermissionsEx mais après plus de 4h30 à chercher une erreur, je commence à légèrement être déprimé... :fou:
Le problème, c'est que les préfixes et suffixes ne s'affiche pas dans le tchat, il m'affiche : <Luzog78> Test.
J'ai donc retirer tout les plugins et j'ai remarqué que ça ne se produisais que avec EssentialsX.
Donc je suppose que c'est la cause du problème mais je n'ai pas compris d'où ça venais exactement.

J'ai besoin de vous ! :svp:
Merci d'avance ;)


Et au passage, voilà ma config :
Fichier config.yml de EssentialsX
Code:
############################################################
# +------------------------------------------------------+ #
# |                   EssentialsChat                     | #
# +------------------------------------------------------+ #
############################################################

# This section requires the EssentialsChat.jar to work.

chat:

  # If EssentialsChat is installed, this will define how far a player's voice travels, in blocks.  Set to 0 to make all chat global.
  # Note that users with the "essentials.chat.spy" permission will hear everything, regardless of this setting.
  # Users with essentials.chat.shout can override this by prefixing text with an exclamation mark (!)
  # Users with essentials.chat.question can override this by prefixing text with a question mark (?)
  # You can add command costs for shout/question by adding chat-shout and chat-question to the command costs section."
  radius: 0

  # Chat formatting can be done in two ways, you can either define a standard format for all chat.
  # Or you can give a group specific chat format, to give some extra variation.
  # For more information of chat formatting, check out the wiki: http://wiki.ess3.net/wiki/Chat_Formatting
  # For EssentialsX changes, take a look at the EssentialsX wiki: https://github.com/EssentialsX/Essentials/wiki

  format: '&r<{DISPLAYNAME}&r> {MESSAGE}&r'
  #format: '&7[{GROUP}]&r {DISPLAYNAME}&7:&r {MESSAGE}'
  #format: '&7{PREFIX}&r {DISPLAYNAME}&r &7{SUFFIX}&r: {MESSAGE}'

  group-formats:
  #  Default: '{WORLDNAME} {DISPLAYNAME}&7:&r {MESSAGE}'
  #  Admins: '{WORLDNAME} &c[{GROUP}]&r {DISPLAYNAME}&7:&c {MESSAGE}'

  # If you are using group formats make sure to remove the '#' to allow the setting to be read.
Et le fichier permission.yml de PermissionsEx :
Code:
groups:
  Default:
    options:
      default: true
      rank: '1000'
    permissions:
    - modifyworld.*
  Player:
    permissions:
    - essentials.afk
    - essentials.back
    - essentials.balance
    - essentials.balancetop
    - essentials.chat.spy
    - essentials.compass
    - essentials.enderchest
    - essentials.exp
    - essentials.ext
    - essentials.feed
    - essentials.getpos
    - essentials.hat
    - essentials.heal
    - essentials.help
    - essentials.helpop
    - essentials.ignore
    - essentials.info
    - essentials.kittycannon
    - essentials.list
    - essentials.mail.*
    - essentials.me
    - essentials.motd
    - essentials.msg
    - essentials.nick
    - essentials.nick.changecolors
    - essentials.pay
    - essentials.ping
    options:
      rank: '100'
  Modo:
    options:
      rank: '10'
  Admin:
    permissions:
    - permissions.*
    options:
      rank: '3'
      prefix: '&bTest &r'
  Owner:
    options:
      rank: '1'
      prefix: '&4Test '
    permissions:
    - '*'
schema-version: 1
users:
  bdef189c-4d74-4f88-9221-a94e4656d02a:
    group:
    - Admin
    options:
      prefix: Bonjour
      name: Luzog78


Merci ;)
 

Detobel36

Créateur de plugins (PhoenixRebirth)
Support
17 Août 2012
10 531
24
2 247
347
28
Bruxelles - Belgique
www.phoenix-rebirth.fr
Salut,

Par défaut, il me semble que PermissionsEx ne gère pas les préfix et qu'il faut justement utilise un autre plugin (tel que Essentials).

Normalement tu peux jouer avec les "group-formats" ;)
Code:
  group-formats:
  Modo: '&3[Moderateur] {DISPLAYNAME}&7:&f {MESSAGE}'
Mais ça fait longtemps que je n'ai pas testé...


Cordialement,
Detobel36