publicStringInvalid_server_run_mode="Invalid server run mode.";
publicStringServer_run_mode="Server run mode must be 'HYBRID', 'DISPATCH_ONLY', or 'GAME_ONLY'. Unable to start Grasscutter...";
publicStringShutting_down="Shutting down...";
publicStringStart_done="Done! For help, type \"help\"";
publicStringDispatch_mode_not_support_command="Commands are not supported in dispatch only mode.";
publicStringCommand_error="Command error:";
publicStringError="An error occurred.";
publicStringGrasscutter_is_free="Grasscutter is FREE software. If you have paid for this, you may have been scammed. Homepage: https://github.com/Grasscutters/Grasscutter";
publicStringGame_start_port="Game Server started on port {port}";
publicStringClient_connect="Client connected from {address}";
publicStringClient_disconnect="Client disconnected from {address}";
publicStringNot_load_keystore="[Dispatch] Unable to load keystore. Trying default keystore password...";
publicStringUse_default_keystore="[Dispatch] The default keystore password was loaded successfully. Please consider setting the password to 123456 in config.json.";
publicStringLoad_keystore_error="[Dispatch] Error while loading keystore!";
publicStringNot_find_ssl_cert="[Dispatch] No SSL cert found! Falling back to HTTP server.";
publicStringSendMail_usage="Usage: give [player] <itemId|itemName> [amount]";
publicStringSendMail_user_not_exist="The user with an id of '{id}' does not exist";
publicStringSendMail_start_composition="Starting composition of message.\nPlease use `/sendmail <title>` to continue.\nYou can use `/sendmail stop` at any time";
publicStringSendMail_send_done="Message sent to user {name}!";
publicStringSendMail_send_all_done="Message sent to all users!";
publicStringSendMail_not_composition_end="Message composition not at final stage.\nPlease use `/sendmail {args}` or `/sendmail stop` to cancel";
publicStringSendMail_please_use="Please use `/sendmail {args}`";
publicStringSendMail_set_title="Message title set as '{title}'.\nUse '/sendmail <content>' to continue.";
publicStringSendMail_set_contents="Message contents set as '{contents}'.\nUse '/sendmail <sender>' to continue.";
publicStringSendMail_set_message_sender="Message sender set as '{send}'.\nUse '/sendmail <itemId|itemName|finish> [amount] [level]' to continue.";
publicStringSendMail_send="Attached {amount} of {item} (level {lvl}) to the message.\nContinue adding more items or use `/sendmail finish` to send the message.";
publicStringSendMail_invalid_arguments_please_use="Invalid arguments \n Please use `/sendmail {args}`";
privatefinalString[]missingRoutes={// TODO: When http requests for theses routes are found please remove it from this list and update the route request type in the DispatchServer
privatefinalString[]missingRoutes={// TODO: When http requests for theses routes are found please remove it from this list and update the route request type in the DispatchServer
...
@@ -31,8 +34,8 @@ public final class DispatchHttpJsonHandler implements HttpContextHandler {
...
@@ -31,8 +34,8 @@ public final class DispatchHttpJsonHandler implements HttpContextHandler {
@@ -461,7 +463,7 @@ public final class DispatchServer {
...
@@ -461,7 +463,7 @@ public final class DispatchServer {
httpServer.raw().config.precompressStaticFiles=false;// If this isn't set to false, files such as images may appear corrupted when serving static files
httpServer.raw().config.precompressStaticFiles=false;// If this isn't set to false, files such as images may appear corrupted when serving static files
"login_attempt":"[Dispatch] Client %s is trying to log in",
"login_success":"[Dispatch] Client %s logged in as %s",
"login_token_attempt":"[Dispatch] Client %s is trying to log in via token",
"login_token_error":"[Dispatch] Client %s failed to log in via token",
"login_token_success":"[Dispatch] Client %s logged in via token as %s",
"combo_token_success":"[Dispatch] Client %s succeed to exchange combo token",
"combo_token_error":"[Dispatch] Client %s failed to exchange combo token",
"account_login_create_success":"[Dispatch] Client %s failed to log in: Account %s created",
"account_login_create_error":"[Dispatch] Client %s failed to log in: Account create failed",
"account_login_exist_error":"[Dispatch] Client %s failed to log in: Account no found",
"account_cache_error":"Game account cache information error",
"session_key_error":"Wrong session key.",
"username_error":"Username not found.",
"username_create_error":"Username not found, create failed."
}
},
"status":{
"free_software":"Grasscutter is FREE software. If you have paid for this, you may have been scammed. Homepage: https://github.com/Grasscutters/Grasscutter",
"starting":"Starting Grasscutter...",
"shutdown":"Shutting down...",
"done":"Done! For help, type \"help\"",
"error":"An error occurred.",
"welcome":"Welcome to Grasscutter",
"run_mode_error":"Invalid server run mode: %s.",
"run_mode_help":"Server run mode must be 'HYBRID', 'DISPATCH_ONLY', or 'GAME_ONLY'. Unable to start Grasscutter...",