app_versions.json 64 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120
  1. {
  2. "1.1.11": {
  3. "healthy": true,
  4. "supported": true,
  5. "healthy_error": null,
  6. "location": "/__w/charts/charts/community/minecraft/1.1.11",
  7. "last_update": "2023-12-20 10:45:42",
  8. "required_features": [
  9. "normalize/ixVolume",
  10. "definitions/timezone"
  11. ],
  12. "human_version": "2023.12.2_1.1.11",
  13. "version": "1.1.11",
  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.11",
  22. "apiVersion": "v2",
  23. "appVersion": "2023.12.2",
  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.5"
  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": "MODRINTH",
  279. "description": "Modrinth"
  280. },
  281. {
  282. "value": "MOHIST",
  283. "description": "Mohist"
  284. },
  285. {
  286. "value": "FABRIC",
  287. "description": "Fabric"
  288. },
  289. {
  290. "value": "PAPER",
  291. "description": "Paper"
  292. },
  293. {
  294. "value": "PUFFERFISH",
  295. "description": "Pufferfish"
  296. },
  297. {
  298. "value": "PURPUR",
  299. "description": "Purpur"
  300. },
  301. {
  302. "value": "QUILT",
  303. "description": "Quilt"
  304. },
  305. {
  306. "value": "SPONGEVANILLA",
  307. "description": "SpongeVanilla"
  308. }
  309. ]
  310. }
  311. },
  312. {
  313. "variable": "version",
  314. "label": "Version",
  315. "description": "The minecraft version.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/versions/minecraft\n",
  316. "schema": {
  317. "type": "string",
  318. "default": "LATEST",
  319. "required": true
  320. }
  321. },
  322. {
  323. "variable": "serverName",
  324. "label": "Server Name",
  325. "description": "The name of the Minecraft server.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/servername\n",
  326. "schema": {
  327. "type": "string",
  328. "default": "Minecraft Server",
  329. "required": true
  330. }
  331. },
  332. {
  333. "variable": "difficulty",
  334. "label": "Difficulty",
  335. "description": "The difficulty of the Minecraft server.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/difficulty\n",
  336. "schema": {
  337. "type": "string",
  338. "default": "easy",
  339. "required": true,
  340. "enum": [
  341. {
  342. "value": "peaceful",
  343. "description": "Peaceful"
  344. },
  345. {
  346. "value": "easy",
  347. "description": "Easy"
  348. },
  349. {
  350. "value": "normal",
  351. "description": "Normal"
  352. },
  353. {
  354. "value": "hard",
  355. "description": "Hard"
  356. }
  357. ]
  358. }
  359. },
  360. {
  361. "variable": "seed",
  362. "label": "Seed",
  363. "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",
  364. "schema": {
  365. "type": "string",
  366. "default": ""
  367. }
  368. },
  369. {
  370. "variable": "mode",
  371. "label": "Game Mode",
  372. "description": "The game mode of the Minecraft server.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/gamemode\n",
  373. "schema": {
  374. "type": "string",
  375. "default": "survival",
  376. "required": true,
  377. "enum": [
  378. {
  379. "value": "survival",
  380. "description": "Survival"
  381. },
  382. {
  383. "value": "creative",
  384. "description": "Creative"
  385. },
  386. {
  387. "value": "adventure",
  388. "description": "Adventure"
  389. },
  390. {
  391. "value": "spectator",
  392. "description": "Spectator"
  393. }
  394. ]
  395. }
  396. },
  397. {
  398. "variable": "levelType",
  399. "label": "Level Type",
  400. "description": "The level type of the Minecraft server.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/#level-type-and-generator-settings\n",
  401. "schema": {
  402. "type": "string",
  403. "default": "minecraft:default",
  404. "required": true,
  405. "enum": [
  406. {
  407. "value": "minecraft:default",
  408. "description": "Default"
  409. },
  410. {
  411. "value": "minecraft:flat",
  412. "description": "Flat"
  413. },
  414. {
  415. "value": "minecraft:large_biomes",
  416. "description": "Large Biomes"
  417. },
  418. {
  419. "value": "minecraft:amplified",
  420. "description": "Amplified"
  421. },
  422. {
  423. "value": "minecraft:single_biome_surface",
  424. "description": "Single Biome Surface"
  425. },
  426. {
  427. "value": "buffet",
  428. "description": "Buffet"
  429. },
  430. {
  431. "value": "customized",
  432. "description": "Customized"
  433. }
  434. ]
  435. }
  436. },
  437. {
  438. "variable": "motd",
  439. "label": "Message of the Day",
  440. "description": "The message of the day for the Minecraft server.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/motd\n",
  441. "schema": {
  442. "type": "string",
  443. "default": "Welcome to Minecraft on TrueNAS!",
  444. "required": true
  445. }
  446. },
  447. {
  448. "variable": "enableRcon",
  449. "label": "Enable RCON",
  450. "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",
  451. "schema": {
  452. "type": "boolean",
  453. "default": true
  454. }
  455. },
  456. {
  457. "variable": "rconPassword",
  458. "label": "RCON Password",
  459. "description": "The RCON password for the Minecraft server.",
  460. "schema": {
  461. "type": "string",
  462. "default": "",
  463. "show_if": [
  464. [
  465. "enableRcon",
  466. "=",
  467. true
  468. ]
  469. ],
  470. "private": true,
  471. "required": true
  472. }
  473. },
  474. {
  475. "variable": "maxPlayers",
  476. "label": "Max Players",
  477. "description": "The maximum number of players that can join the server.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/maxplayers\n",
  478. "schema": {
  479. "type": "int",
  480. "default": 20,
  481. "min": 1,
  482. "required": true
  483. }
  484. },
  485. {
  486. "variable": "maxWorldSize",
  487. "label": "Max World Size",
  488. "description": "The maximum possible size in blocks, expressed as a radius.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/maxworldsize\n",
  489. "schema": {
  490. "type": "int",
  491. "default": 10000,
  492. "min": 1,
  493. "required": true
  494. }
  495. },
  496. {
  497. "variable": "maxBuildHeight",
  498. "label": "Max Build Height",
  499. "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",
  500. "schema": {
  501. "type": "int",
  502. "default": 256,
  503. "min": 1,
  504. "required": true
  505. }
  506. },
  507. {
  508. "variable": "allowNether",
  509. "label": "Allow Nether",
  510. "description": "Allows players to travel to the Nether.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/allownether\n",
  511. "schema": {
  512. "type": "boolean",
  513. "default": true
  514. }
  515. },
  516. {
  517. "variable": "announcePlayerAchievements",
  518. "label": "Announce Player Achievements",
  519. "description": "Allows server to announce when a player gets an achievement.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/announceachievements\n",
  520. "schema": {
  521. "type": "boolean",
  522. "default": true
  523. }
  524. },
  525. {
  526. "variable": "enableCommandBlock",
  527. "label": "Enable Command Block",
  528. "description": "Enables the command blocks.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/enablecommandblock\n",
  529. "schema": {
  530. "type": "boolean",
  531. "default": false
  532. }
  533. },
  534. {
  535. "variable": "forceGameMode",
  536. "label": "Force Game Mode",
  537. "description": "Force players to join in the default game mode.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/forcegamemode\n",
  538. "schema": {
  539. "type": "boolean",
  540. "default": false
  541. }
  542. },
  543. {
  544. "variable": "generateStructures",
  545. "label": "Generate Structures",
  546. "description": "Defines whether structures (such as villages) will be generated.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/generatestructures\n",
  547. "schema": {
  548. "type": "boolean",
  549. "default": true
  550. }
  551. },
  552. {
  553. "variable": "hardcore",
  554. "label": "Hardcore",
  555. "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",
  556. "schema": {
  557. "type": "boolean",
  558. "default": false
  559. }
  560. },
  561. {
  562. "variable": "spawnAnimals",
  563. "label": "Spawn Animals",
  564. "description": "Determines if animals will be able to spawn.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/spawnanimals\n",
  565. "schema": {
  566. "type": "boolean",
  567. "default": true
  568. }
  569. },
  570. {
  571. "variable": "spawnNpcs",
  572. "label": "Spawn NPCs",
  573. "description": "Determines if villagers will be spawned.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/spawnnpcs\n",
  574. "schema": {
  575. "type": "boolean",
  576. "default": true
  577. }
  578. },
  579. {
  580. "variable": "spawnMonsters",
  581. "label": "Spawn Monsters",
  582. "description": "Determines if monsters will be spawned.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/spawnmonsters\n",
  583. "schema": {
  584. "type": "boolean",
  585. "default": true
  586. }
  587. },
  588. {
  589. "variable": "spawnProtection",
  590. "label": "Spawn Protection",
  591. "description": "The radius of the spawn protection.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/spawnprotection\n",
  592. "schema": {
  593. "type": "int",
  594. "default": 16,
  595. "min": 0,
  596. "required": true
  597. }
  598. },
  599. {
  600. "variable": "pvp",
  601. "label": "PVP",
  602. "description": "Determines if PVP will be enabled.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/pvp\n",
  603. "schema": {
  604. "type": "boolean",
  605. "default": true
  606. }
  607. },
  608. {
  609. "variable": "allowFlight",
  610. "label": "Allow Flight",
  611. "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",
  612. "schema": {
  613. "type": "boolean",
  614. "default": false
  615. }
  616. },
  617. {
  618. "variable": "viewDistance",
  619. "label": "View Distance",
  620. "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",
  621. "schema": {
  622. "type": "int",
  623. "default": 10,
  624. "min": 3,
  625. "max": 32,
  626. "required": true
  627. }
  628. },
  629. {
  630. "variable": "onlineMode",
  631. "label": "Online Mode",
  632. "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",
  633. "schema": {
  634. "type": "boolean",
  635. "default": true
  636. }
  637. },
  638. {
  639. "variable": "maxTickTime",
  640. "label": "Max Tick Time",
  641. "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",
  642. "schema": {
  643. "type": "int",
  644. "default": 60000,
  645. "min": 0,
  646. "required": true
  647. }
  648. },
  649. {
  650. "variable": "ops",
  651. "label": "Operators / Administrators",
  652. "description": "A list of player names who should be considered operators.</br>\nhttps://itzg.github.io/docker-minecraft-docs/java/configuration/ops\n",
  653. "schema": {
  654. "type": "list",
  655. "default": [],
  656. "items": [
  657. {
  658. "variable": "opPlayer",
  659. "label": "OP Player",
  660. "schema": {
  661. "type": "string",
  662. "default": "",
  663. "required": true
  664. }
  665. }
  666. ]
  667. }
  668. },
  669. {
  670. "variable": "whitelist",
  671. "label": "Whitelist",
  672. "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",
  673. "schema": {
  674. "type": "list",
  675. "default": [],
  676. "items": [
  677. {
  678. "variable": "whitePlayer",
  679. "label": "Whitelisted Player",
  680. "schema": {
  681. "type": "string",
  682. "default": "",
  683. "required": true
  684. }
  685. }
  686. ]
  687. }
  688. },
  689. {
  690. "variable": "additionalEnvs",
  691. "label": "Additional Environment Variables",
  692. "description": "Configure additional environment variables for Minecraft.",
  693. "schema": {
  694. "type": "list",
  695. "default": [],
  696. "items": [
  697. {
  698. "variable": "env",
  699. "label": "Environment Variable",
  700. "schema": {
  701. "type": "dict",
  702. "attrs": [
  703. {
  704. "variable": "name",
  705. "label": "Name",
  706. "schema": {
  707. "type": "string",
  708. "required": true
  709. }
  710. },
  711. {
  712. "variable": "value",
  713. "label": "Value",
  714. "schema": {
  715. "type": "string",
  716. "required": true
  717. }
  718. }
  719. ]
  720. }
  721. }
  722. ]
  723. }
  724. }
  725. ]
  726. }
  727. },
  728. {
  729. "variable": "mcID",
  730. "label": "",
  731. "group": "User and Group Configuration",
  732. "schema": {
  733. "type": "dict",
  734. "attrs": [
  735. {
  736. "variable": "user",
  737. "label": "User ID",
  738. "description": "The user id that Minecraft files will be owned by.",
  739. "schema": {
  740. "type": "int",
  741. "min": 568,
  742. "default": 568,
  743. "required": true
  744. }
  745. },
  746. {
  747. "variable": "group",
  748. "label": "Group ID",
  749. "description": "The group id that Minecraft files will be owned by.",
  750. "schema": {
  751. "type": "int",
  752. "min": 568,
  753. "default": 568,
  754. "required": true
  755. }
  756. }
  757. ]
  758. }
  759. },
  760. {
  761. "variable": "mcNetwork",
  762. "label": "",
  763. "group": "Network Configuration",
  764. "schema": {
  765. "type": "dict",
  766. "attrs": [
  767. {
  768. "variable": "hostNetwork",
  769. "label": "Host Network",
  770. "description": "Bind to the host network. It's recommended to keep this disabled.</br>\n",
  771. "schema": {
  772. "type": "boolean",
  773. "default": false
  774. }
  775. },
  776. {
  777. "variable": "serverPort",
  778. "label": "Server Port",
  779. "description": "The port for the Minecraft Server.</br>\nThis will apply to both external and internal ports.\n",
  780. "schema": {
  781. "type": "int",
  782. "default": 25535,
  783. "min": 9000,
  784. "max": 65535,
  785. "required": true
  786. }
  787. },
  788. {
  789. "variable": "rconPort",
  790. "label": "RCON Port",
  791. "description": "The RCON port for the Minecraft.</br>\nThis will apply to both external and internal ports.\n",
  792. "schema": {
  793. "type": "int",
  794. "default": 25575,
  795. "min": 9000,
  796. "max": 65535,
  797. "required": true
  798. }
  799. }
  800. ]
  801. }
  802. },
  803. {
  804. "variable": "mcStorage",
  805. "label": "",
  806. "group": "Storage Configuration",
  807. "schema": {
  808. "type": "dict",
  809. "attrs": [
  810. {
  811. "variable": "data",
  812. "label": "Minecraft Data Storage",
  813. "description": "The path to store Minecraft Data.",
  814. "schema": {
  815. "type": "dict",
  816. "attrs": [
  817. {
  818. "variable": "type",
  819. "label": "Type",
  820. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  821. "schema": {
  822. "type": "string",
  823. "required": true,
  824. "immutable": true,
  825. "default": "ixVolume",
  826. "enum": [
  827. {
  828. "value": "hostPath",
  829. "description": "Host Path (Path that already exists on the system)"
  830. },
  831. {
  832. "value": "ixVolume",
  833. "description": "ixVolume (Dataset created automatically by the system)"
  834. }
  835. ]
  836. }
  837. },
  838. {
  839. "variable": "datasetName",
  840. "label": "Dataset Name",
  841. "schema": {
  842. "type": "string",
  843. "show_if": [
  844. [
  845. "type",
  846. "=",
  847. "ixVolume"
  848. ]
  849. ],
  850. "required": true,
  851. "hidden": true,
  852. "immutable": true,
  853. "default": "data",
  854. "$ref": [
  855. "normalize/ixVolume"
  856. ]
  857. }
  858. },
  859. {
  860. "variable": "hostPath",
  861. "label": "Host Path",
  862. "schema": {
  863. "type": "hostpath",
  864. "show_if": [
  865. [
  866. "type",
  867. "=",
  868. "hostPath"
  869. ]
  870. ],
  871. "required": true
  872. }
  873. }
  874. ]
  875. }
  876. },
  877. {
  878. "variable": "additionalStorages",
  879. "label": "Additional Storage",
  880. "description": "Additional storage for Minecraft.",
  881. "schema": {
  882. "type": "list",
  883. "default": [],
  884. "items": [
  885. {
  886. "variable": "storageEntry",
  887. "label": "Storage Entry",
  888. "schema": {
  889. "type": "dict",
  890. "attrs": [
  891. {
  892. "variable": "type",
  893. "label": "Type",
  894. "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",
  895. "schema": {
  896. "type": "string",
  897. "required": true,
  898. "default": "ixVolume",
  899. "immutable": true,
  900. "enum": [
  901. {
  902. "value": "hostPath",
  903. "description": "Host Path (Path that already exists on the system)"
  904. },
  905. {
  906. "value": "ixVolume",
  907. "description": "ixVolume (Dataset created automatically by the system)"
  908. },
  909. {
  910. "value": "smb-pv-pvc",
  911. "description": "SMB Share (Mounts a persistent volume claim to a SMB share)"
  912. }
  913. ]
  914. }
  915. },
  916. {
  917. "variable": "mountPath",
  918. "label": "Mount Path",
  919. "description": "The path inside the container to mount the storage.",
  920. "schema": {
  921. "type": "path",
  922. "required": true
  923. }
  924. },
  925. {
  926. "variable": "hostPath",
  927. "label": "Host Path",
  928. "description": "The host path to use for storage.",
  929. "schema": {
  930. "type": "hostpath",
  931. "show_if": [
  932. [
  933. "type",
  934. "=",
  935. "hostPath"
  936. ]
  937. ],
  938. "required": true
  939. }
  940. },
  941. {
  942. "variable": "datasetName",
  943. "label": "Dataset Name",
  944. "description": "The name of the dataset to use for storage.",
  945. "schema": {
  946. "type": "string",
  947. "show_if": [
  948. [
  949. "type",
  950. "=",
  951. "ixVolume"
  952. ]
  953. ],
  954. "required": true,
  955. "immutable": true,
  956. "default": "storage_entry",
  957. "$ref": [
  958. "normalize/ixVolume"
  959. ]
  960. }
  961. },
  962. {
  963. "variable": "server",
  964. "label": "Server",
  965. "description": "The server for the SMB share.",
  966. "schema": {
  967. "type": "string",
  968. "show_if": [
  969. [
  970. "type",
  971. "=",
  972. "smb-pv-pvc"
  973. ]
  974. ],
  975. "required": true
  976. }
  977. },
  978. {
  979. "variable": "share",
  980. "label": "Share",
  981. "description": "The share name for the SMB share.",
  982. "schema": {
  983. "type": "string",
  984. "show_if": [
  985. [
  986. "type",
  987. "=",
  988. "smb-pv-pvc"
  989. ]
  990. ],
  991. "required": true
  992. }
  993. },
  994. {
  995. "variable": "domain",
  996. "label": "Domain (Optional)",
  997. "description": "The domain for the SMB share.",
  998. "schema": {
  999. "type": "string",
  1000. "show_if": [
  1001. [
  1002. "type",
  1003. "=",
  1004. "smb-pv-pvc"
  1005. ]
  1006. ]
  1007. }
  1008. },
  1009. {
  1010. "variable": "username",
  1011. "label": "Username",
  1012. "description": "The username for the SMB share.",
  1013. "schema": {
  1014. "type": "string",
  1015. "show_if": [
  1016. [
  1017. "type",
  1018. "=",
  1019. "smb-pv-pvc"
  1020. ]
  1021. ],
  1022. "required": true
  1023. }
  1024. },
  1025. {
  1026. "variable": "password",
  1027. "label": "Password",
  1028. "description": "The password for the SMB share.",
  1029. "schema": {
  1030. "type": "string",
  1031. "show_if": [
  1032. [
  1033. "type",
  1034. "=",
  1035. "smb-pv-pvc"
  1036. ]
  1037. ],
  1038. "required": true,
  1039. "private": true
  1040. }
  1041. },
  1042. {
  1043. "variable": "size",
  1044. "label": "Size (in Gi)",
  1045. "description": "The size of the volume quota.",
  1046. "schema": {
  1047. "type": "int",
  1048. "show_if": [
  1049. [
  1050. "type",
  1051. "=",
  1052. "smb-pv-pvc"
  1053. ]
  1054. ],
  1055. "required": true,
  1056. "min": 1,
  1057. "default": 1
  1058. }
  1059. }
  1060. ]
  1061. }
  1062. }
  1063. ]
  1064. }
  1065. }
  1066. ]
  1067. }
  1068. },
  1069. {
  1070. "variable": "resources",
  1071. "group": "Resources Configuration",
  1072. "label": "",
  1073. "schema": {
  1074. "type": "dict",
  1075. "attrs": [
  1076. {
  1077. "variable": "limits",
  1078. "label": "Limits",
  1079. "schema": {
  1080. "type": "dict",
  1081. "attrs": [
  1082. {
  1083. "variable": "cpu",
  1084. "label": "CPU",
  1085. "description": "CPU limit for Minecraft.",
  1086. "schema": {
  1087. "type": "string",
  1088. "max_length": 6,
  1089. "valid_chars": "^(0\\.[1-9]|[1-9][0-9]*)(\\.[0-9]|m?)$",
  1090. "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",
  1091. "default": "4000m",
  1092. "required": true
  1093. }
  1094. },
  1095. {
  1096. "variable": "memory",
  1097. "label": "Memory",
  1098. "description": "Memory limit for Minecraft.",
  1099. "schema": {
  1100. "type": "string",
  1101. "max_length": 12,
  1102. "valid_chars": "^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$",
  1103. "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",
  1104. "default": "8Gi",
  1105. "required": true
  1106. }
  1107. }
  1108. ]
  1109. }
  1110. }
  1111. ]
  1112. }
  1113. }
  1114. ]
  1115. },
  1116. "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>",
  1117. "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>",
  1118. "changelog": null
  1119. }
  1120. }