--- package/package.json (excerpt) ---
{
"name": "pokebedrock-showdown",
"description": "A modified version of the Pokémon Showdown server, designed for PokeBedrock.",
"version": "0.1.17",
"main": "dist/sim/index.js",
"types": "dist/sim/index.d.ts",
"dependencies": {
"@minecraft/server": "^2.1.0-beta.1.21.90-stable",
"esbuild": "^0.25.0",
"mysql2": "^3.14.2",
"preact": "^10.5.15",
"preact-render-to-string": "^6.5.13",
"sockjs": "^0.3.21",
"ts-chacha20": "^1.2.0"
},
"optionalDependencies": {
"better-sqlite3": "^11.10.0",
"cloud-env": "^0.2.3",
"githubhook": "^1.9.3",
"nodemailer": "^8.0.5",
"permessage-deflate": "^0.1.7",
"pg": "^8.16.3",
"probe-image-size": "^7.2.3",
"source-map-support": "^0.5.21",
"sql-template-strings": "^2.2.2",
"sqlite": "^5.1.1",
"sqlite3": "^5.1.7"
},
"secretDependencies": {
"node-oom-heapdump": "^1.2.0"
},
"overrides": {
"tar": "^7.5.13",
"@tootallnate/once": "^3.0.1",
"serialize-javascript": "^7.0.5",
"diff": "^8.0.3"
},
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"start": "node pokemon-showdown start",
"build": "node build",
"build-npm": "node build && npx tsc sim/global-types.ts sim/index.ts --declaration --emitDeclarationOnly --declarationDir dist/ --target es2020 --strict --moduleResolution node --types node --lib es2020",
"test-npm": "npx tsc sim/global-types.ts sim/index.ts --noEmit --target es2020 --strict --moduleResolution node --type
--- package/translations/traditionalchinese/main.ts (excerpt) ---
import type { Translations } from '../../server/chat';
export const translations: Translations = {
name: "Traditional Chinese",
strings: {
"namelocked": "用戶名封鎖",
"locked": "用戶封鎖",
"autoconfirmed": "自動確認用戶",
"trusted": "信任用戶",
"Please follow the rules:": "請遵守規則:",
"[TN: Link to the PS rules for your language (path after pokemonshowdown.com]/rules": "/pages/rules-tw",
"Global Rules": "全站規則",
"${room} room rules": "${room}房間規則",
"<strong>Global ranks</strong>": "<strong>全服權限</strong>",
"+ <strong>Global Voice</strong> - They can use ! commands like !groups": "+ <strong>全服信任用戶</strong> -可以使用!廣播指令,比如!groups,並可以在限制發言期間發言",
"% <strong>Global Driver</strong> - Like Voice, and they can lock users and check for alts": "% <strong>全服見習管理</strong> - 同信任用戶,並可以鎖定用戶或查看他們的小號 ",
"@ <strong>Global Moderator</strong> - The above, and they can globally ban users": "@ <strong>全服管理員</strong> - 同上,並可以將用戶從服務器封禁",
"* <strong>Global Bot</strong> - Like Moderator, but makes it clear that this user is a bot": "* <strong>全服機器人</strong> - 跟全服管理員一樣,隻不過是機器",
"~ <strong>Global Administrator</strong> - They can do anything, like change what this message says and promote users globally": "~ <strong>全服總管</strong> - 可以在服務器做任何事,例如修改你現在看到的這條信息",
"<strong>Room ranks</strong>": "<strong>房權限</strong>",
"^ <strong>Prize Winner</strong> - They don't have any powers beyond a symbol.": "",
"+ <strong>Voice</strong> - They can use ! commands like !groups": "+ <strong>信任用戶</strong> -
--- package/translations/spanish/helptickets.ts (excerpt) ---
import type { Translations } from '../../server/chat';
export const translations: Translations = {
strings: {
"Hello! The global staff team would be happy to help you, but you need to explain what's going on first.": "¡Hola! Al equipo del staff global le encantaría ayudarte, pero primero explícanos qué sucede.",
"Please post the information I requested above so a global staff member can come to help.": "Por favor, escribe la información que se te solicitó arriba para que un miembro del staff global pueda venir a ayudar.",
"Thank you for the information, global staff will be here shortly. Please stay in the room.": "Gracias por la información, el staff global estará aquí en breve. Por favor permanece en esta sala.",
"You are banned from creating tickets": "Se te ha prohibido crear tickets",
", because you have the same IP as ${ticket.banned}.": ", ya que tienes la misma IP de ${ticket.banned}.",
"Request help from global staff": "Solicita ayuda del staff global",
"Please <button name=\"login\" class=\"button\">Log In</button> to request help.": "Por favor haz <button name=\"login\" class=\"button\">Log In</button> para solicitar ayuda.",
"Request Help": "Solicita Ayuda",
"You already have a Help ticket.": "Tú ya tienes un Help ticket",
"Back": "Volver",
"What's going on?": "¿Qué está sucediendo?",
"Global staff cannot make Help requests. This form is only for reference.": "El staff Global no puede hacer solicitudes de Ayuda. Este formulario es únicame{
"name": "pokebedrock-showdown",
"description": "A modified version of the Pokémon Showdown server, designed for PokeBedrock.",
"version": "0.1.17",
"main": "dist/sim/index.js",
"types": "dist/sim/index.d.ts",
"dependencies": {
"@minecraft/server": "^2.1.0-beta.1.21.90-stable",
"esbuild": "^0.25.0",
"mysql2": "^3.14.2",
"preact": "^10.5.15",
"preact-render-to-string": "^6.5.13",
"sockjs": "^0.3.21",
"ts-chacha20": "^1.2.0"
},
"optionalDependencies": {
"better-sqlite3": "^11.10.0",
"cloud-env": "^0.2.3",
"githubhook": "^1.9.3",
"nodemailer": "^8.0.5",
"permessage-deflate": "^0.1.7",
"pg": "^8.16.3",
"probe-image-size": "^7.2.3",
"source-map-support": "^0.5.21",
"sql-template-strings": "^2.2.2",
"sqlite": "^5.1.1",
"sqlite3": "^5.1.7"
},
"secretDependencies": {
"node-oom-heapdump": "^1.2.0"
},
"overrides": {
"tar": "^7.5.13",
"@tootallnate/once": "^3.0.1",
"serialize-javascript": "^7.0.5",
"diff": "^8.0.3"
},
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"start": "node pokemon-showdown start",
"build": "node build",
"build-npm": "node build && npx tsc sim/global-types.ts sim/index.ts --declaration --emitDeclarationOnly --declarationDir dist/ --target es2020 --strict --moduleResolution node --types node --lib es2020",
"test-npm": "npx tsc sim/global-types.ts sim/index.ts --noEmit --target es2020 --strict --moduleResolution node --type
import type { Translations } from '../../server/chat';
export const translations: Translations = {
name: "Traditional Chinese",
strings: {
"namelocked": "用戶名封鎖",
"locked": "用戶封鎖",
"autoconfirmed": "自動確認用戶",
"trusted": "信任用戶",
"Please follow the rules:": "請遵守規則:",
"[TN: Link to the PS rules for your language (path after pokemonshowdown.com]/rules": "/pages/rules-tw",
"Global Rules": "全站規則",
"${room} room rules": "${room}房間規則",
"<strong>Global ranks</strong>": "<strong>全服權限</strong>",
"+ <strong>Global Voice</strong> - They can use ! commands like !groups": "+ <strong>全服信任用戶</strong> -可以使用!廣播指令,比如!groups,並可以在限制發言期間發言",
"% <strong>Global Driver</strong> - Like Voice, and they can lock users and check for alts": "% <strong>全服見習管理</strong> - 同信任用戶,並可以鎖定用戶或查看他們的小號 ",
"@ <strong>Global Moderator</strong> - The above, and they can globally ban users": "@ <strong>全服管理員</strong> - 同上,並可以將用戶從服務器封禁",
"* <strong>Global Bot</strong> - Like Moderator, but makes it clear that this user is a bot": "* <strong>全服機器人</strong> - 跟全服管理員一樣,隻不過是機器",
"~ <strong>Global Administrator</strong> - They can do anything, like change what this message says and promote users globally": "~ <strong>全服總管</strong> - 可以在服務器做任何事,例如修改你現在看到的這條信息",
"<strong>Room ranks</strong>": "<strong>房權限</strong>",
"^ <strong>Prize Winner</strong> - They don't have any powers beyond a symbol.": "",
"+ <strong>Voice</strong> - They can use ! commands like !groups": "+ <strong>信任用戶</strong> -
import type { Translations } from '../../server/chat';
export const translations: Translations = {
strings: {
"Hello! The global staff team would be happy to help you, but you need to explain what's going on first.": "¡Hola! Al equipo del staff global le encantaría ayudarte, pero primero explícanos qué sucede.",
"Please post the information I requested above so a global staff member can come to help.": "Por favor, escribe la información que se te solicitó arriba para que un miembro del staff global pueda venir a ayudar.",
"Thank you for the information, global staff will be here shortly. Please stay in the room.": "Gracias por la información, el staff global estará aquí en breve. Por favor permanece en esta sala.",
"You are banned from creating tickets": "Se te ha prohibido crear tickets",
", because you have the same IP as ${ticket.banned}.": ", ya que tienes la misma IP de ${ticket.banned}.",
"Request help from global staff": "Solicita ayuda del staff global",
"Please <button name=\"login\" class=\"button\">Log In</button> to request help.": "Por favor haz <button name=\"login\" class=\"button\">Log In</button> para solicitar ayuda.",
"Request Help": "Solicita Ayuda",
"You already have a Help ticket.": "Tú ya tienes un Help ticket",
"Back": "Volver",
"What's going on?": "¿Qué está sucediendo?",
"Global staff cannot make Help requests. This form is only for reference.": "El staff Global no puede hacer solicitudes de Ayuda. Este formulario es únicame