Setting a prefix

Discussion in 'Plugin Development' started by HamOmlet, Jun 20, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    HamOmlet

    I'm trying to set a prefix to a player's name using the below code:

    Code:
    String s = p.getDisplayName();
    p.setDisplayName([INT] + s);
    However, it doesn't show up in-game. I should also mention that PEX is also running on the server - are there any special requirements that must be met because of that?
     
  2. Offline

    ZeusAllMighty11

    In the pex config, there may be a thing that says "use-prefixes: true/false". Make it false.

    If you have essentials, open the config and do that ^^
     
Thread Status:
Not open for further replies.

Share This Page