This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MinecraftSpectateMode { | |
constructor(options) { | |
Object.assign(this, options) | |
this.lastUser = '' | |
this.mode = this.randomize(['cam', 'user']) | |
this.cam = this.randomize(options.cams) | |
this.input = document.querySelector(options.consoleInputQuerySelector) | |
this.excludedPlayers.push(this.spectator) | |
this.excludedPlayers.push('Anonymous Player') | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"aa": "Afar", | |
"ab": "Abkhazian", | |
"ae": "Avestan", | |
"af": "Afrikaans", | |
"ak": "Akan", | |
"am": "Amharic", | |
"an": "Aragonese", | |
"ar-ae": "Arabic (U.A.E.)", | |
"ar-bh": "Arabic (Bahrain)", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"en": { | |
"1xx": { | |
"short": "Informational", | |
"large": "Request received, continuing process. This class of status code indicates a provisional response, consisting only of the Status-Line and optional headers, and is terminated by an empty line. Since HTTP/1.0 did not define any 1xx status codes, servers must not send a 1xx response to an HTTP/1.0 client except under experimental conditions." | |
}, | |
"100": { | |
"short": "Continue", | |
"large": "The server has received the request headers and the client should proceed to send the request body (in the case of a request for which a body needs to be sent; for example, a POST request). Sending a large request body to a server after a request has been rejected for inappropriate headers would be inefficient. To have a server check the request's headers, a client must send Expect: 100-continue as a header in its initial request and receive a 100 Continue status code in response before sending the body. The response 417 Expectation Failed i |