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

Solved NickTool with PureChat compatible

Discussion in 'Development' started by BlawoHD, Aug 2, 2018.

  1. BlawoHD

    BlawoHD Silverfish

    Messages:
    21
    /nick compatible with PureChat + PurePerms or how to use the PureChat format in PlayerChatEvent?
     
  2. Fludixx

    Fludixx Creeper

    Messages:
    4
    GitHub:
    fludixx
    I don't have experience with purechat, but you first need to know were the format is saved in for example config.yml
    Example of config.yml:
    chatformat: [Player] %player% > %message%

    You need to get the string and replace %player% etc with your variable, like this
    PHP:
    str_replace("%player%"$player$chatformat);
     
  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.