You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/resources/server/level.md
+12-8Lines changed: 12 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,17 +19,19 @@ Keys indicated with an asterisk (\*) are only returned from the downloadGJLevel2
19
19
| 5 | Version | **number** | The version of the level published
20
20
| 6 | Player ID | **number** | The player ID of the level author
21
21
| 8 | Difficulty Denominator | **number** | Returns 0 if the level is N/A, returns 10 if a difficulty is assigned. Historically used to be the amount of people who have voted on the difficulty.
22
-
| 9 | Difficulty Numerator | **number** | The nominator used for calculating the level difficulty. Divided by the denominator to get the difficulty icon. Nowadays just 0 = unrated, 10 = easy, 20 = normal, 30 = hard, 40 = harder, 50 = insane. Can be also used to determine the demon difficulty as a side-effect of the voting system. Historically used to be the sum of stars from all votes
22
+
| 9 | Difficulty Numerator |**number**| The nominator used for calculating the level difficulty. Divided by the denominator to get the difficulty icon. Nowadays just 0 = unrated, 10 = easy, 20 = normal, 30 = hard, 40 = harder, 50 = insane. Can be also used to determine the demon difficulty as a side-effect of the voting system. Historically used to be the sum of stars from all votes|
23
23
| 10 | Downloads | **number** | The amount of times the level has been downloaded
24
-
| 11 | Unknown| **unknown** | Unknown purpose, the only observed returned values were either 0, an empty string or 1. Removed in the 2.1 update
24
+
| 11 | setCompletes | **integer** | The Number of people who have completed a specific level removed in update 2.1
25
25
| 12 | Official Song | **number** | The official song number used by the level, if applicable
26
26
| 13 | Game Version | **number** | The GD version the level was uploaded in. Versions 1.0 to 1.6 use version numbers 1 to 7 respectively. Version 10 is 1.7. Otherwise, divide the version number by ten to get the correct number.
27
-
| 14 | Likes | **number** | The amount of likes the level received
28
-
| 15 | Length | **number** | A number from 0-4, where 0 is tiny and 4 is XL
27
+
| 14 | Likes |**number**| likes - dislikes |
28
+
| 15 | Length |**number**| A number from 0-4, where 0 is tiny and 4 is XL |
29
+
| 16 | Dislikes |**number**| dislikes - likes |
29
30
| 17 | Demon | **boolean** | If the level's difficulty is demon
30
31
| 18 | Stars | **number** | The amount of stars rewarded for completing the level
31
32
| 19 | Featured Score | **number** | 0 if the level is not featured, otherwise a positive number. The higher it is, the higher the level appears on the featured levels list.
32
33
| 25 | Auto | **boolean** | If the level's difficulty is auto
34
+
| 26 | recordString | **String** | appears in the [GJGameLevel parser](https://media.discordapp.net/attachments/801840133355470888/809495354880950272/unknown.png) but is unused
33
35
| 27* | Password | **encrypted string** | The password required to copy the level. It is XOR encrypted with a key of 26364
34
36
| 28* | Upload date | **string** | The approximate date the level was uploaded on
35
37
| 29* | Update date | **string** | The approximate date the level was last updated on
@@ -42,9 +44,11 @@ Keys indicated with an asterisk (\*) are only returned from the downloadGJLevel2
42
44
| 39 | Stars Requested | **number** | The star value requested for the level
43
45
| 40* | Low Detail Mode | **boolean** | If the level has a low detail checkbox
44
46
| 41* | Daily Number | **number** | Daily/weekly levels only. Returns which daily/weekly the level was (e.g. the 500th daily level). Subtract 100,000 if the level is weekly
45
-
| 42 | Epic | **boolean** | If the level has an epic rating
47
+
| 42 | Epic | **integer** | If the level has an epic rating
46
48
| 43 | Demon Difficulty | **number** | The difficulty of the demon rating. 3 = easy, 4 = medium, 0 = hard, 5 = insane, 6 = extreme. Can also be used to determine the level difficulty non-demons had before rating as a side-effect of the voting system.
49
+
| 44 | isGauntlet |**Bool**| if the level is in a gauntlet |
47
50
| 45 | Objects | **number** | The amount of objects in the level, used to determine if the level is considered "large". It caps at 65535
48
-
| 46 | Editor Time | **number** | the amount of time spent in the editor of a level in seconds (local Copy)
49
-
| 47 | Editor Time copies | **number** | The amount of time spent in the editor of a level in seconds (previous copies)
50
-
| 48 | Unknown | **unknown** | Added in 2.1, seems to have been removed shortly after
51
+
| 46 | editorTime |**number**|
52
+
| 47 | editorTime(Copies) |**number**|
53
+
| 48 | Unknown |**String**| not found it GD 2.1's parser however it is in 2.2's parser suggesting that it was a 2.2 key that rob accidentally sent from the servers seems to be unused after testing it |
Copy file name to clipboardExpand all lines: docs/resources/server/user.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,13 +26,13 @@
26
26
| 24 | accBird |**number**| The bird number of the player use |
27
27
| 25 | accDart(wave) |**number**| The dart(wave) number of the player use |
28
28
| 26 | accRobot |**number**| The robot number of the player use |
29
+
| 27 | AccStreak |**number**| The Streak of the user |
29
30
| 28 | accGlow |**number**| The glow number of the player use |
30
-
| 29 |unknown|**number**|unknown but always 1 - If set to 0, five things happen: all your icons revert to the default icons (colours aren't affected), the leaderboard rank vanishes from your profile, Mod Badges vanish, friend requests/messages/new friends don't have any notifications and twitch/twitter/youtube buttons are removed|
31
+
| 29 |isRegistered|**number**|if an account is registered or not |
31
32
| 30 | GlobalRank |**number**| The global rank of this player |
32
33
| 31 | Friendstate | **number** | 0: None, 1: already is friend, 3: send request to target, but target haven't accept, 4: target send request, but haven't accept
33
-
| 38 | Messages |**number**| How many new messages the user has (shown in-game as a notificaiton) |
34
-
| 39 | FriendRequests |**number**| How many new friend requests the user has (shown in-game as a notificaiton) |
35
-
| 40 | NewFriends |**number**| How many new Friends the user has (shown in-game as a notificaiton) |
34
+
| 41 | hasBlocked |**Bool**| appears on userlist endpoint to show if the user is blocked |
35
+
| 42 | levelScore Time |**String**| the time since you submitted a levelScore |
36
36
| 43 | accSpider |**number**| The spider number of the player use |
37
37
| 44 | twitter|**string**| The twitter of player |
0 commit comments