questions.yaml 23 KB

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