Skip to content

registerGJAccount.php

This endpoint is used to register an account. In 2.2, this was replaced with register.php.

NOTE

This page is under the database/accounts directory.

Parameters

ParameterExplanationRequired
userNameThe username of the account to createYes
passwordThe password of the account to createYes
emailThe email of the account to createYes
secretAccount Secret: Wmfv3899gc9Yes

Response

Successful Request

1

Failed Request

Error CodeMeaning
-1Generic Error
-2Username taken
-3Email taken
-4Username is longer than 20 characters
-5Invalid Password
-6Invalid Email
-7Password confirmation does not match (only used internally, not sent by servers)
-8Password too short (under 6 characters)
-9Username too short (under 3 characters)
-99Email confirmation does not match (only used internally, not sent by servers)