Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Ranking system

Comments in 'Plugin Development' started by TryoneLegendZzz, Jan 14, 2016.

  1. TryoneLegendZzz
    Offline

    TryoneLegendZzz Active Member

    Joined:
    May 31, 2015
    Posts:
    201
    Minecraft User:
    SavionLegendZzz
    i want to do a ranking system where a player does /stats top and it will give the top players with the top game exp. i tried todo it like EconomyAPI but i didnt work. can anyone show me a different way?
  2. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Where is your game exp saved, first of all?
  3. TryoneLegendZzz
    Offline

    TryoneLegendZzz Active Member

    Joined:
    May 31, 2015
    Posts:
    201
    Minecraft User:
    SavionLegendZzz
    into a config(config.yml)
  4. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Well, first of all, config != database...
    Anyway, please explain the structure of your data so that I can explain with code directly.
  5. TryoneLegendZzz
    Offline

    TryoneLegendZzz Active Member

    Joined:
    May 31, 2015
    Posts:
    201
    Minecraft User:
    SavionLegendZzz
    The config is written like this
    Code:
    game_exp:
    playername: 10
    and i am trying to order like: 1,2,3. But i tried to do it like EconomyAPI but that didnt work.

Share This Page

Advertisement