questions.yaml 23 KB

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