Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Pytanie] Nick i ranga


Rekomendowane odpowiedzi

Opublikowano

Witam,

Chciałbym się dowiedzieć jak usunąć " < " " > " pomiędzy rangą i nickiem lub zmienić to na coś innego.

Aktualnie wygląda to tak :

<[Wlasciciel]Manio356>

Chciałbym żeby to wyglądało tak:

[Wlasciciel]Manio356

Albo po prostu zastąpić te " < " na " * " czyli:
*[Wlasciciel]Manio356*

 

Jak coś to mam PermissionsEx (mam w prefix: '&c[Wlasciciel]&4' )

Oraz EssentialsChat

 

Z góry dzięki za pomoc.

PS: Jak coś to mogę dać ss z gry żeby lepiej wam to pokazać.

Opublikowano

Musisz to zrobić w EssentialsChat. Możesz podać config, to bym Ci coś takiego ustawił? Nie wiem, ale coś nie mogę wejść do FTP mojego serwera. Powiedz jeszcze jakie rangi mają mieć taki wygląd, a wszystkim się zajmę. Tylko podepnij w code code.png. ;)

343731479829004887779.png

Opublikowano

proste najprawdopodobniej korzystasz z Essentials i EssentialsChat wejdź
do plugins/essentials i otwórz config.yml znajdź tam format:
'<{DISPLAYNAME}> {MESSAGE}'​ taka linijkę usuń po prostu znaki i gra on ma racje

Opublikowano

@MPCTaylor tak wygląda config z Essentials :

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 (!)
  # Or 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.
  # If set to the default chat format which "should" be compatible with ichat.
  # For more information of chat formatting, check out the wiki: http://ess.khhq.net/wiki/Chat_Formatting  

  format: '{DISPLAYNAME} {MESSAGE}.'
  #format: '&7[{GROUP}]&f {DISPLAYNAME}&7:&f {MESSAGE}'

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

  # If your using group formats make sure to remove the '#' to allow the setting to be read.

A tak to wygląda w PermissionsEx :

  Wlasciciel:
    prefix: '&c[Wlasciciel]&4'
    permissions:
    - '*'

Ranga czyli [Wlasciciel] niech będzie tym kolorem &c (jasny czerwony) a nick &4 (czerwony).

Resztę ranga typu VIP, Gracz itd. zrobiłbym sam tylko jakbyś mógł napisać co jest źle.

Opublikowano
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 (!)
  # Or 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.
  # If set to the default chat format which "should" be compatible with ichat.
  # For more information of chat formatting, check out the wiki: http://ess.khhq.net/wiki/Chat_Formatting  

  format: '{DISPLAYNAME} {MESSAGE}.'
  #format: '&7[{GROUP}]&f {DISPLAYNAME}&7:&f {MESSAGE}'

  group-formats:
  #  Default: '{WORLDNAME} {DISPLAYNAME}&7:&f {MESSAGE}'
    Wlasciciel: '{WORLDNAME} &4&l*&c[{GROUP}]&f {DISPLAYNAME}&4&l*&c {MESSAGE}'

  # If your using group formats make sure to remove the '#' to allow the setting to be read.

Proszę, dla właściciela.

343731479829004887779.png

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...