questions.yaml 30 KB

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