questions.yaml 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797
  1. groups:
  2. - name: Minecraft Configuration
  3. description: Configure Minecraft
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Minecraft
  6. - name: Network Configuration
  7. description: Configure Network for Minecraft
  8. - name: Storage Configuration
  9. description: Configure Storage for Minecraft
  10. - name: Resources Configuration
  11. description: Configure Resources for Minecraft
  12. questions:
  13. - variable: TZ
  14. group: Minecraft Configuration
  15. label: Timezone
  16. schema:
  17. type: string
  18. default: Etc/UTC
  19. required: true
  20. $ref:
  21. - definitions/timezone
  22. - variable: mcConfig
  23. label: ""
  24. group: Minecraft Configuration
  25. schema:
  26. type: dict
  27. attrs:
  28. - variable: eula
  29. label: EULA
  30. description: Accept the EULA.
  31. schema:
  32. type: boolean
  33. default: false
  34. required: true
  35. - variable: imageSelector
  36. label: Image
  37. description: |
  38. The image to use for Minecraft.</br>
  39. Depending on the image you select, you might
  40. need to adjust the Version and Type fields.
  41. schema:
  42. type: string
  43. default: "j21Image"
  44. required: true
  45. enum:
  46. - value: j8Image
  47. description: Java 8 HotSpot (Alpine)
  48. - value: j8j9Image
  49. description: Java 8 OpenJ9 (Debian)
  50. - value: j8jdkImage
  51. description: Java 8 HotSpot+JDK (Ubuntu)
  52. - value: j8gceImage
  53. description: Java 8 GraalVM CE (Oracle)
  54. - value: j11Image
  55. description: Java 11 HotSpot (Ubuntu)
  56. - value: j11j9Image
  57. description: Java 11 OpenJ9 (Debian)
  58. - value: j11jdkImage
  59. description: Java 11 HotSpot+JDK (Ubuntu)
  60. - value: j17Image
  61. description: Java 17 HotSpot (Ubuntu)
  62. - value: j17j9Image
  63. description: Java 17 OpenJ9 (Debian)
  64. - value: j17jdkImage
  65. description: Java 17 HotSpot+JDK (Ubuntu)
  66. - value: j17gceImage
  67. description: Java 17 GraalVM CE (Oracle)
  68. - value: j17alpineImage
  69. description: Java 17 HotSpot (Alpine)
  70. - value: j19Image
  71. description: Java 19 HotSpot (Ubuntu)
  72. - value: j21Image
  73. description: Java 21 HotSpot (Ubuntu)
  74. - value: j21gImage
  75. description: Java 21 GraalVM (Oracle)
  76. - value: j21alpineImage
  77. description: Java 21 HotSpot (Alpine)
  78. - variable: type
  79. label: Type
  80. description: |
  81. The type of Minecraft server to run.</br>
  82. Depending on the type you select, you might need
  83. to add additional environment variables. </br>
  84. https://itzg.github.io/docker-minecraft-docs/java/server-types/bukkit-spigot
  85. schema:
  86. type: string
  87. default: "VANILLA"
  88. required: true
  89. enum:
  90. - value: VANILLA
  91. description: Vanilla
  92. - value: SPIGOT
  93. description: Spigot
  94. - value: BUKKIT
  95. description: Bukkit
  96. - value: PAPER
  97. description: Paper
  98. - value: FOLIA
  99. description: Folia
  100. - value: FABRIC
  101. description: Fabric
  102. - value: FORGE
  103. description: Forge
  104. - value: NEOFORGE
  105. description: NeoForge
  106. - value: AUTO_CURSEFORGE
  107. description: CurseForge
  108. - value: MODRINTH
  109. description: Modrinth
  110. - value: FTBA
  111. description: Feed the Beast
  112. - value: PUFFERFISH
  113. description: Pufferfish
  114. - value: PURPUR
  115. description: Purpur
  116. - value: QUILT
  117. description: Quilt
  118. - value: MAGMA
  119. description: Magma
  120. - value: MAGMA_MAINTAINED
  121. description: Magma Maintained
  122. - value: KETTING
  123. description: Ketting
  124. - value: MOHIST
  125. description: Mohist
  126. - value: CATSERVER
  127. description: Catserver
  128. - value: SPONGEVANILLA
  129. description: SpongeVanilla
  130. - value: LIMBO
  131. description: Limbo
  132. - value: CRUCIBLE
  133. description: Crucible
  134. - value: CUSTOM
  135. description: Custom
  136. - variable: version
  137. label: Version
  138. description: |
  139. The minecraft version.</br>
  140. https://itzg.github.io/docker-minecraft-docs/java/versions/minecraft
  141. schema:
  142. type: string
  143. default: "LATEST"
  144. required: true
  145. - variable: serverName
  146. label: Server Name
  147. description: |
  148. The name of the Minecraft server.</br>
  149. https://itzg.github.io/docker-minecraft-docs/java/configuration/servername
  150. schema:
  151. type: string
  152. default: "Minecraft Server"
  153. required: true
  154. - variable: difficulty
  155. label: Difficulty
  156. description: |
  157. The difficulty of the Minecraft server.</br>
  158. https://itzg.github.io/docker-minecraft-docs/java/configuration/difficulty
  159. schema:
  160. type: string
  161. default: "easy"
  162. required: true
  163. enum:
  164. - value: peaceful
  165. description: Peaceful
  166. - value: easy
  167. description: Easy
  168. - value: normal
  169. description: Normal
  170. - value: hard
  171. description: Hard
  172. - variable: seed
  173. label: Seed
  174. description: |
  175. The seed for the Minecraft server.</br>
  176. https://itzg.github.io/docker-minecraft-docs/java/configuration/seed </br>
  177. (Quotes is handled by the field automatically)
  178. schema:
  179. type: string
  180. default: ""
  181. - variable: mode
  182. label: Game Mode
  183. description: |
  184. The game mode of the Minecraft server.</br>
  185. https://itzg.github.io/docker-minecraft-docs/java/configuration/gamemode
  186. schema:
  187. type: string
  188. default: "survival"
  189. required: true
  190. enum:
  191. - value: survival
  192. description: Survival
  193. - value: creative
  194. description: Creative
  195. - value: adventure
  196. description: Adventure
  197. - value: spectator
  198. description: Spectator
  199. - variable: levelType
  200. label: Level Type
  201. description: |
  202. The level type of the Minecraft server.</br>
  203. https://itzg.github.io/docker-minecraft-docs/java/configuration/#level-type-and-generator-settings
  204. schema:
  205. type: string
  206. default: "minecraft:default"
  207. required: true
  208. enum:
  209. - value: minecraft:default
  210. description: Default
  211. - value: minecraft:flat
  212. description: Flat
  213. - value: minecraft:large_biomes
  214. description: Large Biomes
  215. - value: minecraft:amplified
  216. description: Amplified
  217. - value: minecraft:single_biome_surface
  218. description: Single Biome Surface
  219. - value: buffet
  220. description: Buffet
  221. - value: customized
  222. description: Customized
  223. - variable: motd
  224. label: Message of the Day
  225. description: |
  226. The message of the day for the Minecraft server.</br>
  227. https://itzg.github.io/docker-minecraft-docs/java/configuration/motd
  228. schema:
  229. type: string
  230. default: "Welcome to Minecraft on TrueNAS!"
  231. required: true
  232. - variable: enableRcon
  233. label: Enable RCON
  234. description: |
  235. Enable RCON for the Minecraft server.</br>
  236. It is recommended to keep this enabled, as it helps to
  237. shut down the minecraft server gracefully.</br>
  238. https://itzg.github.io/docker-minecraft-docs/java/rcon
  239. schema:
  240. type: boolean
  241. default: true
  242. - variable: rconPassword
  243. label: RCON Password
  244. description: The RCON password for the Minecraft server.
  245. schema:
  246. type: string
  247. default: ""
  248. show_if: [["enableRcon", "=", true]]
  249. private: true
  250. required: true
  251. - variable: maxPlayers
  252. label: Max Players
  253. description: |
  254. The maximum number of players that can join the server.</br>
  255. https://itzg.github.io/docker-minecraft-docs/java/configuration/maxplayers
  256. schema:
  257. type: int
  258. default: 20
  259. min: 1
  260. required: true
  261. - variable: maxWorldSize
  262. label: Max World Size
  263. description: |
  264. The maximum possible size in blocks, expressed as a radius.</br>
  265. https://itzg.github.io/docker-minecraft-docs/java/configuration/maxworldsize
  266. schema:
  267. type: int
  268. default: 10000
  269. min: 1
  270. required: true
  271. - variable: maxBuildHeight
  272. label: Max Build Height
  273. description: |
  274. The maximum height in which building is allowed.
  275. Terrain may still naturally generate above a low height limit.</br>
  276. https://itzg.github.io/docker-minecraft-docs/java/configuration/maxbuildheight
  277. schema:
  278. type: int
  279. default: 256
  280. min: 1
  281. required: true
  282. - variable: allowNether
  283. label: Allow Nether
  284. description: |
  285. Allows players to travel to the Nether.</br>
  286. https://itzg.github.io/docker-minecraft-docs/java/configuration/allownether
  287. schema:
  288. type: boolean
  289. default: true
  290. - variable: announcePlayerAchievements
  291. label: Announce Player Achievements
  292. description: |
  293. Allows server to announce when a player gets an achievement.</br>
  294. https://itzg.github.io/docker-minecraft-docs/java/configuration/announceachievements
  295. schema:
  296. type: boolean
  297. default: true
  298. - variable: enableCommandBlock
  299. label: Enable Command Block
  300. description: |
  301. Enables the command blocks.</br>
  302. https://itzg.github.io/docker-minecraft-docs/java/configuration/enablecommandblock
  303. schema:
  304. type: boolean
  305. default: false
  306. - variable: forceGameMode
  307. label: Force Game Mode
  308. description: |
  309. Force players to join in the default game mode.</br>
  310. https://itzg.github.io/docker-minecraft-docs/java/configuration/forcegamemode
  311. schema:
  312. type: boolean
  313. default: false
  314. - variable: generateStructures
  315. label: Generate Structures
  316. description: |
  317. Defines whether structures (such as villages) will be generated.</br>
  318. https://itzg.github.io/docker-minecraft-docs/java/configuration/generatestructures
  319. schema:
  320. type: boolean
  321. default: true
  322. - variable: hardcore
  323. label: Hardcore
  324. description: |
  325. If set to true, players will be set to spectator mode if they die.</br>
  326. https://itzg.github.io/docker-minecraft-docs/java/configuration/hardcore
  327. schema:
  328. type: boolean
  329. default: false
  330. - variable: spawnAnimals
  331. label: Spawn Animals
  332. description: |
  333. Determines if animals will be able to spawn.</br>
  334. https://itzg.github.io/docker-minecraft-docs/java/configuration/spawnanimals
  335. schema:
  336. type: boolean
  337. default: true
  338. - variable: spawnNpcs
  339. label: Spawn NPCs
  340. description: |
  341. Determines if villagers will be spawned.</br>
  342. https://itzg.github.io/docker-minecraft-docs/java/configuration/spawnnpcs
  343. schema:
  344. type: boolean
  345. default: true
  346. - variable: spawnMonsters
  347. label: Spawn Monsters
  348. description: |
  349. Determines if monsters will be spawned.</br>
  350. https://itzg.github.io/docker-minecraft-docs/java/configuration/spawnmonsters
  351. schema:
  352. type: boolean
  353. default: true
  354. - variable: spawnProtection
  355. label: Spawn Protection
  356. description: |
  357. The radius of the spawn protection.</br>
  358. https://itzg.github.io/docker-minecraft-docs/java/configuration/spawnprotection
  359. schema:
  360. type: int
  361. default: 16
  362. min: 0
  363. required: true
  364. - variable: pvp
  365. label: PVP
  366. description: |
  367. Determines if PVP will be enabled.</br>
  368. https://itzg.github.io/docker-minecraft-docs/java/configuration/pvp
  369. schema:
  370. type: boolean
  371. default: true
  372. - variable: allowFlight
  373. label: Allow Flight
  374. description: |
  375. Allows users to use flight on your server while in Survival mode,
  376. if they have a mod that provides flight installed.</br>
  377. https://itzg.github.io/docker-minecraft-docs/java/configuration/allowflight
  378. schema:
  379. type: boolean
  380. default: false
  381. - variable: viewDistance
  382. label: View Distance
  383. description: |
  384. Sets the amount of world data the server sends the client,
  385. measured in chunks in each direction of the player (radius, not diameter).
  386. It determines the server-side viewing distance.</br>
  387. https://itzg.github.io/docker-minecraft-docs/java/configuration/viewdistance
  388. schema:
  389. type: int
  390. default: 10
  391. min: 3
  392. max: 32
  393. required: true
  394. - variable: onlineMode
  395. label: Online Mode
  396. description: |
  397. If set to true, the server will attempt to authenticate clients
  398. connecting to it with the Minecraft account database.</br>
  399. https://itzg.github.io/docker-minecraft-docs/java/configuration/onlinemode
  400. schema:
  401. type: boolean
  402. default: true
  403. - variable: maxTickTime
  404. label: Max Tick Time
  405. description: |
  406. The maximum number of milliseconds a single tick may take
  407. before the server watchdog stops the server with the message,
  408. A single server tick took 60.00 seconds (should be max 0.05);
  409. Considering it to be crashed, server will forcibly shutdown.</br>
  410. https://itzg.github.io/docker-minecraft-docs/java/configuration/maxticktime
  411. schema:
  412. type: int
  413. default: 60000
  414. min: 0
  415. required: true
  416. - variable: ops
  417. label: Operators / Administrators
  418. description: |
  419. A list of player names who should be considered operators.</br>
  420. https://itzg.github.io/docker-minecraft-docs/java/configuration/ops
  421. schema:
  422. type: list
  423. default: []
  424. items:
  425. - variable: opPlayer
  426. label: OP Player
  427. schema:
  428. type: string
  429. default: ""
  430. required: true
  431. - variable: whitelist
  432. label: Whitelist
  433. description: |
  434. A list of player names who are allowed to play on the server.</br>
  435. https://itzg.github.io/docker-minecraft-docs/java/configuration/whitelist
  436. schema:
  437. type: list
  438. default: []
  439. items:
  440. - variable: whitePlayer
  441. label: Whitelisted Player
  442. schema:
  443. type: string
  444. default: ""
  445. required: true
  446. - variable: additionalEnvs
  447. label: Additional Environment Variables
  448. description: Configure additional environment variables for Minecraft.
  449. schema:
  450. type: list
  451. default: []
  452. items:
  453. - variable: env
  454. label: Environment Variable
  455. schema:
  456. type: dict
  457. attrs:
  458. - variable: name
  459. label: Name
  460. schema:
  461. type: string
  462. required: true
  463. - variable: value
  464. label: Value
  465. schema:
  466. type: string
  467. required: true
  468. - variable: mcID
  469. label: ""
  470. group: User and Group Configuration
  471. schema:
  472. type: dict
  473. attrs:
  474. - variable: user
  475. label: User ID
  476. description: The user id that Minecraft files will be owned by.
  477. schema:
  478. type: int
  479. min: 568
  480. default: 568
  481. required: true
  482. - variable: group
  483. label: Group ID
  484. description: The group id that Minecraft files will be owned by.
  485. schema:
  486. type: int
  487. min: 568
  488. default: 568
  489. required: true
  490. - variable: mcNetwork
  491. label: ""
  492. group: Network Configuration
  493. schema:
  494. type: dict
  495. attrs:
  496. - variable: hostNetwork
  497. label: Host Network
  498. description: |
  499. Bind to the host network. It's recommended to keep this disabled.</br>
  500. schema:
  501. type: boolean
  502. default: false
  503. - variable: serverPort
  504. label: Server Port
  505. description: |
  506. The port for the Minecraft Server.</br>
  507. This will apply to both external and internal ports.
  508. schema:
  509. type: int
  510. default: 25535
  511. min: 9000
  512. max: 65535
  513. required: true
  514. - variable: rconPort
  515. label: RCON Port
  516. description: |
  517. The RCON port for the Minecraft.</br>
  518. This will apply to both external and internal ports.
  519. schema:
  520. type: int
  521. default: 25575
  522. min: 9000
  523. max: 65535
  524. required: true
  525. - variable: mcStorage
  526. label: ""
  527. group: Storage Configuration
  528. schema:
  529. type: dict
  530. attrs:
  531. - variable: data
  532. label: Minecraft Data Storage
  533. description: The path to store Minecraft Data.
  534. schema:
  535. type: dict
  536. attrs:
  537. - variable: type
  538. label: Type
  539. description: |
  540. ixVolume: Is dataset created automatically by the system.</br>
  541. Host Path: Is a path that already exists on the system.
  542. schema:
  543. type: string
  544. required: true
  545. immutable: true
  546. default: "ixVolume"
  547. enum:
  548. - value: "hostPath"
  549. description: Host Path (Path that already exists on the system)
  550. - value: "ixVolume"
  551. description: ixVolume (Dataset created automatically by the system)
  552. - variable: ixVolumeConfig
  553. label: ixVolume Configuration
  554. description: The configuration for the ixVolume dataset.
  555. schema:
  556. type: dict
  557. show_if: [["type", "=", "ixVolume"]]
  558. $ref:
  559. - "normalize/ixVolume"
  560. attrs:
  561. - variable: aclEnable
  562. label: Enable ACL
  563. description: Enable ACL for the dataset.
  564. schema:
  565. type: boolean
  566. default: false
  567. - variable: datasetName
  568. label: Dataset Name
  569. description: The name of the dataset to use for storage.
  570. schema:
  571. type: string
  572. required: true
  573. immutable: true
  574. hidden: true
  575. default: "data"
  576. - variable: aclEntries
  577. label: ACL Configuration
  578. schema:
  579. type: dict
  580. show_if: [["aclEnable", "=", true]]
  581. attrs: []
  582. - variable: hostPathConfig
  583. label: Host Path Configuration
  584. schema:
  585. type: dict
  586. show_if: [["type", "=", "hostPath"]]
  587. attrs:
  588. - variable: aclEnable
  589. label: Enable ACL
  590. description: Enable ACL for the dataset.
  591. schema:
  592. type: boolean
  593. default: false
  594. - variable: acl
  595. label: ACL Configuration
  596. schema:
  597. type: dict
  598. show_if: [["aclEnable", "=", true]]
  599. attrs: []
  600. $ref:
  601. - "normalize/acl"
  602. - variable: hostPath
  603. label: Host Path
  604. description: The host path to use for storage.
  605. schema:
  606. type: hostpath
  607. show_if: [["aclEnable", "=", false]]
  608. required: true
  609. - variable: additionalStorages
  610. label: Additional Storage
  611. description: Additional storage for Minecraft.
  612. schema:
  613. type: list
  614. default: []
  615. items:
  616. - variable: storageEntry
  617. label: Storage Entry
  618. schema:
  619. type: dict
  620. attrs:
  621. - variable: type
  622. label: Type
  623. description: |
  624. ixVolume: Is dataset created automatically by the system.</br>
  625. Host Path: Is a path that already exists on the system.</br>
  626. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  627. schema:
  628. type: string
  629. required: true
  630. default: "ixVolume"
  631. immutable: true
  632. enum:
  633. - value: "hostPath"
  634. description: Host Path (Path that already exists on the system)
  635. - value: "ixVolume"
  636. description: ixVolume (Dataset created automatically by the system)
  637. - value: "smb-pv-pvc"
  638. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  639. - variable: readOnly
  640. label: Read Only
  641. description: Mount the volume as read only.
  642. schema:
  643. type: boolean
  644. default: false
  645. - variable: mountPath
  646. label: Mount Path
  647. description: The path inside the container to mount the storage.
  648. schema:
  649. type: path
  650. required: true
  651. - variable: hostPathConfig
  652. label: Host Path Configuration
  653. schema:
  654. type: dict
  655. show_if: [["type", "=", "hostPath"]]
  656. attrs:
  657. - variable: aclEnable
  658. label: Enable ACL
  659. description: Enable ACL for the dataset.
  660. schema:
  661. type: boolean
  662. default: false
  663. - variable: acl
  664. label: ACL Configuration
  665. schema:
  666. type: dict
  667. show_if: [["aclEnable", "=", true]]
  668. attrs: []
  669. $ref:
  670. - "normalize/acl"
  671. - variable: hostPath
  672. label: Host Path
  673. description: The host path to use for storage.
  674. schema:
  675. type: hostpath
  676. show_if: [["aclEnable", "=", false]]
  677. required: true
  678. - variable: ixVolumeConfig
  679. label: ixVolume Configuration
  680. description: The configuration for the ixVolume dataset.
  681. schema:
  682. type: dict
  683. show_if: [["type", "=", "ixVolume"]]
  684. $ref:
  685. - "normalize/ixVolume"
  686. attrs:
  687. - variable: aclEnable
  688. label: Enable ACL
  689. description: Enable ACL for the dataset.
  690. schema:
  691. type: boolean
  692. default: false
  693. - variable: datasetName
  694. label: Dataset Name
  695. description: The name of the dataset to use for storage.
  696. schema:
  697. type: string
  698. required: true
  699. immutable: true
  700. default: "storage_entry"
  701. - variable: aclEntries
  702. label: ACL Configuration
  703. schema:
  704. type: dict
  705. show_if: [["aclEnable", "=", true]]
  706. attrs: []
  707. - variable: smbConfig
  708. label: SMB Share Configuration
  709. description: The configuration for the SMB Share.
  710. schema:
  711. type: dict
  712. show_if: [["type", "=", "smb-pv-pvc"]]
  713. attrs:
  714. - variable: server
  715. label: Server
  716. description: The server for the SMB share.
  717. schema:
  718. type: string
  719. required: true
  720. - variable: share
  721. label: Share
  722. description: The share name for the SMB share.
  723. schema:
  724. type: string
  725. required: true
  726. - variable: domain
  727. label: Domain (Optional)
  728. description: The domain for the SMB share.
  729. schema:
  730. type: string
  731. - variable: username
  732. label: Username
  733. description: The username for the SMB share.
  734. schema:
  735. type: string
  736. required: true
  737. - variable: password
  738. label: Password
  739. description: The password for the SMB share.
  740. schema:
  741. type: string
  742. required: true
  743. private: true
  744. - variable: size
  745. label: Size (in Gi)
  746. description: The size of the volume quota.
  747. schema:
  748. type: int
  749. required: true
  750. min: 1
  751. default: 1
  752. - variable: resources
  753. group: Resources Configuration
  754. label: ""
  755. schema:
  756. type: dict
  757. attrs:
  758. - variable: limits
  759. label: Limits
  760. schema:
  761. type: dict
  762. attrs:
  763. - variable: cpu
  764. label: CPU
  765. description: CPU limit for Minecraft.
  766. schema:
  767. type: string
  768. max_length: 6
  769. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  770. valid_chars_error: |
  771. Valid CPU limit formats are</br>
  772. - Plain Integer - eg. 1</br>
  773. - Float - eg. 0.5</br>
  774. - Milicpu - eg. 500m
  775. default: "4000m"
  776. required: true
  777. - variable: memory
  778. label: Memory
  779. description: Memory limit for Minecraft.
  780. schema:
  781. type: string
  782. max_length: 12
  783. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  784. valid_chars_error: |
  785. Valid Memory limit formats are</br>
  786. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  787. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  788. - Plain Integer in bytes - eg. 1024</br>
  789. - Exponent - eg. 134e6
  790. default: "8Gi"
  791. required: true