Hello, I'm sorry for the probably stupid question, but I can not solve the problem.
I have a plugin that writes players to a json file.
{
"76561############": {
"Rating": 1500,
"Name": "By"
}
}I would like it to display a list of let's say the top 5 players of the server by Rating when entering a command.
How can I get this data?
//
private Dictionary<ulong, Data> _data;
private class Data
{
public int Rating = 1500;
public string Name;
}