@senators/bifrost-cli 0.0.0-stage → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +180 -2
- package/out/accountEditor-CQB91PVf.js +2 -0
- package/out/accountEditor-CQB91PVf.js.map +1 -0
- package/out/achievements-Df5qqpYQ.js +2 -0
- package/out/achievements-Df5qqpYQ.js.map +1 -0
- package/out/active-CnUKpiEo.js +2 -0
- package/out/active-CnUKpiEo.js.map +1 -0
- package/out/alliance-BsPnhi7w.js +2 -0
- package/out/alliance-BsPnhi7w.js.map +1 -0
- package/out/allianceAdmin-Bkyl6ev4.js +2 -0
- package/out/allianceAdmin-Bkyl6ev4.js.map +1 -0
- package/out/arsenal-BMCmAHzv.js +2 -0
- package/out/arsenal-BMCmAHzv.js.map +1 -0
- package/out/ban-BXNvHPMq.js +2 -0
- package/out/ban-BXNvHPMq.js.map +1 -0
- package/out/banList-3DbCToEy.js +2 -0
- package/out/banList-3DbCToEy.js.map +1 -0
- package/out/banList-dT5GF5eO.js +2 -0
- package/out/banList-dT5GF5eO.js.map +1 -0
- package/out/battleHall-C4BALP6S.js +2 -0
- package/out/battleHall-C4BALP6S.js.map +1 -0
- package/out/battleHall-P7Co1jS5.js +2 -0
- package/out/battleHall-P7Co1jS5.js.map +1 -0
- package/out/battleReport-BG0-S-bF.js +2 -0
- package/out/battleReport-BG0-S-bF.js.map +1 -0
- package/out/battleReport-C3PQTXxc.js +2 -0
- package/out/battleReport-C3PQTXxc.js.map +1 -0
- package/out/battleSimulator-BOySErLn.js +2 -0
- package/out/battleSimulator-BOySErLn.js.map +1 -0
- package/out/board-CsNgDx4j.js +2 -0
- package/out/board-CsNgDx4j.js.map +1 -0
- package/out/board-DSCl8eU8.js +2 -0
- package/out/board-DSCl8eU8.js.map +1 -0
- package/out/bonusSummary-Dmm646zj.js +2 -0
- package/out/bonusSummary-Dmm646zj.js.map +1 -0
- package/out/buddyList-B50t-9_g.js +2 -0
- package/out/buddyList-B50t-9_g.js.map +1 -0
- package/out/buildings-CXrMgFyb.js +2 -0
- package/out/buildings-CXrMgFyb.js.map +1 -0
- package/out/catalog-DmSXp_YG.js +2 -0
- package/out/catalog-DmSXp_YG.js.map +1 -0
- package/out/chat-BvtMl-I7.js +2 -0
- package/out/chat-BvtMl-I7.js.map +1 -0
- package/out/clearCache-79cjREI0.js +2 -0
- package/out/clearCache-79cjREI0.js.map +1 -0
- package/out/cli.js +3 -0
- package/out/cli.js.map +1 -0
- package/out/containers-BhguCCkz.js +2 -0
- package/out/containers-BhguCCkz.js.map +1 -0
- package/out/control-IJRy1LDx.js +2 -0
- package/out/control-IJRy1LDx.js.map +1 -0
- package/out/create-D-IygCER.js +2 -0
- package/out/create-D-IygCER.js.map +1 -0
- package/out/createMoon-BMWjdwO0.js +2 -0
- package/out/createMoon-BMWjdwO0.js.map +1 -0
- package/out/cronjob-CCJKDSuv.js +2 -0
- package/out/cronjob-CCJKDSuv.js.map +1 -0
- package/out/dailyBonus-2UwWD4D0.js +2 -0
- package/out/dailyBonus-2UwWD4D0.js.map +1 -0
- package/out/delivery-d8NKP-f1.js +2 -0
- package/out/delivery-d8NKP-f1.js.map +1 -0
- package/out/disclaimer-BmejHZqk.js +2 -0
- package/out/disclaimer-BmejHZqk.js.map +1 -0
- package/out/dump--mJa5m3e.js +2 -0
- package/out/dump--mJa5m3e.js.map +1 -0
- package/out/endpoints-CbZGTbF-.js +2 -0
- package/out/endpoints-CbZGTbF-.js.map +1 -0
- package/out/externalAuth-Dwl3VAHa.js +2 -0
- package/out/externalAuth-Dwl3VAHa.js.map +1 -0
- package/out/findDebris-DOMvMC1l.js +2 -0
- package/out/findDebris-DOMvMC1l.js.map +1 -0
- package/out/fleet-DyITa_Xu.js +2 -0
- package/out/fleet-DyITa_Xu.js.map +1 -0
- package/out/fleetAjax-BGxyUtdi.js +2 -0
- package/out/fleetAjax-BGxyUtdi.js.map +1 -0
- package/out/fleetDealer-n6LM_8IT.js +2 -0
- package/out/fleetDealer-n6LM_8IT.js.map +1 -0
- package/out/fleetMissile-CucQvNmZ.js +2 -0
- package/out/fleetMissile-CucQvNmZ.js.map +1 -0
- package/out/fleetStep1-wp-NgTsC.js +2 -0
- package/out/fleetStep1-wp-NgTsC.js.map +1 -0
- package/out/fleetStep2-C-GzHXyn.js +2 -0
- package/out/fleetStep2-C-GzHXyn.js.map +1 -0
- package/out/fleetStep3-D_fqImWm.js +2 -0
- package/out/fleetStep3-D_fqImWm.js.map +1 -0
- package/out/fleetTable-BpWLh0R1.js +2 -0
- package/out/fleetTable-BpWLh0R1.js.map +1 -0
- package/out/flyingFleet-ClIrGPJz.js +2 -0
- package/out/flyingFleet-ClIrGPJz.js.map +1 -0
- package/out/galaxy-B12wKQUU.js +2 -0
- package/out/galaxy-B12wKQUU.js.map +1 -0
- package/out/get-Cn2hFvGS.js +2 -0
- package/out/get-Cn2hFvGS.js.map +1 -0
- package/out/giveaway-CDWEArOF.js +2 -0
- package/out/giveaway-CDWEArOF.js.map +1 -0
- package/out/growth-C_-C8rLD.js +2 -0
- package/out/growth-C_-C8rLD.js.map +1 -0
- package/out/index.d.ts +29 -0
- package/out/index.d.ts.map +1 -0
- package/out/index.js +1 -0
- package/out/information-CqfqYCH1.js +2 -0
- package/out/information-CqfqYCH1.js.map +1 -0
- package/out/information-DK93hgyE.js +2 -0
- package/out/information-DK93hgyE.js.map +1 -0
- package/out/log-BBE1Jt9i.js +2 -0
- package/out/log-BBE1Jt9i.js.map +1 -0
- package/out/login--4vqysQx.js +2 -0
- package/out/login--4vqysQx.js.map +1 -0
- package/out/login-C_DqRApn.js +2 -0
- package/out/login-C_DqRApn.js.map +1 -0
- package/out/logout-BYnLiMja.js +2 -0
- package/out/logout-BYnLiMja.js.map +1 -0
- package/out/logout-BsCSXzv8.js +2 -0
- package/out/logout-BsCSXzv8.js.map +1 -0
- package/out/lostPassword-Pc_1CUBD.js +2 -0
- package/out/lostPassword-Pc_1CUBD.js.map +1 -0
- package/out/market-DN8cY1tr.js +2 -0
- package/out/market-DN8cY1tr.js.map +1 -0
- package/out/messageList-k_zW_D0G.js +2 -0
- package/out/messageList-k_zW_D0G.js.map +1 -0
- package/out/messages-D461yIe6.js +2 -0
- package/out/messages-D461yIe6.js.map +1 -0
- package/out/missions-5zZtlLIm.js +2 -0
- package/out/missions-5zZtlLIm.js.map +1 -0
- package/out/module-BEPeTBhK.js +2 -0
- package/out/module-BEPeTBhK.js.map +1 -0
- package/out/multiIp-CP3lub1T.js +2 -0
- package/out/multiIp-CP3lub1T.js.map +1 -0
- package/out/new-star-BaVTTcIn.js +2 -0
- package/out/new-star-BaVTTcIn.js.map +1 -0
- package/out/news-BdDDcd-M.js +2 -0
- package/out/news-BdDDcd-M.js.map +1 -0
- package/out/news-Dd1C9JDl.js +2 -0
- package/out/news-Dd1C9JDl.js.map +1 -0
- package/out/notes-DLngBta3.js +2 -0
- package/out/notes-DLngBta3.js.map +1 -0
- package/out/overview-CzcSTNla.js +2 -0
- package/out/overview-CzcSTNla.js.map +1 -0
- package/out/overview-wQWIR_CB.js +2 -0
- package/out/overview-wQWIR_CB.js.map +1 -0
- package/out/password-ZA_1lStC.js +2 -0
- package/out/password-ZA_1lStC.js.map +1 -0
- package/out/phalanx-DaMaoJCT.js +2 -0
- package/out/phalanx-DaMaoJCT.js.map +1 -0
- package/out/planet-CecZ2cAZ.js +2 -0
- package/out/planet-CecZ2cAZ.js.map +1 -0
- package/out/playerCard-BG711xQi.js +2 -0
- package/out/playerCard-BG711xQi.js.map +1 -0
- package/out/post-C_ywAss7.js +2 -0
- package/out/post-C_ywAss7.js.map +1 -0
- package/out/production-D8SZfez8.js +2 -0
- package/out/production-D8SZfez8.js.map +1 -0
- package/out/public-TVVf75qu.js +2 -0
- package/out/public-TVVf75qu.js.map +1 -0
- package/out/questions-NwzZ5_fL.js +2 -0
- package/out/questions-NwzZ5_fL.js.map +1 -0
- package/out/quickEditor-DEJQFH0f.js +2 -0
- package/out/quickEditor-DEJQFH0f.js.map +1 -0
- package/out/records-CDVglYGy.js +2 -0
- package/out/records-CDVglYGy.js.map +1 -0
- package/out/records-Djjz9kxk.js +2 -0
- package/out/records-Djjz9kxk.js.map +1 -0
- package/out/reduceFleet-y8p89weR.js +2 -0
- package/out/reduceFleet-y8p89weR.js.map +1 -0
- package/out/reduceResources-CnGJ9fuf.js +2 -0
- package/out/reduceResources-CnGJ9fuf.js.map +1 -0
- package/out/refreshStatistics-CjGWyNc_.js +2 -0
- package/out/refreshStatistics-CjGWyNc_.js.map +1 -0
- package/out/register-4x5hZcWe.js +2 -0
- package/out/register-4x5hZcWe.js.map +1 -0
- package/out/research-dTK3-tOW.js +2 -0
- package/out/research-dTK3-tOW.js.map +1 -0
- package/out/reset-CHiMI9rj.js +2 -0
- package/out/reset-CHiMI9rj.js.map +1 -0
- package/out/resources-CjnevA41.js +2 -0
- package/out/resources-CjnevA41.js.map +1 -0
- package/out/rights-WPf-j_YF.js +2 -0
- package/out/rights-WPf-j_YF.js.map +1 -0
- package/out/rules-E29jtQRj.js +2 -0
- package/out/rules-E29jtQRj.js.map +1 -0
- package/out/runner-C2bQQS2G.js +43 -0
- package/out/runner-C2bQQS2G.js.map +1 -0
- package/out/scan-RvWZeyyM.js +2 -0
- package/out/scan-RvWZeyyM.js.map +1 -0
- package/out/screens-CZ4g-KNp.js +2 -0
- package/out/screens-CZ4g-KNp.js.map +1 -0
- package/out/search-BYvqiUBF.js +2 -0
- package/out/search-BYvqiUBF.js.map +1 -0
- package/out/search-auPbK2Xc.js +2 -0
- package/out/search-auPbK2Xc.js.map +1 -0
- package/out/sendMessages-B2Uj3PW4.js +2 -0
- package/out/sendMessages-B2Uj3PW4.js.map +1 -0
- package/out/settings-DFFa6Ush.js +2 -0
- package/out/settings-DFFa6Ush.js.map +1 -0
- package/out/settings-Ddez5x9U.js +2 -0
- package/out/settings-Ddez5x9U.js.map +1 -0
- package/out/shared-DoaW4mlX.js +2 -0
- package/out/shared-DoaW4mlX.js.map +1 -0
- package/out/shipyard-DXr745hR.js +2 -0
- package/out/shipyard-DXr745hR.js.map +1 -0
- package/out/shops-CEE02c0g.js +2 -0
- package/out/shops-CEE02c0g.js.map +1 -0
- package/out/snapshot-CrJ8l50N.js +2 -0
- package/out/snapshot-CrJ8l50N.js.map +1 -0
- package/out/social-1Gdni-jZ.js +2 -0
- package/out/social-1Gdni-jZ.js.map +1 -0
- package/out/spec-CrkWB0BN.js +2 -0
- package/out/spec-CrkWB0BN.js.map +1 -0
- package/out/statistics-zg3aVAvW.js +2 -0
- package/out/statistics-zg3aVAvW.js.map +1 -0
- package/out/store-dXG7NoB4.js +2 -0
- package/out/store-dXG7NoB4.js.map +1 -0
- package/out/support-DisUQr57.js +2 -0
- package/out/support-DisUQr57.js.map +1 -0
- package/out/techtree-Ba3FEH5_.js +2 -0
- package/out/techtree-Ba3FEH5_.js.map +1 -0
- package/out/ticket-O_8jTKW8.js +2 -0
- package/out/ticket-O_8jTKW8.js.map +1 -0
- package/out/trader-zFDGaHZ9.js +2 -0
- package/out/trader-zFDGaHZ9.js.map +1 -0
- package/out/universe-DO32RnLQ.js +2 -0
- package/out/universe-DO32RnLQ.js.map +1 -0
- package/out/universeSettings-S7enRJR4.js +2 -0
- package/out/universeSettings-S7enRJR4.js.map +1 -0
- package/out/values-gwcnIHXs.js +2 -0
- package/out/values-gwcnIHXs.js.map +1 -0
- package/out/verify-sYnZ9juV.js +2 -0
- package/out/verify-sYnZ9juV.js.map +1 -0
- package/out/version-Cgs-grc5.js +2 -0
- package/out/version-Cgs-grc5.js.map +1 -0
- package/package.json +65 -4
- package/src/admin.ts +317 -0
- package/src/arguments.ts +323 -0
- package/src/catalog.ts +117 -0
- package/src/cli.ts +29 -0
- package/src/commands/admin/accountEditor.ts +33 -0
- package/src/commands/admin/active.ts +25 -0
- package/src/commands/admin/ban.ts +59 -0
- package/src/commands/admin/clearCache.ts +12 -0
- package/src/commands/admin/create.ts +59 -0
- package/src/commands/admin/cronjob.ts +94 -0
- package/src/commands/admin/dump.ts +25 -0
- package/src/commands/admin/flyingFleet.ts +25 -0
- package/src/commands/admin/giveaway.ts +37 -0
- package/src/commands/admin/information.ts +12 -0
- package/src/commands/admin/log.ts +37 -0
- package/src/commands/admin/login.ts +15 -0
- package/src/commands/admin/logout.ts +12 -0
- package/src/commands/admin/messageList.ts +19 -0
- package/src/commands/admin/module.ts +25 -0
- package/src/commands/admin/multiIp.ts +25 -0
- package/src/commands/admin/news.ts +40 -0
- package/src/commands/admin/overview.ts +12 -0
- package/src/commands/admin/password.ts +18 -0
- package/src/commands/admin/quickEditor.ts +30 -0
- package/src/commands/admin/refreshStatistics.ts +12 -0
- package/src/commands/admin/reset.ts +26 -0
- package/src/commands/admin/rights.ts +68 -0
- package/src/commands/admin/search.ts +31 -0
- package/src/commands/admin/sendMessages.ts +26 -0
- package/src/commands/admin/support.ts +48 -0
- package/src/commands/admin/universe.ts +49 -0
- package/src/commands/admin/universeSettings.ts +32 -0
- package/src/commands/game/achievements.ts +18 -0
- package/src/commands/game/alliance.ts +248 -0
- package/src/commands/game/allianceAdmin.ts +236 -0
- package/src/commands/game/arsenal.ts +12 -0
- package/src/commands/game/banList.ts +20 -0
- package/src/commands/game/battleHall.ts +21 -0
- package/src/commands/game/battleReport.ts +20 -0
- package/src/commands/game/battleSimulator.ts +41 -0
- package/src/commands/game/board.ts +12 -0
- package/src/commands/game/bonusSummary.ts +12 -0
- package/src/commands/game/buddyList.ts +76 -0
- package/src/commands/game/buildings.ts +81 -0
- package/src/commands/game/chat.ts +12 -0
- package/src/commands/game/containers.ts +33 -0
- package/src/commands/game/control.ts +16 -0
- package/src/commands/game/createMoon.ts +28 -0
- package/src/commands/game/dailyBonus.ts +18 -0
- package/src/commands/game/delivery.ts +34 -0
- package/src/commands/game/endpoints.ts +61 -0
- package/src/commands/game/findDebris.ts +16 -0
- package/src/commands/game/fleetAjax.ts +24 -0
- package/src/commands/game/fleetDealer.ts +36 -0
- package/src/commands/game/fleetMissile.ts +25 -0
- package/src/commands/game/fleetStep1.ts +74 -0
- package/src/commands/game/fleetStep2.ts +27 -0
- package/src/commands/game/fleetStep3.ts +28 -0
- package/src/commands/game/fleetTable.ts +96 -0
- package/src/commands/game/galaxy.ts +26 -0
- package/src/commands/game/growth.ts +313 -0
- package/src/commands/game/information.ts +56 -0
- package/src/commands/game/logout.ts +12 -0
- package/src/commands/game/market.ts +67 -0
- package/src/commands/game/messages.ts +129 -0
- package/src/commands/game/notes.ts +65 -0
- package/src/commands/game/overview.ts +49 -0
- package/src/commands/game/phalanx.ts +23 -0
- package/src/commands/game/planet.ts +78 -0
- package/src/commands/game/playerCard.ts +20 -0
- package/src/commands/game/questions.ts +23 -0
- package/src/commands/game/records.ts +16 -0
- package/src/commands/game/reduceFleet.ts +41 -0
- package/src/commands/game/reduceResources.ts +35 -0
- package/src/commands/game/research.ts +80 -0
- package/src/commands/game/resources.ts +49 -0
- package/src/commands/game/scan.ts +12 -0
- package/src/commands/game/search.ts +44 -0
- package/src/commands/game/settings.ts +121 -0
- package/src/commands/game/shipyard.ts +61 -0
- package/src/commands/game/shops.ts +89 -0
- package/src/commands/game/statistics.ts +22 -0
- package/src/commands/game/store.ts +12 -0
- package/src/commands/game/techtree.ts +16 -0
- package/src/commands/game/ticket.ts +44 -0
- package/src/commands/game/trader.ts +51 -0
- package/src/commands/game/workflows/fleet.ts +12 -0
- package/src/commands/game/workflows/snapshot.ts +84 -0
- package/src/commands/game/workflows/social.ts +37 -0
- package/src/commands/http/get.ts +13 -0
- package/src/commands/http/post.ts +44 -0
- package/src/commands/public/banList.ts +21 -0
- package/src/commands/public/battleHall.ts +20 -0
- package/src/commands/public/battleReport.ts +20 -0
- package/src/commands/public/board.ts +20 -0
- package/src/commands/public/disclaimer.ts +20 -0
- package/src/commands/public/externalAuth.ts +17 -0
- package/src/commands/public/index.ts +22 -0
- package/src/commands/public/login.ts +20 -0
- package/src/commands/public/lostPassword.ts +57 -0
- package/src/commands/public/news.ts +20 -0
- package/src/commands/public/register.ts +46 -0
- package/src/commands/public/rules.ts +20 -0
- package/src/commands/public/screens.ts +20 -0
- package/src/commands/public/verify.ts +38 -0
- package/src/commands/rules/new-star.ts +221 -0
- package/src/commands/rules/production.ts +51 -0
- package/src/completion/BifrostCompletion.psm1 +47 -0
- package/src/completion.ts +445 -0
- package/src/connection.ts +106 -0
- package/src/destination.ts +64 -0
- package/src/game.ts +978 -0
- package/src/help.ts +203 -0
- package/src/i18n.ts +45 -0
- package/src/index.ts +2 -0
- package/src/input/admin/accountEditor.ts +156 -0
- package/src/input/admin/ban.ts +23 -0
- package/src/input/admin/create.ts +36 -0
- package/src/input/admin/cronjob.ts +22 -0
- package/src/input/admin/fields.ts +432 -0
- package/src/input/admin/login.ts +9 -0
- package/src/input/admin/messageList.ts +21 -0
- package/src/input/admin/news.ts +29 -0
- package/src/input/admin/quickEditor.ts +115 -0
- package/src/input/admin/records.ts +68 -0
- package/src/input/admin/reset.ts +29 -0
- package/src/input/admin/search.ts +23 -0
- package/src/input/admin/sendMessages.ts +21 -0
- package/src/input/admin/universeSettings.ts +46 -0
- package/src/input/files.ts +65 -0
- package/src/input/game/allianceAdmin.ts +55 -0
- package/src/input/game/battleSimulator.ts +25 -0
- package/src/input/game/fleetStep1.ts +14 -0
- package/src/input/game/settings.ts +46 -0
- package/src/input/game/ticket.ts +16 -0
- package/src/input/parse.ts +173 -0
- package/src/input/paths.ts +392 -0
- package/src/input/protocol/context.ts +10 -0
- package/src/input/protocol/missions.ts +6 -0
- package/src/input/protocol/routes.ts +15 -0
- package/src/input/protocol/settings.ts +126 -0
- package/src/input/protocol/values.ts +13 -0
- package/src/input/public/externalAuth.ts +26 -0
- package/src/input/public/register.ts +9 -0
- package/src/input/rules/new-star.ts +21 -0
- package/src/input/rules/production.ts +14 -0
- package/src/input/shared.ts +51 -0
- package/src/input/spec.ts +155 -0
- package/src/input/values.ts +114 -0
- package/src/input/workflows/fleet.ts +22 -0
- package/src/input/workflows/snapshot.ts +74 -0
- package/src/locales/en-US/commands.ts +377 -0
- package/src/locales/en-US/diagnostics.ts +89 -0
- package/src/locales/en-US.ts +61 -0
- package/src/locales/zh-CN/commands.ts +307 -0
- package/src/locales/zh-CN/diagnostics.ts +81 -0
- package/src/locales/zh-CN.ts +57 -0
- package/src/options.ts +48 -0
- package/src/output.ts +201 -0
- package/src/pointer.ts +46 -0
- package/src/presentation.ts +96 -0
- package/src/public.ts +99 -0
- package/src/registry.ts +67 -0
- package/src/requests.ts +13 -0
- package/src/result.ts +27 -0
- package/src/rules.ts +77 -0
- package/src/runner.ts +214 -0
- package/src/selection.ts +44 -0
- package/src/terminal.ts +27 -0
- package/src/types.ts +110 -0
- package/src/version.ts +11 -0
|
@@ -0,0 +1,377 @@
|
|
|
1
|
+
export const commands = {
|
|
2
|
+
acceptAllianceDiplomacy: 'Submit acceptance of the specified alliance diplomacy request.',
|
|
3
|
+
achievements: 'Read the achievement catalogue for the selected planet.',
|
|
4
|
+
adminAccountEditor: 'Read the account editor menu or the selected editing form.',
|
|
5
|
+
adminAccountEditorSubmit:
|
|
6
|
+
'Submit account edits; quantity changes require submit=add/delete, personal edits set vacation state, and alliance edits set the leader and reset their alliance rank to zero.',
|
|
7
|
+
adminActive: 'Read pending account registrations and their verification details.',
|
|
8
|
+
adminActiveDelete: 'Submit deletion of a pending registration by its validation ID.',
|
|
9
|
+
adminBan: 'Read player bans and the available ban controls.',
|
|
10
|
+
adminBanLift: 'Lift the account ban; the server retains its vacation state.',
|
|
11
|
+
adminBanLookup: 'Look up an account by name and read its ban panel.',
|
|
12
|
+
adminBanPlace: 'Submit an account ban with its reason, duration and optional vacation setting.',
|
|
13
|
+
adminClearCache:
|
|
14
|
+
'Clear server caches, recalculate cron schedules and invalidate economy caches in all universes.',
|
|
15
|
+
adminCreate: 'Read the creation menu or a user, planet or moon creation form.',
|
|
16
|
+
adminCreateMoon: 'Submit a moon creation request for the selected planet.',
|
|
17
|
+
adminCreatePlanet: 'Submit creation of a planet for the specified player and coordinates.',
|
|
18
|
+
adminCreateUser: 'Create an account and its home planet.',
|
|
19
|
+
adminCronjob: 'Read scheduled jobs, their schedules and current enable/lock states.',
|
|
20
|
+
adminCronjobDelete: 'Delete the job and its execution log.',
|
|
21
|
+
adminCronjobDetail: 'Read the edit form for an existing job or the form for a new job.',
|
|
22
|
+
adminCronjobEnable: 'Submit the enabled or disabled state for a scheduled job.',
|
|
23
|
+
adminCronjobLock: 'Submit a request to lock the specified scheduled job.',
|
|
24
|
+
adminCronjobSave: 'Save the specified job, or create one when cronjobId is omitted.',
|
|
25
|
+
adminCronjobUnlock: 'Submit a request to unlock the specified scheduled job.',
|
|
26
|
+
adminDump: 'Read database tables and their backup selection controls.',
|
|
27
|
+
adminDumpBackup: 'Write a SQL backup of the selected tables on the server.',
|
|
28
|
+
adminFlyingFleet: 'Read fleets in flight, their cargo, routes and event lock states.',
|
|
29
|
+
adminFlyingFleetSetBusy: 'Set the fleet busy value; nonzero values also lock the fleet event.',
|
|
30
|
+
adminGiveaway: 'Read the available gift elements and recipient filters.',
|
|
31
|
+
adminGiveawayAward: 'Award elements to matching bodies; select planets, moons or both.',
|
|
32
|
+
adminInformation:
|
|
33
|
+
'Read the server environment, installation addresses and game/database versions.',
|
|
34
|
+
adminLog: 'Read the available administrative log categories.',
|
|
35
|
+
adminLogDetail: 'Read the details of the selected administrative log entry.',
|
|
36
|
+
adminLogList: 'Read administrative logs of the selected kind, newest first.',
|
|
37
|
+
adminLogin: 'Authorize administrative access with the current game account password.',
|
|
38
|
+
adminLogout: 'End administrative access while retaining the game session.',
|
|
39
|
+
adminMessageList:
|
|
40
|
+
'Read account messages using the supplied category, participant and date filters.',
|
|
41
|
+
adminModule: 'Read game modules and their current enabled states.',
|
|
42
|
+
adminModuleSet: 'Submit the enabled or disabled state for a game module.',
|
|
43
|
+
adminMultiIp: 'Read accounts sharing IP addresses and their known-sharing flags.',
|
|
44
|
+
adminMultiIpMark: 'Submit whether an account is a known shared-IP account.',
|
|
45
|
+
adminNews: 'Read the news list or creation/editing form; action=edit requires id.',
|
|
46
|
+
adminNewsDelete: 'Submit deletion of the specified news entry.',
|
|
47
|
+
adminNewsSave: 'Save news; a null draft.id publishes a new entry.',
|
|
48
|
+
adminOverview:
|
|
49
|
+
'Read administrator dashboard counts for accounts, planets, tickets, jobs and news.',
|
|
50
|
+
adminPassword: 'Read the password hash tool, or submit text and read the server-generated hash.',
|
|
51
|
+
adminQuickEditor: 'Read a player or celestial-body record; the planet endpoint also reads moons.',
|
|
52
|
+
adminQuickEditorSave:
|
|
53
|
+
'Update a complete record; player edits require authorizationAttack and multi.',
|
|
54
|
+
adminRefreshStatistics: 'Rebuild statistics for all universes in the installation.',
|
|
55
|
+
adminReset: 'Read the data categories available for a universe reset.',
|
|
56
|
+
adminResetUniverse: 'Reset the selected data categories in the current universe.',
|
|
57
|
+
adminRights: 'Read the permissions menu or the selected account/group access controls.',
|
|
58
|
+
adminRightsLookup: 'Look up the administrative page permissions of the specified account.',
|
|
59
|
+
adminRightsSave: 'Replace all page grants for an account; omitted grants are revoked.',
|
|
60
|
+
adminRightsSetLevel: 'Submit a new access level for the specified account.',
|
|
61
|
+
adminSearch: 'Search administrative records and read the matching rows and available filters.',
|
|
62
|
+
adminSearchDelete:
|
|
63
|
+
'Submit deletion of the selected player or planet from an administrative search.',
|
|
64
|
+
adminSendMessages: 'Read the broadcast-message form and its delivery options.',
|
|
65
|
+
adminSendMessagesSend:
|
|
66
|
+
'Broadcast to all accounts in the current universe matching the language filter.',
|
|
67
|
+
adminSupport: 'Read the support ticket list for administrators.',
|
|
68
|
+
adminSupportSend:
|
|
69
|
+
'Reply and mark the ticket answered; changeStatus closes open tickets or marks closed tickets answered.',
|
|
70
|
+
adminSupportView: 'Read the selected support ticket and its conversation.',
|
|
71
|
+
adminUniverse: 'Read universes, speed settings, account/planet counts and login availability.',
|
|
72
|
+
adminUniverseCreate:
|
|
73
|
+
'Create a universe and its first administrator; configure its default language before default-language login.',
|
|
74
|
+
adminUniverseDelete:
|
|
75
|
+
'Request deletion of a universe and its data; root and current universes are protected.',
|
|
76
|
+
adminUniverseOpen: 'Submit whether the selected universe permits player logins.',
|
|
77
|
+
adminUniverseSettings: 'Read the current universe configuration form.',
|
|
78
|
+
adminUniverseSettingsSave:
|
|
79
|
+
'Apply changes to a complete form because the server writes omitted settings as empty strings.',
|
|
80
|
+
alliance: 'Read the current alliance overview.',
|
|
81
|
+
allianceAdminDetailApply:
|
|
82
|
+
'Read the details and response controls of the selected alliance application.',
|
|
83
|
+
allianceAdminDiplomacy: 'Read the alliance diplomacy entries and available actions.',
|
|
84
|
+
allianceAdminDiplomacyCreate: 'Read the form for creating an alliance diplomacy request.',
|
|
85
|
+
allianceAdminManageApply: 'Read pending applications to the current alliance.',
|
|
86
|
+
allianceAdminMembers: 'Read the alliance member administration list.',
|
|
87
|
+
allianceAdminOverview:
|
|
88
|
+
'Read alliance settings and the selected external, internal or application text.',
|
|
89
|
+
allianceAdminPermissions: 'Read alliance ranks and their granted permissions.',
|
|
90
|
+
allianceAdminTransfer: 'Read the form and eligible members for transferring alliance leadership.',
|
|
91
|
+
allianceApply: 'Read the application form for the specified alliance.',
|
|
92
|
+
allianceCircular: 'Read the alliance circular-message form and recipient ranks.',
|
|
93
|
+
allianceCreate: 'Read the alliance creation form.',
|
|
94
|
+
allianceDeposit: 'Read the resource deposit form for the selected planet and alliance storage.',
|
|
95
|
+
allianceDevelopment: 'Read alliance development levels, costs and upgrade options.',
|
|
96
|
+
allianceInfo: 'Read the public information of the specified alliance.',
|
|
97
|
+
allianceIssue: 'Read the alliance resource distribution form and available recipients.',
|
|
98
|
+
allianceMemberList: 'Read the current alliance member list.',
|
|
99
|
+
allianceStorage: 'Read the current alliance resource storage.',
|
|
100
|
+
allianceWithdrawal: 'Read the alliance resource withdrawal form for the selected planet.',
|
|
101
|
+
ancientContainerShop: 'Read ancient container shop offers, prices and cooldowns.',
|
|
102
|
+
ancientContainerUpgrade:
|
|
103
|
+
'Submit a purchase from the ancient container shop catalogue using the supplied quantity.',
|
|
104
|
+
answer:
|
|
105
|
+
'Read one help answer; unknown identifiers can return the questions overview as a redirect.',
|
|
106
|
+
answerAllianceApplication:
|
|
107
|
+
'Submit acceptance or rejection of an alliance application, with an optional reply.',
|
|
108
|
+
arsenal: 'Read the arsenal bonus catalogue; this page has no purchase action.',
|
|
109
|
+
artifact: 'Read artifact offers, prices and remaining effect durations.',
|
|
110
|
+
artifactUpgrade:
|
|
111
|
+
'Purchase artifact effect time; amount counts server-configured purchase periods.',
|
|
112
|
+
auction: 'Read auction offers, prices and cooldowns.',
|
|
113
|
+
auctionUpgrade: 'Submit a purchase from the auction catalogue using the supplied quantity.',
|
|
114
|
+
banList: 'Read the selected page of in-game player ban records.',
|
|
115
|
+
band: 'Read Band levels, prices and bonuses.',
|
|
116
|
+
bandUpgrade: 'Submit a purchase of the selected Band levels.',
|
|
117
|
+
battleHall: 'Read the battle hall list using the selected ordering.',
|
|
118
|
+
battleReport: 'Read the specified battle report through the in-game report page.',
|
|
119
|
+
battleSimulator: 'Read the battle simulator unit slots and available bonus inputs.',
|
|
120
|
+
battleSimulatorSend:
|
|
121
|
+
'Generate a simulated battle report and return its receipt; omitted catalogue bonuses are zero.',
|
|
122
|
+
blueprints: 'Read blueprint offers, prices and remaining effect durations.',
|
|
123
|
+
blueprintsUpgrade:
|
|
124
|
+
'Purchase blueprint effect time; amount counts server-configured purchase periods.',
|
|
125
|
+
board: 'Request the forum entry and return its response or redirect.',
|
|
126
|
+
bonusSummary: 'Read the account bonus summary, including reported percentages and factors.',
|
|
127
|
+
buddyList: 'Read friends and incoming/outgoing friend requests.',
|
|
128
|
+
buddyListAccept: 'Submit acceptance of the selected incoming friend request.',
|
|
129
|
+
buddyListDelete:
|
|
130
|
+
'Decline an incoming request, cancel an outgoing request, or remove a friend by relationship ID.',
|
|
131
|
+
buddyListRequest: 'Read the friend request form for the specified player.',
|
|
132
|
+
buddyListSend: 'Submit a friend request to the specified player with its message.',
|
|
133
|
+
buildings: 'Read the selected planet building catalogue and construction queue.',
|
|
134
|
+
buildingsCancel: 'Cancel the active entry and every later entry for the same building.',
|
|
135
|
+
buildingsDowngrade: 'Submit a dismantling request for the specified building.',
|
|
136
|
+
buildingsFinish: 'Complete the active construction by spending dark matter.',
|
|
137
|
+
buildingsRemove: 'Remove a zero-based queue position.',
|
|
138
|
+
buildingsUpgrade:
|
|
139
|
+
'Submit the specified building levels to the selected planet construction queue.',
|
|
140
|
+
buyBuild: 'Read building level offers and their direct-purchase prices.',
|
|
141
|
+
buyBuildSend: 'Submit a direct purchase of the specified building levels.',
|
|
142
|
+
buyDefense: 'Read defense unit offers and their direct-purchase prices.',
|
|
143
|
+
buyDefenseSend: 'Submit a direct purchase of the specified defense unit quantity.',
|
|
144
|
+
buyFleet: 'Read ship unit offers and their direct-purchase prices.',
|
|
145
|
+
buyFleetSend: 'Submit a direct purchase of the specified ship quantity.',
|
|
146
|
+
buyTech: 'Read research level offers and their direct-purchase prices.',
|
|
147
|
+
buyTechSend: 'Submit a direct purchase of the specified research levels.',
|
|
148
|
+
calculateConstructionSeconds:
|
|
149
|
+
'Calculate construction seconds; ships, defenses and missiles remain unrounded.',
|
|
150
|
+
calculateFleetDistance: 'Calculate fleet distance; identical coordinates have distance 5.',
|
|
151
|
+
calculateFleetDuration:
|
|
152
|
+
'One flight leg in seconds, using speed choices 1–10 and the server minimum duration.',
|
|
153
|
+
calculateFleetFuel:
|
|
154
|
+
'Deuterium consumption from fleet distance, duration and individual ship characteristics.',
|
|
155
|
+
calculateLevelPrice:
|
|
156
|
+
'Price for the next level after completedLevel; dismantling halves the discounted price.',
|
|
157
|
+
calculateMissileDuration:
|
|
158
|
+
'Interplanetary missile flight time in seconds with the server minimum.',
|
|
159
|
+
calculatePlanetProduction:
|
|
160
|
+
'Calculate production using built-in formulas and supply limits; basic income excludes the resource multiplier and bonuses use fractions.',
|
|
161
|
+
calculateProducerFlow:
|
|
162
|
+
'Return base flow by resource ID before speed and bonuses: positive production and negative consumption.',
|
|
163
|
+
calculateResourceProduction:
|
|
164
|
+
'Calculate net hourly output excluding basic income; zero supply demand gives zero output.',
|
|
165
|
+
calculateShipConsumption:
|
|
166
|
+
'Use alternate consumption for small cargo at impulse level 5 or above and bombers at hyperspace level 8 or above.',
|
|
167
|
+
calculateShipSpeed:
|
|
168
|
+
'Calculate ship speed with drive switching and account bonuses expressed as fractions.',
|
|
169
|
+
calculateSupplyBalance: 'Scale supply by speed and bonus, and consumption by speed.',
|
|
170
|
+
cancelAllianceApplication: 'Submit cancellation of the pending alliance application.',
|
|
171
|
+
changeAllianceRank:
|
|
172
|
+
'Submit creation, editing or deletion of an alliance rank and its permissions.',
|
|
173
|
+
chat: 'Request the chat entry and return the server response or redirect.',
|
|
174
|
+
claimDailyBonus: 'Claim the daily reward; this request changes account resources.',
|
|
175
|
+
combatReport: 'Read the battle-report redirect without following it.',
|
|
176
|
+
containers: 'Read unopened container inventory and recent opening rewards.',
|
|
177
|
+
containersOpen: 'Consume the requested containers and return the server receipt.',
|
|
178
|
+
control: 'Read the empire overview of planets, moons, resources and element levels/counts.',
|
|
179
|
+
createAlliance: 'Submit a request to create an alliance with the supplied name and tag.',
|
|
180
|
+
createAllianceDiplomacy:
|
|
181
|
+
'Submit a diplomacy request to the selected alliance with its level and message.',
|
|
182
|
+
createMoon: 'Read the moon purchase price and availability for the selected planet.',
|
|
183
|
+
createMoonBuy: 'Submit a moon purchase request for the selected planet.',
|
|
184
|
+
deleteAllianceDiplomacy: 'Submit removal of the specified alliance diplomacy entry.',
|
|
185
|
+
delivery: 'Read delivery destinations and the fee charged per destination.',
|
|
186
|
+
deliverySend: 'Send the stated cargo to each target using the origin planet battle transporters.',
|
|
187
|
+
depositAllianceResources:
|
|
188
|
+
'Submit a transfer of the selected planet resources into alliance storage.',
|
|
189
|
+
details: 'Read detail levels, prices and bonuses.',
|
|
190
|
+
detailsUpgrade: 'Submit a component upgrade request.',
|
|
191
|
+
development: 'Read development bonus offers, prices and remaining effect durations.',
|
|
192
|
+
developmentUpgrade:
|
|
193
|
+
'Purchase development bonus time; amount counts server-configured purchase periods.',
|
|
194
|
+
dispatchFleet:
|
|
195
|
+
'Create, prepare and submit one draft sequentially with the tokens returned by the server.',
|
|
196
|
+
dissolveAlliance: 'Dissolve the alliance as its owner; the server redirects afterward.',
|
|
197
|
+
distributeAllianceResources: 'Distribute alliance stock to the member planet named by the form.',
|
|
198
|
+
ethics: 'Read ethic choices, costs and the currently selected option.',
|
|
199
|
+
ethicsUpgrade:
|
|
200
|
+
'Increase the specified ethics option by one level, select it and reset other ethics levels to zero.',
|
|
201
|
+
fair: 'Read fair offers, prices and cooldowns.',
|
|
202
|
+
fairUpgrade: 'Submit a purchase from the fair catalogue using the supplied quantity.',
|
|
203
|
+
findDebris:
|
|
204
|
+
'Search the selected planet galaxy within the range determined by its shipyard level.',
|
|
205
|
+
fleetAjax: 'Submit a quick fleet mission from the origin to the target planet.',
|
|
206
|
+
fleetDealer:
|
|
207
|
+
'Read sellable units, including ships or defenses, their resource payouts and the dealer fee.',
|
|
208
|
+
fleetDealerSend: 'Submit sale of the specified eligible unit type and quantity.',
|
|
209
|
+
fleetMissile: 'Launch missiles; the server limits the amount to silo stock.',
|
|
210
|
+
fleetStep1: 'Create a fleet draft, optionally saving its ships as a named preset.',
|
|
211
|
+
fleetStep1CheckTarget: 'Ask the server to check a fleet destination from the specified origin.',
|
|
212
|
+
fleetStep1DeleteShortcuts: 'Submit deletion of the selected fleet destination shortcuts.',
|
|
213
|
+
fleetStep1SaveShortcuts:
|
|
214
|
+
'Save destination shortcuts; unknown IDs add entries and empty names delete stored entries.',
|
|
215
|
+
fleetStep2: 'Set the destination and speed using the draft token returned by game fleet-step1.',
|
|
216
|
+
fleetStep3:
|
|
217
|
+
'Submit a prepared draft; the server validates the mission and may clamp cargo to available stock.',
|
|
218
|
+
fleetTable: 'Read the selected planet fleet inventory, mission slots, presets and flying fleets.',
|
|
219
|
+
fleetTableDeletePreset: 'Submit deletion of the fleet preset at the specified index.',
|
|
220
|
+
fleetTableInviteACS:
|
|
221
|
+
'Submit a player invitation to the selected joint attack and read its group panel.',
|
|
222
|
+
fleetTableOpenACS: 'Open the ACS panel, creating the group if the fleet has none.',
|
|
223
|
+
fleetTableRecall: 'Submit recall of the specified flying fleet.',
|
|
224
|
+
fleetTableRenameACS: 'Submit a new name for the selected joint-attack group.',
|
|
225
|
+
galaxy: 'Read a system from the selected planet; the server may charge deuterium.',
|
|
226
|
+
get: 'Read a raw text response within the installation.',
|
|
227
|
+
government: 'Read government choices, costs and the currently selected option.',
|
|
228
|
+
governmentUpgrade:
|
|
229
|
+
'Increase the specified government option by one level, select it and reset other government levels to zero.',
|
|
230
|
+
ideologies: 'Read ideology levels, prices and bonuses.',
|
|
231
|
+
ideologiesUpgrade: 'Submit a purchase of the selected ideology levels.',
|
|
232
|
+
information:
|
|
233
|
+
'Read the specified element description, attributes and any available gate or missile controls.',
|
|
234
|
+
informationDestroyMissiles:
|
|
235
|
+
'Submit dismantling of the specified missiles; omitted missile counts default to zero.',
|
|
236
|
+
informationSendFleet:
|
|
237
|
+
'Submit a jump-gate transfer of the specified ships between the selected moons.',
|
|
238
|
+
kickAllianceMember: 'Submit a request to remove the specified player from the alliance.',
|
|
239
|
+
leaveAlliance: 'Submit a request to leave the current alliance.',
|
|
240
|
+
logout: 'Request logout and clear the session token held by this invocation.',
|
|
241
|
+
market: 'Read market lots, sellable inventory, categories and the market currency balance.',
|
|
242
|
+
marketBuyLot: 'Submit purchase of the specified market lot.',
|
|
243
|
+
marketCancelLot: 'Submit cancellation of the specified market lot.',
|
|
244
|
+
marketCreateLot: 'Submit a market listing with the supplied items, price and category.',
|
|
245
|
+
messages: 'Read message categories, counters and any message list rendered by the server.',
|
|
246
|
+
messagesAction:
|
|
247
|
+
'Submit a message action. deleteunmarked removes unselected messages across all categories; deleteall removes all non-archived messages.',
|
|
248
|
+
messagesArchiveOne: 'Submit archival of the specified message.',
|
|
249
|
+
messagesDeleteOne: 'Submit deletion of the specified message.',
|
|
250
|
+
messagesSend:
|
|
251
|
+
'Send after game messages-write has prepared the same recipient in the same game session; game send-message performs both steps.',
|
|
252
|
+
messagesView: 'Read one category page and mark the returned incoming messages as read.',
|
|
253
|
+
messagesWrite:
|
|
254
|
+
'Read the compose form and prepare the game session to send to the specified recipient.',
|
|
255
|
+
minerals: 'Read mineral inventory, displayed costs and usage limits.',
|
|
256
|
+
mineralsUpgrade: 'Consume the selected mineral quantity and apply its configured effects.',
|
|
257
|
+
notes: 'Read the account note list.',
|
|
258
|
+
notesDelete: 'Submit deletion of the selected account notes.',
|
|
259
|
+
notesDetail: 'Read the contents and editing fields of the specified note.',
|
|
260
|
+
notesInsert: 'Create or replace a note; omitted fields use server defaults.',
|
|
261
|
+
notifications: 'Read notification counters and account sound flags.',
|
|
262
|
+
officer: 'Read officer levels, prices and bonuses.',
|
|
263
|
+
officerUpgrade: 'Submit a purchase of the selected officer levels.',
|
|
264
|
+
overview: 'Read the selected planet overview, fleet events and construction status.',
|
|
265
|
+
overviewDelete:
|
|
266
|
+
'Request abandonment: planets are deleted one day later; their moons or a directly selected moon are deleted immediately.',
|
|
267
|
+
overviewRename: 'Submit a new name for the selected planet or moon.',
|
|
268
|
+
party: 'Read party offers, prices and remaining effect durations.',
|
|
269
|
+
partyUpgrade:
|
|
270
|
+
'Purchase party time when no party is active; amount counts server-configured purchase periods.',
|
|
271
|
+
phalanx: 'Scan the target from the selected origin; scanning consumes fuel.',
|
|
272
|
+
planet:
|
|
273
|
+
'Read field/diameter purchase options and any relocation controls for the selected planet or moon.',
|
|
274
|
+
planetCoord: 'Submit relocation of the selected planet to the supplied coordinates.',
|
|
275
|
+
planetDiameter: 'Buy additional diameter units in one request.',
|
|
276
|
+
planetField: 'Buy additional building fields in one request.',
|
|
277
|
+
planetGenerateName: 'Request a server-generated planet name.',
|
|
278
|
+
playerBanner: 'Read player banner bytes; an etag cache hit can return an empty 304 response.',
|
|
279
|
+
playerCard: 'Read the specified player profile, rankings and combat statistics.',
|
|
280
|
+
post: 'Submit a URL-encoded form and return the raw text response.',
|
|
281
|
+
premium: 'Read premium bonus offers, prices and remaining effect durations.',
|
|
282
|
+
premiumUpgrade: 'Purchase premium bonus time; amount counts server-configured purchase periods.',
|
|
283
|
+
publicBanList: 'Read the public ban list for the selected universe and page.',
|
|
284
|
+
publicBattleHall: 'Read the public battle hall list for the selected universe.',
|
|
285
|
+
publicBattleReport: 'Read a report through the public battle-hall route.',
|
|
286
|
+
publicBoard: 'Read the server forum redirect response.',
|
|
287
|
+
publicDisclaimer: 'Read the site disclaimer and operator contact information.',
|
|
288
|
+
publicExternalAuth:
|
|
289
|
+
'Request external authentication and return a confirmed login or server receipt.',
|
|
290
|
+
publicIndex:
|
|
291
|
+
'Read the public homepage, available universes and any displayed announcements or login errors.',
|
|
292
|
+
publicLogin: 'Log in and return the server-confirmed session token.',
|
|
293
|
+
publicLostPassword:
|
|
294
|
+
'Read the password recovery form, available universes and captcha requirements.',
|
|
295
|
+
publicLostPasswordNew:
|
|
296
|
+
'Redeem the recovery token so the server generates and emails a new password.',
|
|
297
|
+
publicLostPasswordSend:
|
|
298
|
+
'Request password recovery with the account username and permanent email; include captcha when required.',
|
|
299
|
+
publicNews: 'Read news across the installation.',
|
|
300
|
+
publicRegister:
|
|
301
|
+
'Read the registration form, universe/language choices and any referral or external-auth identity.',
|
|
302
|
+
publicRegisterSend:
|
|
303
|
+
'Submit an account registration form, including rule acceptance and any required captcha.',
|
|
304
|
+
publicRules: 'Read the published game rules for the selected universe.',
|
|
305
|
+
publicScreens: 'Read public screenshot and thumbnail URLs.',
|
|
306
|
+
publicVerify: 'Activate the account and return its confirmed login or server receipt.',
|
|
307
|
+
publicVerifyJson: 'Activate the account without creating a login session.',
|
|
308
|
+
questions: 'Read the help question list and its categories.',
|
|
309
|
+
race: 'Read race choices, costs and the currently selected option.',
|
|
310
|
+
raceUpgrade:
|
|
311
|
+
'Increase the specified race by one level, select it and reset other race levels to zero.',
|
|
312
|
+
records: 'Read element records, their holders and the selected planet values.',
|
|
313
|
+
reduceFleet: 'Read candidate planets and fleets for gathering at the selected destination.',
|
|
314
|
+
reduceFleetGather: 'Gather fleets from selected planets at the destination.',
|
|
315
|
+
reduceResources:
|
|
316
|
+
'Read candidate planets and resource amounts for gathering at the selected destination.',
|
|
317
|
+
reduceResourcesGather:
|
|
318
|
+
'Gather resources from selected planets at the destination using stationed freighters.',
|
|
319
|
+
requestCronjob: 'Request a due cron job; a GIF does not confirm execution.',
|
|
320
|
+
research: 'Read the selected planet research catalogue and research queue.',
|
|
321
|
+
researchCancel: 'Cancel the active research.',
|
|
322
|
+
researchFinish: 'Spend dark matter to finish the active research.',
|
|
323
|
+
researchRemove:
|
|
324
|
+
'Remove a zero-based queue position; later queue timing is determined by the server.',
|
|
325
|
+
researchUpgrade: 'Submit the specified research levels to the selected planet research queue.',
|
|
326
|
+
resources:
|
|
327
|
+
'Read resource production, storage capacities and production settings for the selected planet.',
|
|
328
|
+
resourcesAllPlanets: 'Submit the production enabled or disabled state for all owned bodies.',
|
|
329
|
+
resourcesSend: 'Update only the supplied production steps on the selected planet.',
|
|
330
|
+
scan: 'Read the number of hostile fleets targeting the account.',
|
|
331
|
+
search: 'Read the available player, planet and alliance search types.',
|
|
332
|
+
searchAutocomplete:
|
|
333
|
+
'Fetch suggestions for the selected search kinds, defaulting to player names.',
|
|
334
|
+
searchResult: 'Search by player name by default; the term is sent unchanged.',
|
|
335
|
+
sendAllianceCircular:
|
|
336
|
+
'Send to the selected rank, or every member when rankId is omitted or zero.',
|
|
337
|
+
sendBuddyRequest: 'Read the friend request form and submit using its player ID.',
|
|
338
|
+
sendMessage:
|
|
339
|
+
'Read the compose form and send to its recipient; an omitted subject uses the form subject.',
|
|
340
|
+
setAllianceMemberRank: 'Assign one existing rank to an alliance member.',
|
|
341
|
+
settings:
|
|
342
|
+
'Read account preferences, vacation controls and the form used to preserve existing settings.',
|
|
343
|
+
settingsAccountDeletion:
|
|
344
|
+
'Submit the account deletion choice; enabling starts the deletion period now and disabling cancels it.',
|
|
345
|
+
settingsEmail: 'Change email with the current password required by the server.',
|
|
346
|
+
settingsPassword: 'Change the password using the current settings; sign in again after success.',
|
|
347
|
+
settingsSend:
|
|
348
|
+
'Submit preference changes using the supplied settings form and explicit account deletion choice.',
|
|
349
|
+
settingsUsername: 'Change the username using the current settings; sign in again after success.',
|
|
350
|
+
settingsVacation:
|
|
351
|
+
'Toggle vacation mode using the supplied settings form; the current mode determines whether this enters or leaves vacation.',
|
|
352
|
+
shipyard: 'Read ship construction options and the selected planet production queue.',
|
|
353
|
+
shipyardCancel: 'Cancel zero-based queue positions and apply the server refund rules.',
|
|
354
|
+
shipyardDefense: 'Read defense construction options and the selected planet production queue.',
|
|
355
|
+
shipyardProduce: 'Submit the selected ship or defense quantities to the production queue.',
|
|
356
|
+
snapshotAccount:
|
|
357
|
+
'Read account data and every listed planet or moon. Research quotes use the requested planet; extensions can write.',
|
|
358
|
+
snapshotPlanet:
|
|
359
|
+
'Read overview, buildings, fleet shipyard, resources, planet details and debris. Extensions can write.',
|
|
360
|
+
statistics: 'Read player or alliance rankings using the selected ranking type and range.',
|
|
361
|
+
store: 'Read the store directory and its available shop entries.',
|
|
362
|
+
submitAllianceApplication: 'Submit an application message to the specified alliance.',
|
|
363
|
+
techtree: 'Read technology requirements and whether the selected planet satisfies them.',
|
|
364
|
+
ticket: 'Read the account support ticket list.',
|
|
365
|
+
ticketCreate: 'Read the new support ticket form and available categories.',
|
|
366
|
+
ticketSend: 'Submit a new support ticket or a reply to the specified ticket.',
|
|
367
|
+
ticketView: 'Read the specified support ticket and its conversation.',
|
|
368
|
+
trader: 'Read resource trader options and the displayed trader fee.',
|
|
369
|
+
traderSend:
|
|
370
|
+
'Submit exchange of the selected source resource for the specified receiving amounts.',
|
|
371
|
+
traderTrade: 'Open the exchange offer for the selected resource and read its rates.',
|
|
372
|
+
transferAllianceLeadership: 'Submit transfer of alliance leadership to the specified player.',
|
|
373
|
+
updateAllianceSettings:
|
|
374
|
+
'Apply the patch over the supplied management form; eventMissions replaces the selected mission list.',
|
|
375
|
+
upgradeAllianceDevelopment: 'Submit a purchase of the specified alliance development levels.',
|
|
376
|
+
withdrawAllianceResources: 'Submit withdrawal of alliance resources to the selected planet.',
|
|
377
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import type { JsonSource } from '../../types.ts'
|
|
2
|
+
|
|
3
|
+
const JSON_SOURCES: Readonly<Record<JsonSource, string>> = {
|
|
4
|
+
input: '--input',
|
|
5
|
+
select: '--select',
|
|
6
|
+
session: '--session',
|
|
7
|
+
completion: 'The encoded completion payload',
|
|
8
|
+
stdin: 'stdin',
|
|
9
|
+
file: 'The referenced file',
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Format a flag's allowed values as a readable list, such as "auto, always or never". Every caller
|
|
14
|
+
* reports a declared enumeration, so there are always at least two values.
|
|
15
|
+
*
|
|
16
|
+
* 把某个参数的允许取值格式化为可读列表,例如 "auto, always or never"。
|
|
17
|
+
* 各调用方报告的都是已声明的枚举,因此至少有两项。
|
|
18
|
+
*/
|
|
19
|
+
const alternatives = (values: readonly string[]): string =>
|
|
20
|
+
`${values.slice(0, -1).join(', ')} or ${values.at(-1)}`
|
|
21
|
+
|
|
22
|
+
export const diagnostics = {
|
|
23
|
+
invalidLocale: (value: string, modes: readonly string[]): string =>
|
|
24
|
+
`Unsupported locale: ${value}. Use ${alternatives(modes)}.`,
|
|
25
|
+
nativeArguments: (reason: string): string => `Invalid command-line arguments: ${reason}`,
|
|
26
|
+
presentationMode: (name: string, modes: readonly string[]): string =>
|
|
27
|
+
`--${name} must be ${alternatives(modes)}`,
|
|
28
|
+
repeatedOption: (name: string): string => `Repeated option: --${name}`,
|
|
29
|
+
outputFormat: (formats: readonly string[]): string => `--format must be ${alternatives(formats)}`,
|
|
30
|
+
enhanceScope: '--enhance is only available for completion scripts',
|
|
31
|
+
unknownOption: (name: string): string => `Unknown option: --${name}`,
|
|
32
|
+
expectedString: (name: string): string => `Expected a string for --${name}`,
|
|
33
|
+
inputObject: 'input must be a JSON object',
|
|
34
|
+
finiteNumber: 'Expected a finite number',
|
|
35
|
+
enumChoice: (choices: string): string => `Expected one of: ${choices}`,
|
|
36
|
+
jsonContainer: 'Expected a JSON container',
|
|
37
|
+
expectedType: (label: string): string => `Expected ${label}`,
|
|
38
|
+
jsonValue: 'Expected a JSON value',
|
|
39
|
+
unknownCommand: (name: string): string => `Unknown command: ${name}`,
|
|
40
|
+
unresolvedOption: (command: string, name: string): string =>
|
|
41
|
+
`Unknown or unresolved option for ${command}: --${name}`,
|
|
42
|
+
branchOption: (name: string): string =>
|
|
43
|
+
`Option is not available in the selected branch: --${name}`,
|
|
44
|
+
completionDelimiter:
|
|
45
|
+
'Completion requires -- followed by words or --encoded followed by one Base64 JSON string array',
|
|
46
|
+
completionShellCount: 'Expected one completion shell',
|
|
47
|
+
selectStructuredOnly: '--select requires structured command or version output',
|
|
48
|
+
outputSelectFormat:
|
|
49
|
+
'The command returned a result, but its output could not be selected or formatted',
|
|
50
|
+
outputWrite: 'The command returned a result, but its output could not be written',
|
|
51
|
+
operationAndCleanup:
|
|
52
|
+
'Command or output processing failed and the temporary output file could not be cleaned up',
|
|
53
|
+
sessionObject: 'session must be a JSON object',
|
|
54
|
+
missingConnection: (fields: readonly string[], flags: readonly string[]): string =>
|
|
55
|
+
`Missing connection fields: ${fields.join(', ')}. Use --session JSON or supply ${flags.join(', ')}.`,
|
|
56
|
+
outputFilename: '--output requires a filename or -',
|
|
57
|
+
outputRegularFile: (path: string): string => `Output path is not a regular file: ${path}`,
|
|
58
|
+
outputCleanup: 'Could not clean up the output file',
|
|
59
|
+
pointerPrefix: 'A JSON Pointer must start with /',
|
|
60
|
+
pointerEscape: 'Invalid JSON Pointer escape',
|
|
61
|
+
pointerMissing: (pointer: string): string => `JSON Pointer does not exist: ${pointer}`,
|
|
62
|
+
selectionShape: 'select must be a JSON Pointer or an alias object',
|
|
63
|
+
selectionAlias: (alias: string): string =>
|
|
64
|
+
`select alias ${JSON.stringify(alias)} must contain a JSON Pointer`,
|
|
65
|
+
ambiguousOption: (name: string): string => `Ambiguous option: --${name}`,
|
|
66
|
+
expectedArray: 'Expected an array before the indexed field',
|
|
67
|
+
missingArrayIndex: (index: number): string => `Missing array index: ${index}`,
|
|
68
|
+
expectedMap: 'Expected a Map before the keyed field',
|
|
69
|
+
invalidMapKey: (key: string): string => `Invalid Map key: ${key}`,
|
|
70
|
+
expectedObject: 'Expected an object before the nested field',
|
|
71
|
+
invalidParameter: (path: string): string => `Invalid parameter: ${path}`,
|
|
72
|
+
unknownParameter: (path: string): string => `Unknown parameter: ${path}`,
|
|
73
|
+
invalidCommandParameters: (command: string): string => `Invalid parameters for ${command}`,
|
|
74
|
+
invalidJson: (source: JsonSource): string => `${JSON_SOURCES[source]} must contain valid JSON`,
|
|
75
|
+
referenceFilename: 'A file reference requires a filename',
|
|
76
|
+
snapshotCommand: (name: string): string => `Not a snapshot extension command: ${name}`,
|
|
77
|
+
shellChoice: (shells: readonly string[]): string =>
|
|
78
|
+
`Completion shell must be ${alternatives(shells)}`,
|
|
79
|
+
bleRequired:
|
|
80
|
+
'Bifrost input enhancements need Bash 4.0+ with ble.sh 0.4+ loaded: https://github.com/akinomyoga/ble.sh',
|
|
81
|
+
zshAutosuggest:
|
|
82
|
+
'Load zsh-autosuggestions before enhancing Bifrost input: https://github.com/zsh-users/zsh-autosuggestions',
|
|
83
|
+
psReadLine:
|
|
84
|
+
'Bifrost input enhancements need PSReadLine 2.2.2+ loaded: https://learn.microsoft.com/powershell/scripting/learn/shell/using-predictors',
|
|
85
|
+
psPredictor:
|
|
86
|
+
'Bifrost input enhancements need an installed CompletionPredictor module: https://github.com/PowerShell/CompletionPredictor',
|
|
87
|
+
psEnableFailed: (reason: string): string =>
|
|
88
|
+
`Could not enable Bifrost input enhancements: ${reason} https://github.com/PowerShell/CompletionPredictor`,
|
|
89
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import type { HelpPart } from '../presentation.ts'
|
|
2
|
+
import { commands } from './en-US/commands.ts'
|
|
3
|
+
import { diagnostics } from './en-US/diagnostics.ts'
|
|
4
|
+
|
|
5
|
+
const help = {
|
|
6
|
+
title: 'Bifrost CLI',
|
|
7
|
+
usage: 'Usage',
|
|
8
|
+
command: 'command',
|
|
9
|
+
option: 'options',
|
|
10
|
+
input: 'Input',
|
|
11
|
+
commands: 'Commands',
|
|
12
|
+
options: 'Options',
|
|
13
|
+
connection: 'Connection',
|
|
14
|
+
required: 'required',
|
|
15
|
+
optional: 'optional',
|
|
16
|
+
conditional: 'conditional',
|
|
17
|
+
stringType: 'STRING',
|
|
18
|
+
numberType: 'NUMBER',
|
|
19
|
+
file: 'FILE',
|
|
20
|
+
pointer: 'POINTER',
|
|
21
|
+
token: 'TOKEN',
|
|
22
|
+
user: 'USER',
|
|
23
|
+
password: 'PASSWORD',
|
|
24
|
+
code: 'CODE',
|
|
25
|
+
sharedOptions: 'Shared options',
|
|
26
|
+
inputDescription: 'Base input; named paths override matching values',
|
|
27
|
+
formatDescription: 'Output format (default: text)',
|
|
28
|
+
colorDescription: 'Text stream colors (default: auto)',
|
|
29
|
+
linksDescription: 'Text stream links (default: auto)',
|
|
30
|
+
localeDescription: 'Interface language (default: auto)',
|
|
31
|
+
selectDescription: 'Select one value or map names to output pointers',
|
|
32
|
+
outputDescription: 'Replace a file or write to stdout (default: -)',
|
|
33
|
+
helpDescription: 'Show help for the selected command',
|
|
34
|
+
versionDescription: 'Show CLI and Bifrost versions',
|
|
35
|
+
sessionDescription: 'Connection fields; named flags override them',
|
|
36
|
+
baseUrlDescription: 'Installation directory ending in /',
|
|
37
|
+
universeDescription: 'Session universe',
|
|
38
|
+
tokenDescription: 'Reuse a session token',
|
|
39
|
+
usernameDescription: 'Login username',
|
|
40
|
+
passwordDescription: 'Login password',
|
|
41
|
+
languageDescription: 'Login language',
|
|
42
|
+
forwardedIpDescription: 'Forwarded client address',
|
|
43
|
+
autoLoginDescription: 'Automatic login with credentials (default: off)',
|
|
44
|
+
noAutoLoginDescription: 'Disable automatic login',
|
|
45
|
+
docs: 'Docs',
|
|
46
|
+
docsUrl: 'https://github.com/AhMisty/senators-bifrost-cli#readme',
|
|
47
|
+
completion: (enhance: HelpPart): readonly HelpPart[] => [
|
|
48
|
+
'Print shell completion setup. ',
|
|
49
|
+
enhance,
|
|
50
|
+
' also enables suggestions in a supported shell editor.',
|
|
51
|
+
],
|
|
52
|
+
accountEditorIds: 'Resource edits require id for a body, id_dark for an account, or both.',
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export type Messages = {
|
|
56
|
+
commands: typeof commands
|
|
57
|
+
diagnostics: typeof diagnostics
|
|
58
|
+
help: typeof help
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export const enUS: Messages = { commands, diagnostics, help }
|