app_versions.json 64 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116
  1. {
  2. "1.1.8": {
  3. "healthy": true,
  4. "supported": true,
  5. "healthy_error": null,
  6. "location": "/__w/charts/charts/community/minecraft/1.1.8",
  7. "last_update": "2023-12-17 17:06:21",
  8. "required_features": [
  9. "normalize/ixVolume",
  10. "definitions/timezone"
  11. ],
  12. "human_version": "2023.12.1_1.1.8",
  13. "version": "1.1.8",
  14. "chart_metadata": {
  15. "name": "minecraft",
  16. "description": "Minecraft is a sandbox game",
  17. "annotations": {
  18. "title": "Minecraft"
  19. },
  20. "type": "application",
  21. "version": "1.1.8",
  22. "apiVersion": "v2",
  23. "appVersion": "2023.12.1",
  24. "kubeVersion": ">=1.16.0-0",
  25. "maintainers": [
  26. {
  27. "name": "truenas",
  28. "url": "https://www.truenas.com/",
  29. "email": "dev@ixsystems.com"
  30. }
  31. ],
  32. "dependencies": [
  33. {
  34. "name": "common",
  35. "repository": "file://../../../common",
  36. "version": "1.2.4"
  37. }
  38. ],
  39. "home": "https://www.minecraft.net/en-us",
  40. "icon": "https://media.sys.truenas.net/apps/minecraft/icons/icon.svg",
  41. "sources": [
  42. "https://www.minecraft.net/en-us",
  43. "https://github.com/truenas/charts/tree/master/community/minecraft",
  44. "https://github.com/itzg/docker-minecraft-server"
  45. ],
  46. "keywords": [
  47. "minecraft"
  48. ]
  49. },
  50. "app_metadata": {
  51. "runAsContext": [
  52. {
  53. "userName": "root",
  54. "groupName": "root",
  55. "gid": 0,
  56. "uid": 0,
  57. "description": "Minecraft requires root privileges to start the Minecraft process"
  58. }
  59. ],
  60. "capabilities": [
  61. {
  62. "name": "CHOWN",
  63. "description": "Minecraft is able to chown files."
  64. },
  65. {
  66. "name": "DAC_OVERRIDE",
  67. "description": "Minecraft is able to bypass permission checks."
  68. },
  69. {
  70. "name": "FOWNER",
  71. "description": "Minecraft is able bypass permission checks for it's sub-processes."
  72. },
  73. {
  74. "name": "SETGID",
  75. "description": "Minecraft is able to set group ID for it's sub-processes."
  76. },
  77. {
  78. "name": "SETUID",
  79. "description": "Minecraft is able to set user ID for it's sub-processes."
  80. }
  81. ],
  82. "hostMounts": []
  83. },
  84. "schema": {
  85. "groups": [
  86. {
  87. "name": "Minecraft Configuration",
  88. "description": "Configure Minecraft"
  89. },
  90. {
  91. "name": "User and Group Configuration",
  92. "description": "Configure User and Group for Minecraft"
  93. },
  94. {
  95. "name": "Network Configuration",
  96. "description": "Configure Network for Minecraft"
  97. },
  98. {
  99. "name": "Storage Configuration",
  100. "description": "Configure Storage for Minecraft"
  101. },
  102. {
  103. "name": "Resources Configuration",
  104. "description": "Configure Resources for Minecraft"
  105. }
  106. ],
  107. "questions": [
  108. {
  109. "variable": "TZ",
  110. "group": "Minecraft Configuration",
  111. "label": "Timezone",
  112. "schema": {
  113. "type": "string",
  114. "default": "America/Los_Angeles",
  115. "required": true,
  116. "$ref": [
  117. "definitions/timezone"
  118. ],
  119. "enum": [
  120. {
  121. "value": "Asia/Damascus",
  122. "description": "'Asia/Damascus' timezone"
  123. },
  124. {
  125. "value": "Asia/Saigon",
  126. "description": "'Asia/Saigon' timezone"
  127. }
  128. ]
  129. }
  130. },
  131. {
  132. "variable": "mcConfig",
  133. "label": "",
  134. "group": "Minecraft Configuration",
  135. "schema": {
  136. "type": "dict",
  137. "attrs": [
  138. {
  139. "variable": "eula",
  140. "label": "EULA",
  141. "description": "Accept the EULA.",
  142. "schema": {
  143. "type": "boolean",
  144. "default": false,
  145. "required": true
  146. }
  147. },
  148. {
  149. "variable": "imageSelector",
  150. "label": "Image",
  151. "description": "The image to use for Minecraft.</br>\nDepending on the image you select, you might\nneed to adjust the Version and Type fields.\n",
  152. "schema": {
  153. "type": "string",
  154. "default": "j17Image",
  155. "required": true,
  156. "enum": [
  157. {
  158. "value": "j8Image",
  159. "description": "Java 8 HotSpot (Alpine)"
  160. },
  161. {
  162. "value": "j8j9Image",
  163. "description": "Java 8 OpenJ9 (Debian)"
  164. },
  165. {
  166. "value": "j8jdkImage",
  167. "description": "Java 8 HotSpot+JDK (Ubuntu)"
  168. },
  169. {
  170. "value": "j8gceImage",
  171. "description": "Java 8 GraalVM CE (Oracle)"
  172. },
  173. {
  174. "value": "j11Image",
  175. "description": "Java 11 HotSpot (Ubuntu)"
  176. },
  177. {
  178. "value": "j11j9Image",
  179. "description": "Java 11 OpenJ9 (Debian)"
  180. },
  181. {
  182. "value": "j11jdkImage",
  183. "description": "Java 11 HotSpot+JDK (Ubuntu)"
  184. },
  185. {
  186. "value": "j17Image",
  187. "description": "Java 17 HotSpot (Ubuntu)"
  188. },
  189. {
  190. "value": "j17j9Image",
  191. "description": "Java 17 OpenJ9 (Debian)"
  192. },
  193. {
  194. "value": "j17jdkImage",
  195. "description": "Java 17 HotSpot+JDK (Ubuntu)"
  196. },
  197. {
  198. "value": "j17gceImage",
  199. "description": "Java 17 GraalVM CE (Oracle)"
  200. },
  201. {
  202. "value": "j17alpineImage",
  203. "description": "Java 17 HotSpot (Alpine)"
  204. },
  205. {
  206. "value": "j19Image",
  207. "description": "Java 19 HotSpot (Ubuntu)"
  208. }
  209. ]
  210. }
  211. },
  212. {
  213. "variable": "type",
  214. "label": "Type",
  215. "description": "The type of Minecraft server to run.</br>\nDepending on the type you select, you might need\nto add additional environment variables. </br>\nhttps://itzg.github.io/docker-minecraft-docs/java/server-types/bukkit-spigot\n",
  216. "schema": {
  217. "type": "string",
  218. "default": "VANILLA",
  219. "required": true,
  220. "enum": [
  221. {
  222. "value": "VANILLA",
  223. "description": "Vanilla"
  224. },
  225. {
  226. "value": "SPIGOT",
  227. "description": "Spigot"
  228. },
  229. {
  230. "value": "BUKKIT",
  231. "description": "Bukkit"
  232. },
  233. {
  234. "value": "FORGE",
  235. "description": "Forge"
  236. },
  237. {
  238. "value": "CATSERVER",
  239. "description": "CatServer"
  240. },
  241. {
  242. "value": "CRUCIBLE",
  243. "description": "Crucible"
  244. },
  245. {
  246. "value": "AUTO_CURSEFORGE",
  247. "description": "Auto CurseForge"
  248. },
  249. {
  250. "value": "CUSTOM",
  251. "description": "Custom"
  252. },
  253. {
  254. "value": "FABRIC",
  255. "description": "Fabric"
  256. },
  257. {
  258. "value": "FTBA",
  259. "description": "Feed The Beast"
  260. },
  261. {
  262. "value": "FORGE",
  263. "description": "Forge"
  264. },
  265. {
  266. "value": "LOLISERVER",
  267. "description": "LoliServer"
  268. },
  269. {
  270. "value": "LIMBO",
  271. "description": "Limbo"
  272. },
  273. {
  274. "value": "MAGMA",
  275. "description": "Magma"
  276. },
  277. {
  278. "value": "MOHIST",
  279. "description": "Mohist"
  280. },
  281. {
  282. "value": "FABRIC",
  283. "description": "Fabric"
  284. },
  285. {
  286. "value": "PAPER",
  287. "description": "Paper"
  288. },
  289. {
  290. "value": "PUFFERFISH",
  291. "description": "Pufferfish"
  292. },
  293. {
  294. "value": "PURPUR",
  295. "description": "Purpur"
  296. },
  297. {
  298. "value": "QUILT",
  299. "description": "Quilt"
  300. },
  301. {
  302. "value": "SPONGEVANILLA",
  303. "description": "SpongeVanilla"
  304. }
  305. ]
  306. }
  307. },
  308. {
  309. "variable": "version",
  310. "label": "Version",
  311. "description": "The minecraft version.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/versions/minecraft\n",
  312. "schema": {
  313. "type": "string",
  314. "default": "LATEST",
  315. "required": true
  316. }
  317. },
  318. {
  319. "variable": "serverName",
  320. "label": "Server Name",
  321. "description": "The name of the Minecraft server.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/servername\n",
  322. "schema": {
  323. "type": "string",
  324. "default": "Minecraft Server",
  325. "required": true
  326. }
  327. },
  328. {
  329. "variable": "difficulty",
  330. "label": "Difficulty",
  331. "description": "The difficulty of the Minecraft server.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/difficulty\n",
  332. "schema": {
  333. "type": "string",
  334. "default": "easy",
  335. "required": true,
  336. "enum": [
  337. {
  338. "value": "peaceful",
  339. "description": "Peaceful"
  340. },
  341. {
  342. "value": "easy",
  343. "description": "Easy"
  344. },
  345. {
  346. "value": "normal",
  347. "description": "Normal"
  348. },
  349. {
  350. "value": "hard",
  351. "description": "Hard"
  352. }
  353. ]
  354. }
  355. },
  356. {
  357. "variable": "seed",
  358. "label": "Seed",
  359. "description": "The seed for the Minecraft server.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/seed </br>\n(Quotes is handled by the field automatically)\n",
  360. "schema": {
  361. "type": "string",
  362. "default": ""
  363. }
  364. },
  365. {
  366. "variable": "mode",
  367. "label": "Game Mode",
  368. "description": "The game mode of the Minecraft server.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/gamemode\n",
  369. "schema": {
  370. "type": "string",
  371. "default": "survival",
  372. "required": true,
  373. "enum": [
  374. {
  375. "value": "survival",
  376. "description": "Survival"
  377. },
  378. {
  379. "value": "creative",
  380. "description": "Creative"
  381. },
  382. {
  383. "value": "adventure",
  384. "description": "Adventure"
  385. },
  386. {
  387. "value": "spectator",
  388. "description": "Spectator"
  389. }
  390. ]
  391. }
  392. },
  393. {
  394. "variable": "levelType",
  395. "label": "Level Type",
  396. "description": "The level type of the Minecraft server.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/#level-type-and-generator-settings\n",
  397. "schema": {
  398. "type": "string",
  399. "default": "minecraft:default",
  400. "required": true,
  401. "enum": [
  402. {
  403. "value": "minecraft:default",
  404. "description": "Default"
  405. },
  406. {
  407. "value": "minecraft:flat",
  408. "description": "Flat"
  409. },
  410. {
  411. "value": "minecraft:large_biomes",
  412. "description": "Large Biomes"
  413. },
  414. {
  415. "value": "minecraft:amplified",
  416. "description": "Amplified"
  417. },
  418. {
  419. "value": "minecraft:single_biome_surface",
  420. "description": "Single Biome Surface"
  421. },
  422. {
  423. "value": "buffet",
  424. "description": "Buffet"
  425. },
  426. {
  427. "value": "customized",
  428. "description": "Customized"
  429. }
  430. ]
  431. }
  432. },
  433. {
  434. "variable": "motd",
  435. "label": "Message of the Day",
  436. "description": "The message of the day for the Minecraft server.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/motd\n",
  437. "schema": {
  438. "type": "string",
  439. "default": "Welcome to Minecraft on TrueNAS!",
  440. "required": true
  441. }
  442. },
  443. {
  444. "variable": "enableRcon",
  445. "label": "Enable RCON",
  446. "description": "Enable RCON for the Minecraft server.</br>\nIt is recommended to keep this enabled, as it helps to\nshut down the minecraft server gracefully.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/rcon\n",
  447. "schema": {
  448. "type": "boolean",
  449. "default": true
  450. }
  451. },
  452. {
  453. "variable": "rconPassword",
  454. "label": "RCON Password",
  455. "description": "The RCON password for the Minecraft server.",
  456. "schema": {
  457. "type": "string",
  458. "default": "",
  459. "show_if": [
  460. [
  461. "enableRcon",
  462. "=",
  463. true
  464. ]
  465. ],
  466. "private": true,
  467. "required": true
  468. }
  469. },
  470. {
  471. "variable": "maxPlayers",
  472. "label": "Max Players",
  473. "description": "The maximum number of players that can join the server.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/maxplayers\n",
  474. "schema": {
  475. "type": "int",
  476. "default": 20,
  477. "min": 1,
  478. "required": true
  479. }
  480. },
  481. {
  482. "variable": "maxWorldSize",
  483. "label": "Max World Size",
  484. "description": "The maximum possible size in blocks, expressed as a radius.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/maxworldsize\n",
  485. "schema": {
  486. "type": "int",
  487. "default": 10000,
  488. "min": 1,
  489. "required": true
  490. }
  491. },
  492. {
  493. "variable": "maxBuildHeight",
  494. "label": "Max Build Height",
  495. "description": "The maximum height in which building is allowed.\nTerrain may still naturally generate above a low height limit.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/maxbuildheight\n",
  496. "schema": {
  497. "type": "int",
  498. "default": 256,
  499. "min": 1,
  500. "required": true
  501. }
  502. },
  503. {
  504. "variable": "allowNether",
  505. "label": "Allow Nether",
  506. "description": "Allows players to travel to the Nether.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/allownether\n",
  507. "schema": {
  508. "type": "boolean",
  509. "default": true
  510. }
  511. },
  512. {
  513. "variable": "announcePlayerAchievements",
  514. "label": "Announce Player Achievements",
  515. "description": "Allows server to announce when a player gets an achievement.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/announceachievements\n",
  516. "schema": {
  517. "type": "boolean",
  518. "default": true
  519. }
  520. },
  521. {
  522. "variable": "enableCommandBlock",
  523. "label": "Enable Command Block",
  524. "description": "Enables the command blocks.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/enablecommandblock\n",
  525. "schema": {
  526. "type": "boolean",
  527. "default": false
  528. }
  529. },
  530. {
  531. "variable": "forceGameMode",
  532. "label": "Force Game Mode",
  533. "description": "Force players to join in the default game mode.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/forcegamemode\n",
  534. "schema": {
  535. "type": "boolean",
  536. "default": false
  537. }
  538. },
  539. {
  540. "variable": "generateStructures",
  541. "label": "Generate Structures",
  542. "description": "Defines whether structures (such as villages) will be generated.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/generatestructures\n",
  543. "schema": {
  544. "type": "boolean",
  545. "default": true
  546. }
  547. },
  548. {
  549. "variable": "hardcore",
  550. "label": "Hardcore",
  551. "description": "If set to true, players will be set to spectator mode if they die.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/hardcore\n",
  552. "schema": {
  553. "type": "boolean",
  554. "default": false
  555. }
  556. },
  557. {
  558. "variable": "spawnAnimals",
  559. "label": "Spawn Animals",
  560. "description": "Determines if animals will be able to spawn.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/spawnanimals\n",
  561. "schema": {
  562. "type": "boolean",
  563. "default": true
  564. }
  565. },
  566. {
  567. "variable": "spawnNpcs",
  568. "label": "Spawn NPCs",
  569. "description": "Determines if villagers will be spawned.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/spawnnpcs\n",
  570. "schema": {
  571. "type": "boolean",
  572. "default": true
  573. }
  574. },
  575. {
  576. "variable": "spawnMonsters",
  577. "label": "Spawn Monsters",
  578. "description": "Determines if monsters will be spawned.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/spawnmonsters\n",
  579. "schema": {
  580. "type": "boolean",
  581. "default": true
  582. }
  583. },
  584. {
  585. "variable": "spawnProtection",
  586. "label": "Spawn Protection",
  587. "description": "The radius of the spawn protection.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/spawnprotection\n",
  588. "schema": {
  589. "type": "int",
  590. "default": 16,
  591. "min": 0,
  592. "required": true
  593. }
  594. },
  595. {
  596. "variable": "pvp",
  597. "label": "PVP",
  598. "description": "Determines if PVP will be enabled.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/pvp\n",
  599. "schema": {
  600. "type": "boolean",
  601. "default": true
  602. }
  603. },
  604. {
  605. "variable": "allowFlight",
  606. "label": "Allow Flight",
  607. "description": "Allows users to use flight on your server while in Survival mode,\nif they have a mod that provides flight installed.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/allowflight\n",
  608. "schema": {
  609. "type": "boolean",
  610. "default": false
  611. }
  612. },
  613. {
  614. "variable": "viewDistance",
  615. "label": "View Distance",
  616. "description": "Sets the amount of world data the server sends the client,\nmeasured in chunks in each direction of the player (radius, not diameter).\nIt determines the server-side viewing distance.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/viewdistance\n",
  617. "schema": {
  618. "type": "int",
  619. "default": 10,
  620. "min": 3,
  621. "max": 32,
  622. "required": true
  623. }
  624. },
  625. {
  626. "variable": "onlineMode",
  627. "label": "Online Mode",
  628. "description": "If set to true, the server will attempt to authenticate clients\nconnecting to it with the Minecraft account database.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/onlinemode\n",
  629. "schema": {
  630. "type": "boolean",
  631. "default": true
  632. }
  633. },
  634. {
  635. "variable": "maxTickTime",
  636. "label": "Max Tick Time",
  637. "description": "The maximum number of milliseconds a single tick may take\nbefore the server watchdog stops the server with the message,\nA single server tick took 60.00 seconds (should be max 0.05);\nConsidering it to be crashed, server will forcibly shutdown.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/maxticktime\n",
  638. "schema": {
  639. "type": "int",
  640. "default": 60000,
  641. "min": 0,
  642. "required": true
  643. }
  644. },
  645. {
  646. "variable": "ops",
  647. "label": "Operators / Administrators",
  648. "description": "A list of player names who should be considered operators.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/ops\n",
  649. "schema": {
  650. "type": "list",
  651. "default": [],
  652. "items": [
  653. {
  654. "variable": "opPlayer",
  655. "label": "OP Player",
  656. "schema": {
  657. "type": "string",
  658. "default": "",
  659. "required": true
  660. }
  661. }
  662. ]
  663. }
  664. },
  665. {
  666. "variable": "whitelist",
  667. "label": "Whitelist",
  668. "description": "A list of player names who are allowed to play on the server.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/whitelist\n",
  669. "schema": {
  670. "type": "list",
  671. "default": [],
  672. "items": [
  673. {
  674. "variable": "whitePlayer",
  675. "label": "Whitelisted Player",
  676. "schema": {
  677. "type": "string",
  678. "default": "",
  679. "required": true
  680. }
  681. }
  682. ]
  683. }
  684. },
  685. {
  686. "variable": "additionalEnvs",
  687. "label": "Additional Environment Variables",
  688. "description": "Configure additional environment variables for Minecraft.",
  689. "schema": {
  690. "type": "list",
  691. "default": [],
  692. "items": [
  693. {
  694. "variable": "env",
  695. "label": "Environment Variable",
  696. "schema": {
  697. "type": "dict",
  698. "attrs": [
  699. {
  700. "variable": "name",
  701. "label": "Name",
  702. "schema": {
  703. "type": "string",
  704. "required": true
  705. }
  706. },
  707. {
  708. "variable": "value",
  709. "label": "Value",
  710. "schema": {
  711. "type": "string",
  712. "required": true
  713. }
  714. }
  715. ]
  716. }
  717. }
  718. ]
  719. }
  720. }
  721. ]
  722. }
  723. },
  724. {
  725. "variable": "mcID",
  726. "label": "",
  727. "group": "User and Group Configuration",
  728. "schema": {
  729. "type": "dict",
  730. "attrs": [
  731. {
  732. "variable": "user",
  733. "label": "User ID",
  734. "description": "The user id that Minecraft files will be owned by.",
  735. "schema": {
  736. "type": "int",
  737. "min": 568,
  738. "default": 568,
  739. "required": true
  740. }
  741. },
  742. {
  743. "variable": "group",
  744. "label": "Group ID",
  745. "description": "The group id that Minecraft files will be owned by.",
  746. "schema": {
  747. "type": "int",
  748. "min": 568,
  749. "default": 568,
  750. "required": true
  751. }
  752. }
  753. ]
  754. }
  755. },
  756. {
  757. "variable": "mcNetwork",
  758. "label": "",
  759. "group": "Network Configuration",
  760. "schema": {
  761. "type": "dict",
  762. "attrs": [
  763. {
  764. "variable": "hostNetwork",
  765. "label": "Host Network",
  766. "description": "Bind to the host network. It's recommended to keep this disabled.</br>\n",
  767. "schema": {
  768. "type": "boolean",
  769. "default": false
  770. }
  771. },
  772. {
  773. "variable": "serverPort",
  774. "label": "Server Port",
  775. "description": "The port for the Minecraft Server.</br>\nThis will apply to both external and internal ports.\n",
  776. "schema": {
  777. "type": "int",
  778. "default": 25535,
  779. "min": 9000,
  780. "max": 65535,
  781. "required": true
  782. }
  783. },
  784. {
  785. "variable": "rconPort",
  786. "label": "RCON Port",
  787. "description": "The RCON port for the Minecraft.</br>\nThis will apply to both external and internal ports.\n",
  788. "schema": {
  789. "type": "int",
  790. "default": 25575,
  791. "min": 9000,
  792. "max": 65535,
  793. "required": true
  794. }
  795. }
  796. ]
  797. }
  798. },
  799. {
  800. "variable": "mcStorage",
  801. "label": "",
  802. "group": "Storage Configuration",
  803. "schema": {
  804. "type": "dict",
  805. "attrs": [
  806. {
  807. "variable": "data",
  808. "label": "Minecraft Data Storage",
  809. "description": "The path to store Minecraft Data.",
  810. "schema": {
  811. "type": "dict",
  812. "attrs": [
  813. {
  814. "variable": "type",
  815. "label": "Type",
  816. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  817. "schema": {
  818. "type": "string",
  819. "required": true,
  820. "immutable": true,
  821. "default": "ixVolume",
  822. "enum": [
  823. {
  824. "value": "hostPath",
  825. "description": "Host Path (Path that already exists on the system)"
  826. },
  827. {
  828. "value": "ixVolume",
  829. "description": "ixVolume (Dataset created automatically by the system)"
  830. }
  831. ]
  832. }
  833. },
  834. {
  835. "variable": "datasetName",
  836. "label": "Dataset Name",
  837. "schema": {
  838. "type": "string",
  839. "show_if": [
  840. [
  841. "type",
  842. "=",
  843. "ixVolume"
  844. ]
  845. ],
  846. "required": true,
  847. "hidden": true,
  848. "immutable": true,
  849. "default": "data",
  850. "$ref": [
  851. "normalize/ixVolume"
  852. ]
  853. }
  854. },
  855. {
  856. "variable": "hostPath",
  857. "label": "Host Path",
  858. "schema": {
  859. "type": "hostpath",
  860. "show_if": [
  861. [
  862. "type",
  863. "=",
  864. "hostPath"
  865. ]
  866. ],
  867. "required": true
  868. }
  869. }
  870. ]
  871. }
  872. },
  873. {
  874. "variable": "additionalStorages",
  875. "label": "Additional Storage",
  876. "description": "Additional storage for Minecraft.",
  877. "schema": {
  878. "type": "list",
  879. "default": [],
  880. "items": [
  881. {
  882. "variable": "storageEntry",
  883. "label": "Storage Entry",
  884. "schema": {
  885. "type": "dict",
  886. "attrs": [
  887. {
  888. "variable": "type",
  889. "label": "Type",
  890. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.</br>\nSMB Share: Is a SMB share that is mounted to a persistent volume claim.\n",
  891. "schema": {
  892. "type": "string",
  893. "required": true,
  894. "default": "ixVolume",
  895. "immutable": true,
  896. "enum": [
  897. {
  898. "value": "hostPath",
  899. "description": "Host Path (Path that already exists on the system)"
  900. },
  901. {
  902. "value": "ixVolume",
  903. "description": "ixVolume (Dataset created automatically by the system)"
  904. },
  905. {
  906. "value": "smb-pv-pvc",
  907. "description": "SMB Share (Mounts a persistent volume claim to a SMB share)"
  908. }
  909. ]
  910. }
  911. },
  912. {
  913. "variable": "mountPath",
  914. "label": "Mount Path",
  915. "description": "The path inside the container to mount the storage.",
  916. "schema": {
  917. "type": "path",
  918. "required": true
  919. }
  920. },
  921. {
  922. "variable": "hostPath",
  923. "label": "Host Path",
  924. "description": "The host path to use for storage.",
  925. "schema": {
  926. "type": "hostpath",
  927. "show_if": [
  928. [
  929. "type",
  930. "=",
  931. "hostPath"
  932. ]
  933. ],
  934. "required": true
  935. }
  936. },
  937. {
  938. "variable": "datasetName",
  939. "label": "Dataset Name",
  940. "description": "The name of the dataset to use for storage.",
  941. "schema": {
  942. "type": "string",
  943. "show_if": [
  944. [
  945. "type",
  946. "=",
  947. "ixVolume"
  948. ]
  949. ],
  950. "required": true,
  951. "immutable": true,
  952. "default": "storage_entry",
  953. "$ref": [
  954. "normalize/ixVolume"
  955. ]
  956. }
  957. },
  958. {
  959. "variable": "server",
  960. "label": "Server",
  961. "description": "The server for the SMB share.",
  962. "schema": {
  963. "type": "string",
  964. "show_if": [
  965. [
  966. "type",
  967. "=",
  968. "smb-pv-pvc"
  969. ]
  970. ],
  971. "required": true
  972. }
  973. },
  974. {
  975. "variable": "share",
  976. "label": "Share",
  977. "description": "The share name for the SMB share.",
  978. "schema": {
  979. "type": "string",
  980. "show_if": [
  981. [
  982. "type",
  983. "=",
  984. "smb-pv-pvc"
  985. ]
  986. ],
  987. "required": true
  988. }
  989. },
  990. {
  991. "variable": "domain",
  992. "label": "Domain (Optional)",
  993. "description": "The domain for the SMB share.",
  994. "schema": {
  995. "type": "string",
  996. "show_if": [
  997. [
  998. "type",
  999. "=",
  1000. "smb-pv-pvc"
  1001. ]
  1002. ]
  1003. }
  1004. },
  1005. {
  1006. "variable": "username",
  1007. "label": "Username",
  1008. "description": "The username for the SMB share.",
  1009. "schema": {
  1010. "type": "string",
  1011. "show_if": [
  1012. [
  1013. "type",
  1014. "=",
  1015. "smb-pv-pvc"
  1016. ]
  1017. ],
  1018. "required": true
  1019. }
  1020. },
  1021. {
  1022. "variable": "password",
  1023. "label": "Password",
  1024. "description": "The password for the SMB share.",
  1025. "schema": {
  1026. "type": "string",
  1027. "show_if": [
  1028. [
  1029. "type",
  1030. "=",
  1031. "smb-pv-pvc"
  1032. ]
  1033. ],
  1034. "required": true,
  1035. "private": true
  1036. }
  1037. },
  1038. {
  1039. "variable": "size",
  1040. "label": "Size (in Gi)",
  1041. "description": "The size of the volume quota.",
  1042. "schema": {
  1043. "type": "int",
  1044. "show_if": [
  1045. [
  1046. "type",
  1047. "=",
  1048. "smb-pv-pvc"
  1049. ]
  1050. ],
  1051. "required": true,
  1052. "min": 1,
  1053. "default": 1
  1054. }
  1055. }
  1056. ]
  1057. }
  1058. }
  1059. ]
  1060. }
  1061. }
  1062. ]
  1063. }
  1064. },
  1065. {
  1066. "variable": "resources",
  1067. "group": "Resources Configuration",
  1068. "label": "",
  1069. "schema": {
  1070. "type": "dict",
  1071. "attrs": [
  1072. {
  1073. "variable": "limits",
  1074. "label": "Limits",
  1075. "schema": {
  1076. "type": "dict",
  1077. "attrs": [
  1078. {
  1079. "variable": "cpu",
  1080. "label": "CPU",
  1081. "description": "CPU limit for Minecraft.",
  1082. "schema": {
  1083. "type": "string",
  1084. "max_length": 6,
  1085. "valid_chars": "^(0\\.[1-9]|[1-9][0-9]*)(\\.[0-9]|m?)$",
  1086. "valid_chars_error": "Valid CPU limit formats are</br>\n- Plain Integer - eg. 1</br>\n- Float - eg. 0.5</br>\n- Milicpu - eg. 500m\n",
  1087. "default": "4000m",
  1088. "required": true
  1089. }
  1090. },
  1091. {
  1092. "variable": "memory",
  1093. "label": "Memory",
  1094. "description": "Memory limit for Minecraft.",
  1095. "schema": {
  1096. "type": "string",
  1097. "max_length": 12,
  1098. "valid_chars": "^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$",
  1099. "valid_chars_error": "Valid Memory limit formats are</br>\n- Suffixed with E/P/T/G/M/K - eg. 1G</br>\n- Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>\n- Plain Integer in bytes - eg. 1024</br>\n- Exponent - eg. 134e6\n",
  1100. "default": "8Gi",
  1101. "required": true
  1102. }
  1103. }
  1104. ]
  1105. }
  1106. }
  1107. ]
  1108. }
  1109. }
  1110. ]
  1111. },
  1112. "app_readme": "<h1>Minecraft</h1>\n<p><a href=\"https://www.minecraft.net/en-us\">Minecraft</a> is a sandbox game</p>\n<blockquote>\n<p>Application requires to run as root.</p>\n</blockquote>\n<p>Depending on the <code>Type</code> of server selected, you might need to add additional\ncustom environment variables to the application.</p>\n<p>More info can be found <a href=\"https://itzg.github.io/docker-minecraft-docs/java/server-types/bukkit-spigot/\">here</a>\nSelect the type on the sidebar.</p>\n<p>Note that some values are only applicable during the world generation.\nMore info can be found <a href=\"https://itzg.github.io/docker-minecraft-docs/\">here</a></p>",
  1113. "detailed_readme": "<h1>Minecraft</h1>\n<p><a href=\"https://www.minecraft.net/en-us\">Minecraft</a> is a sandbox game</p>\n<blockquote>\n<p>Application requires to run as root.</p>\n</blockquote>\n<p>Depending on the <code>Type</code> of server selected, you might need to add additional\ncustom environment variables to the application.</p>\n<p>More info can be found <a href=\"https://itzg.github.io/docker-minecraft-docs/java/server-types/bukkit-spigot/\">here</a>\nSelect the type on the sidebar.</p>\n<p>Note that some values are only applicable during the world generation.\nMore info can be found <a href=\"https://itzg.github.io/docker-minecraft-docs/\">here</a></p>",
  1114. "changelog": null
  1115. }
  1116. }