Solved RankMe + BetterChat

Discussion in 'Plugin Requests' started by TnTGaming, Jun 27, 2016.

  1. Would be nice if there was a plugin that used the RankMe plugin and BetterChat so that the top 5 players for pvp kills when doing /top get a title by there name.
     
  2. RankMe doesn't have an exposed hook/method, so without modification, another plugin can't get the top ranked players from RankMe directly.
    I'm guessing there's a workaround, but it would be cleaner if RankMe itself had an exposed method like getTopPlayers.
     
  3. You could read its datafile.
     
  4. That's what I meant by "workaround"
     
  5. For BetterChat I use my own function to get Player Titles w/ Colors.

    RankMe is written in python, unfortunately for me

    If you send me a sample data file from RankMe I can make another function to read it.
     
    Last edited by a moderator: Jun 27, 2016
  6. I have added GetFormattedMessage to BetterChats API. I will also add GetFormattedName to make this easier and less messy for you.
     
  7. Wulf

    Wulf Community Admin

    Discouraged, could cause problems. :p
     
  8. I requested the getTopPlayers hook from the RankMe Dev and he said he will add it in.