Skip to content

Commit 7fba29d

Browse files
authored
Update README.md
1 parent d990a50 commit 7fba29d

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

README.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ through a user-friendly dashboard, but it is a little known fact is that MEE6 ha
88

99
While building a bot with JDA around Mee6 player statistics, I found that there was no public wrappers for Mee6, so I built one. I thought I would share this with the community in case someone else needed it.
1010

11-
At the moment, we are only allowed to GET data from the API and not POST to update a specific value.
11+
1212

1313
![Jason](https://i.gyazo.com/53d14bf4550f2efd4f835f3bd4563292.png)
1414

@@ -18,14 +18,23 @@ public class Example
1818
{
1919
public static void main(String[] args)
2020
{
21-
//Note you must build a corresponding JDA with the Server's ID
21+
//Step 1: Build a corresponding JDA with the Guild's ID
2222
Mee6API mee = new Mee6API("222123744959660032");
2323

24-
//Grab a player by ID (will output null if Mee6API is not operational)
24+
//Grab a player by ID (will output null if player does not exist in this leaderboard)
2525
Players player = mee.getPlayer("157692073699573761");
2626

27-
//An output of their level
27+
//An example of manipulating this data
2828
System.out.println(player.getUsername() + " : " + player.getLevel());
2929
}
3030
}
3131
```
32+
## Frequently Asked Questions and Issues
33+
34+
**How do I find a Guild ID / Player ID?**
35+
Step 1: Enable developer mode on your Discord Client. You can find this option in User Settings > Apperance > Advanced > Developer Mode.
36+
Step 2: Right click any Guild or Player and click Copy ID
37+
Step 3: Profit
38+
39+
**I'm making modifications to the data in my program but the changes aren't being reflected on the server. Help?**
40+
All returned objects are immutable. This API only allows for querying and not for sending data back to Mee6

0 commit comments

Comments
 (0)