1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Solved How to get from PureChat the Chat Format PREFIX

Discussion in 'Development' started by DerCooleVonDem, Feb 10, 2021.

  1. DerCooleVonDem

    DerCooleVonDem Spider Jockey

    Messages:
    37
    GitHub:
    Soon
    I want to get only the Prefix of the Player:
    example: "Player x Player123" but without the message "Player x Player123 : Test123"

    Possible?
     
  2. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
    PHP:
    $PurePerms->getUserDataMgr()->getNode($player"prefix");
    If you meant how to output the prefix from config var, use {prefix}
     
  3. DerCooleVonDem

    DerCooleVonDem Spider Jockey

    Messages:
    37
    GitHub:
    Soon
    Not the PurePerms Prefix but the PureChat Format
     
  4. Moonafic

    Moonafic Silverfish

    Messages:
    24
    $PureChat->getChatFormat($player, $message, $levelname);
     
  5. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
    I don’t get what you exactly want. Might wanna explain in more detail?
     
  6. DerCooleVonDem

    DerCooleVonDem Spider Jockey

    Messages:
    37
    GitHub:
    Soon
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.