Help with prefixes

Discussion in 'Plugin Development' started by Binyon13, Feb 14, 2014.

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

    Binyon13

    Hey, Is it possible to make it so when a player clicks on a diamond in a custom inventory it sets the players prefix to somthing?


     
  2. Offline

    jusjus112

    Binyon13
    You can set there prefix with something like, e.getPlayer().setPrefix(PREFIX);
    Something like that.
     
  3. Offline

    Binyon13

    jusjus112
    I have tried
    Code:
    player.setDisplayName("[Diamond]" + player.getName());
    
    But it did not work.
    Is there anything else I could try??
     
  4. Offline

    xMrPoi

Thread Status:
Not open for further replies.

Share This Page