questions.yaml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602
  1. groups:
  2. - name: Palworld Configuration
  3. description: Configure Palworld
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Palworld
  6. - name: Network Configuration
  7. description: Configure Network for Palworld
  8. - name: Storage Configuration
  9. description: Configure Storage for Palworld
  10. - name: Resources Configuration
  11. description: Configure Resources for Palworld
  12. questions:
  13. - variable: palworldConfig
  14. label: ""
  15. group: Palworld Configuration
  16. schema:
  17. type: dict
  18. attrs:
  19. - variable: adminPassword
  20. label: Admin Password
  21. description: Your server admin password
  22. schema:
  23. type: string
  24. private: true
  25. required: true
  26. default: ""
  27. - variable: server
  28. label: Server Configuration
  29. description: Configure the server for Palworld
  30. schema:
  31. type: dict
  32. attrs:
  33. - variable: name
  34. label: Server Name
  35. description: Your server name
  36. schema:
  37. type: string
  38. required: true
  39. default: "TrueNAS Palworld Server"
  40. - variable: description
  41. label: Server Description
  42. description: Your server description
  43. schema:
  44. type: string
  45. required: true
  46. default: "Palworld Server running on TrueNAS"
  47. - variable: password
  48. label: Server Password
  49. description: |
  50. Your server password, leave blank for no password
  51. schema:
  52. type: string
  53. private: true
  54. default: ""
  55. - variable: iniKeys
  56. label: Configure INI Keys
  57. description: |
  58. Enter your INI keys </br>
  59. Updates the keys in PalWorldSettings.ini
  60. schema:
  61. type: list
  62. default: []
  63. items:
  64. - variable: iniKey
  65. label: INI Key
  66. schema:
  67. type: dict
  68. attrs:
  69. - variable: key
  70. label: Key
  71. schema:
  72. type: string
  73. default: ""
  74. required: true
  75. - variable: value
  76. label: Value
  77. schema:
  78. type: string
  79. default: ""
  80. - variable: backup
  81. label: Backup
  82. description: Configure the backup for Palworld
  83. schema:
  84. type: dict
  85. attrs:
  86. - variable: enabled
  87. label: Enabled
  88. description: Enable the backup for Palworld
  89. schema:
  90. type: boolean
  91. default: false
  92. - variable: interval
  93. label: Interval
  94. description: Interval in minutes to backup the server
  95. schema:
  96. type: int
  97. show_if: [["enabled", "=", true]]
  98. default: 120
  99. required: true
  100. min: 15
  101. - variable: keep
  102. label: Keep
  103. description: How many backups to keep
  104. schema:
  105. type: int
  106. show_if: [["enabled", "=", true]]
  107. default: 3
  108. required: true
  109. min: 1
  110. - variable: gameParams
  111. label: Game Parameters
  112. description: |
  113. Enter your game parameters </br>
  114. Format: EpicApp=PalServer
  115. schema:
  116. type: list
  117. default:
  118. - EpicApp=PalServer
  119. items:
  120. - variable: gameParam
  121. label: Game Parameter
  122. schema:
  123. type: string
  124. required: true
  125. - variable: gameParamsExtra
  126. label: Extra Game Parameters
  127. description: |
  128. Enter your extra game parameters </br>
  129. Format: -NoAsyncLoadingThread
  130. schema:
  131. type: list
  132. default:
  133. - -useperfthreads
  134. - -NoAsyncLoadingThread
  135. - -UseMultithreadForDS
  136. items:
  137. - variable: gameParamExtra
  138. label: Extra Game Parameter
  139. schema:
  140. type: string
  141. required: true
  142. - variable: updatePublicIP
  143. label: Update Public IP
  144. description: |
  145. If enabled the container will check on each container
  146. start if the Public IP is still valid.
  147. schema:
  148. type: boolean
  149. default: false
  150. - variable: validate
  151. label: Validate
  152. description: If enabled the container validates the game data
  153. schema:
  154. type: boolean
  155. default: false
  156. - variable: username
  157. label: Username
  158. description: Leave blank for anonymous login
  159. schema:
  160. type: string
  161. default: ""
  162. - variable: password
  163. label: Password
  164. description: Leave blank for anonymous login
  165. schema:
  166. type: string
  167. default: ""
  168. show_if: [["username", "!=", ""]]
  169. private: true
  170. - variable: additionalEnvs
  171. label: Additional Environment Variables
  172. description: Configure additional environment variables for Palworld.
  173. schema:
  174. type: list
  175. default: []
  176. items:
  177. - variable: env
  178. label: Environment Variable
  179. schema:
  180. type: dict
  181. attrs:
  182. - variable: name
  183. label: Name
  184. schema:
  185. type: string
  186. required: true
  187. - variable: value
  188. label: Value
  189. schema:
  190. type: string
  191. required: true
  192. - variable: palworldID
  193. label: ""
  194. group: User and Group Configuration
  195. schema:
  196. type: dict
  197. attrs:
  198. - variable: user
  199. label: User ID
  200. description: The user id that Palworld files will be owned by.
  201. schema:
  202. type: int
  203. min: 568
  204. default: 568
  205. required: true
  206. - variable: group
  207. label: Group ID
  208. description: The group id that Palworld files will be owned by.
  209. schema:
  210. type: int
  211. min: 568
  212. default: 568
  213. required: true
  214. - variable: palworldNetwork
  215. label: ""
  216. group: Network Configuration
  217. schema:
  218. type: dict
  219. attrs:
  220. - variable: serverPort
  221. label: Server Port
  222. description: The UDP port for the Palworld Server.
  223. schema:
  224. type: int
  225. default: 38211
  226. min: 9000
  227. max: 65535
  228. required: true
  229. - variable: rconPort
  230. label: RCON Port
  231. description: The TCP port for the Palworld RCON.
  232. schema:
  233. type: int
  234. default: 38212
  235. min: 9000
  236. max: 65535
  237. required: true
  238. - variable: hostNetwork
  239. label: Host Network
  240. description: |
  241. Bind to the host network. It might be needed for the UDP server port to work.
  242. schema:
  243. type: boolean
  244. default: false
  245. - variable: palworldStorage
  246. label: ""
  247. group: Storage Configuration
  248. schema:
  249. type: dict
  250. attrs:
  251. - variable: steamcmd
  252. label: Palworld SteamCMD Storage
  253. description: The path to store Palworld SteamCMD.
  254. schema:
  255. type: dict
  256. attrs:
  257. - variable: type
  258. label: Type
  259. description: |
  260. ixVolume: Is dataset created automatically by the system.</br>
  261. Host Path: Is a path that already exists on the system.
  262. schema:
  263. type: string
  264. required: true
  265. immutable: true
  266. default: "ixVolume"
  267. enum:
  268. - value: "hostPath"
  269. description: Host Path (Path that already exists on the system)
  270. - value: "ixVolume"
  271. description: ixVolume (Dataset created automatically by the system)
  272. - variable: ixVolumeConfig
  273. label: ixVolume Configuration
  274. description: The configuration for the ixVolume dataset.
  275. schema:
  276. type: dict
  277. show_if: [["type", "=", "ixVolume"]]
  278. $ref:
  279. - "normalize/ixVolume"
  280. attrs:
  281. - variable: aclEnable
  282. label: Enable ACL
  283. description: Enable ACL for the dataset.
  284. schema:
  285. type: boolean
  286. default: false
  287. - variable: datasetName
  288. label: Dataset Name
  289. description: The name of the dataset to use for storage.
  290. schema:
  291. type: string
  292. required: true
  293. immutable: true
  294. hidden: true
  295. default: "steamcmd"
  296. - variable: aclEntries
  297. label: ACL Configuration
  298. schema:
  299. type: dict
  300. show_if: [["aclEnable", "=", true]]
  301. attrs: []
  302. - variable: hostPathConfig
  303. label: Host Path Configuration
  304. schema:
  305. type: dict
  306. show_if: [["type", "=", "hostPath"]]
  307. attrs:
  308. - variable: aclEnable
  309. label: Enable ACL
  310. description: Enable ACL for the dataset.
  311. schema:
  312. type: boolean
  313. default: false
  314. - variable: acl
  315. label: ACL Configuration
  316. schema:
  317. type: dict
  318. show_if: [["aclEnable", "=", true]]
  319. attrs: []
  320. $ref:
  321. - "normalize/acl"
  322. - variable: hostPath
  323. label: Host Path
  324. description: The host path to use for storage.
  325. schema:
  326. type: hostpath
  327. show_if: [["aclEnable", "=", false]]
  328. required: true
  329. - variable: server
  330. label: Palworld Server Storage
  331. description: The path to store Palworld Server.
  332. schema:
  333. type: dict
  334. attrs:
  335. - variable: type
  336. label: Type
  337. description: |
  338. ixVolume: Is dataset created automatically by the system.</br>
  339. Host Path: Is a path that already exists on the system.
  340. schema:
  341. type: string
  342. required: true
  343. immutable: true
  344. default: "ixVolume"
  345. enum:
  346. - value: "hostPath"
  347. description: Host Path (Path that already exists on the system)
  348. - value: "ixVolume"
  349. description: ixVolume (Dataset created automatically by the system)
  350. - variable: readOnly
  351. label: Read Only
  352. description: Mount the volume as read only.
  353. schema:
  354. type: boolean
  355. default: false
  356. - variable: ixVolumeConfig
  357. label: ixVolume Configuration
  358. description: The configuration for the ixVolume dataset.
  359. schema:
  360. type: dict
  361. show_if: [["type", "=", "ixVolume"]]
  362. $ref:
  363. - "normalize/ixVolume"
  364. attrs:
  365. - variable: aclEnable
  366. label: Enable ACL
  367. description: Enable ACL for the dataset.
  368. schema:
  369. type: boolean
  370. default: false
  371. - variable: datasetName
  372. label: Dataset Name
  373. description: The name of the dataset to use for storage.
  374. schema:
  375. type: string
  376. required: true
  377. immutable: true
  378. hidden: true
  379. default: "server"
  380. - variable: aclEntries
  381. label: ACL Configuration
  382. schema:
  383. type: dict
  384. show_if: [["aclEnable", "=", true]]
  385. attrs: []
  386. - variable: hostPathConfig
  387. label: Host Path Configuration
  388. schema:
  389. type: dict
  390. show_if: [["type", "=", "hostPath"]]
  391. attrs:
  392. - variable: aclEnable
  393. label: Enable ACL
  394. description: Enable ACL for the dataset.
  395. schema:
  396. type: boolean
  397. default: false
  398. - variable: acl
  399. label: ACL Configuration
  400. schema:
  401. type: dict
  402. show_if: [["aclEnable", "=", true]]
  403. attrs: []
  404. $ref:
  405. - "normalize/acl"
  406. - variable: hostPath
  407. label: Host Path
  408. description: The host path to use for storage.
  409. schema:
  410. type: hostpath
  411. show_if: [["aclEnable", "=", false]]
  412. required: true
  413. - variable: additionalStorages
  414. label: Additional Storage
  415. description: Additional storage for Palworld.
  416. schema:
  417. type: list
  418. default: []
  419. items:
  420. - variable: storageEntry
  421. label: Storage Entry
  422. schema:
  423. type: dict
  424. attrs:
  425. - variable: type
  426. label: Type
  427. description: |
  428. ixVolume: Is dataset created automatically by the system.</br>
  429. Host Path: Is a path that already exists on the system.</br>
  430. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  431. schema:
  432. type: string
  433. required: true
  434. default: "ixVolume"
  435. immutable: true
  436. enum:
  437. - value: "hostPath"
  438. description: Host Path (Path that already exists on the system)
  439. - value: "ixVolume"
  440. description: ixVolume (Dataset created automatically by the system)
  441. - value: "smb-pv-pvc"
  442. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  443. - variable: readOnly
  444. label: Read Only
  445. description: Mount the volume as read only.
  446. schema:
  447. type: boolean
  448. default: false
  449. - variable: mountPath
  450. label: Mount Path
  451. description: The path inside the container to mount the storage.
  452. schema:
  453. type: path
  454. required: true
  455. - variable: hostPathConfig
  456. label: Host Path Configuration
  457. schema:
  458. type: dict
  459. show_if: [["type", "=", "hostPath"]]
  460. attrs:
  461. - variable: aclEnable
  462. label: Enable ACL
  463. description: Enable ACL for the dataset.
  464. schema:
  465. type: boolean
  466. default: false
  467. - variable: acl
  468. label: ACL Configuration
  469. schema:
  470. type: dict
  471. show_if: [["aclEnable", "=", true]]
  472. attrs: []
  473. $ref:
  474. - "normalize/acl"
  475. - variable: hostPath
  476. label: Host Path
  477. description: The host path to use for storage.
  478. schema:
  479. type: hostpath
  480. show_if: [["aclEnable", "=", false]]
  481. required: true
  482. - variable: ixVolumeConfig
  483. label: ixVolume Configuration
  484. description: The configuration for the ixVolume dataset.
  485. schema:
  486. type: dict
  487. show_if: [["type", "=", "ixVolume"]]
  488. $ref:
  489. - "normalize/ixVolume"
  490. attrs:
  491. - variable: aclEnable
  492. label: Enable ACL
  493. description: Enable ACL for the dataset.
  494. schema:
  495. type: boolean
  496. default: false
  497. - variable: datasetName
  498. label: Dataset Name
  499. description: The name of the dataset to use for storage.
  500. schema:
  501. type: string
  502. required: true
  503. immutable: true
  504. default: "storage_entry"
  505. - variable: aclEntries
  506. label: ACL Configuration
  507. schema:
  508. type: dict
  509. show_if: [["aclEnable", "=", true]]
  510. attrs: []
  511. - variable: smbConfig
  512. label: SMB Share Configuration
  513. description: The configuration for the SMB Share.
  514. schema:
  515. type: dict
  516. show_if: [["type", "=", "smb-pv-pvc"]]
  517. attrs:
  518. - variable: server
  519. label: Server
  520. description: The server for the SMB share.
  521. schema:
  522. type: string
  523. required: true
  524. - variable: share
  525. label: Share
  526. description: The share name for the SMB share.
  527. schema:
  528. type: string
  529. required: true
  530. - variable: domain
  531. label: Domain (Optional)
  532. description: The domain for the SMB share.
  533. schema:
  534. type: string
  535. - variable: username
  536. label: Username
  537. description: The username for the SMB share.
  538. schema:
  539. type: string
  540. required: true
  541. - variable: password
  542. label: Password
  543. description: The password for the SMB share.
  544. schema:
  545. type: string
  546. required: true
  547. private: true
  548. - variable: size
  549. label: Size (in Gi)
  550. description: The size of the volume quota.
  551. schema:
  552. type: int
  553. required: true
  554. min: 1
  555. default: 1
  556. - variable: resources
  557. group: Resources Configuration
  558. label: ""
  559. schema:
  560. type: dict
  561. attrs:
  562. - variable: limits
  563. label: Limits
  564. schema:
  565. type: dict
  566. attrs:
  567. - variable: cpu
  568. label: CPU
  569. description: CPU limit for Palworld.
  570. schema:
  571. type: string
  572. max_length: 6
  573. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  574. valid_chars_error: |
  575. Valid CPU limit formats are</br>
  576. - Plain Integer - eg. 1</br>
  577. - Float - eg. 0.5</br>
  578. - Milicpu - eg. 500m
  579. default: "4000m"
  580. required: true
  581. - variable: memory
  582. label: Memory
  583. description: Memory limit for Palworld.
  584. schema:
  585. type: string
  586. max_length: 12
  587. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  588. valid_chars_error: |
  589. Valid Memory limit formats are</br>
  590. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  591. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  592. - Plain Integer in bytes - eg. 1024</br>
  593. - Exponent - eg. 134e6
  594. default: "8Gi"
  595. required: true