Pular para o conteúdo

Server Comment Resource

Este conteúdo não está disponível em sua língua ainda.

Comment

A Comment is a message that the player can create inside of Geometry Dash. There are Two types of comments: Level Comments and Account Comments

  • Level Comments can be found after pressing the i button which is located on the right side of the level menu which then opens the Comment Menu - you can also view comments by clicking on the comment icon on the player Profile. To Post a comment, the player has to click on the speech bubble icon and they can type their comment. Without any external tools, a comment can be up to 100 Characters in length

  • Account Comments can be found on a user’s profile. Account Comments are exactly the same as Level Comments however the following keys will not affect it: 10, 11, 12
    To Upload an Account Comment the player must click the speech bubble icon on their profile and they can type their comment. Without any external tools, a comment can be up to 140 Characters in length

Comment Object

A comment object is split into two sections: a Comment String and an Author String. these two strings are divided by a :

  • The Comment String contains all the data regarding the comment itself

  • The User String contains all the data regarding the user who is commenting

The Comment String and User String are both structured with a key~value~key~value pairing. Here is some examples of raw responses from the server

Level Comment Example

2~R0QgRG9jcyBhcmUgZXBpYw==~3~84696119~4~0~7~0~10~0~9~2 seconds~6~12872819:1~TheWylieMaster~9~1~10~4~11~16~14~3~15~2~16~9276649

Account Comment Example

2~R0QgRG9jcyBhcmUgZXBpYw==~4~11~9~3 months~6~18083050

Each key is tied to a component within the client and the value sets data for the specific component.
A list of all known keys can be found in the table below

Comment Structure

Note: Keys marked with an asterisk * do not affect Account Comments

KeyName/ValueTypeDescription
1levelIDIntegerThe levelID linked to the comment. This ID is negative if the comment is on a list
2commentStringThe comment left by the user, encoded in base64
3authorPlayerIDIntegerThe player ID of the comment author
4likesIntegerThe amount of likes the comment has
5dislikesIntegerThe amount of dislikes the comment has -> unused
6messageIDIntegerThe message ID. Account comments have different IDs than level comments
7spamBoolIf a comment has been flagged as spam
8authorAccountIDIntegerThe accountID of the comment author
9ageStringHow long ago the comment was posted (e.g. “2 months”)
10percent*IntegerThe percent the player put in their comment. Also doesn’t apply to List Comments
11modBadge*IntegerThe Mod Badge of a moderator commenting
12moderatorChatColor*StringComma separated list of the RGB values of the moderator’s chat color - only appears if the players modBadge > 0

User Structure

Note: These values are only returned through Level Comments

KeyName/ValueTypeDescription
1userNameStringAuthor’s username
9iconIntegerWhich icon the player is using, starting with 1 as the first icon
10playerColorIntegerAuthor’s primary player color, presumably ordered cronologically from left to right per update
11playerColor2IntegerAuthor’s secondary player color, presumably ordered cronologically from left to right per update
14iconTypeIntegerAuthor’s icon type indexing an array of icon, ship, ball, ufo, wave, robot, spider
15glowInteger0 = no glow, 2 = glow
16accountIDIntegerAuthor’s account ID. This is different than the player ID

Comment Bans

If a user violates the commenting rules, they can be banned from posting comments.

As of Geometry Dash version 2.11, there are 2 different types of bans

  • Permanent Bans - Only way to recieve one is by RobTop directly. The server response to trigger this is -10
  • Temporary Bans - Elder Moderators and RobTop are able to enforce these onto people. The server response to trigger temporary bans is split into 3 components temp_{length}_{reason}

Temporary Ban Structure

ComponentDescription
tempis used for the game to identify if the user is banned
lengthThe duration of the ban in seconds
reasonThe reason the user was banned

Trivia

  • The User String uses the same response parser that player profiles use

  • The only example of Account Comments where it was able to display a colour is with RobTop’s profile, this is because RobTop hardcoded the account colour into the accountID of 71