Project Zomboid

Project Zomboid

18,830 ratings
Mod Options (Build 41)
28
13
8
8
4
14
11
9
4
2
3
5
4
4
2
3
3
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
31.729 KB
17 Jul, 2020 @ 2:31pm
17 Oct, 2022 @ 8:06am
19 Change Notes ( view )

Subscribe to download
Mod Options (Build 41)

Description
ModOptions WIP (paused)!

Allows other mods to be customized.
Any mod author can add custom options to their mod.

Requirements
(!) THIS MOD IS COMPATIBLE ONLY WITH BUILD 41
(!) For Build 42 see here.

Steam Workshop Issues
1. Quit the game.
2. Unsubscribe. Wait ~1 minute.
3. Subscribe. Wait ~1 minute.
4. Make sure the mod version is 1.4.4

Minimal Code (for modders)
Put it in subfolder media/lua/client of your mod folder.
-- These are the default options. local OPTIONS = { box1 = true, box2 = false, } -- Connecting the options to the menu, so user can change them. if ModOptions and ModOptions.getInstance then ModOptions:getInstance(OPTIONS, "MyModID", "My Mod") end -- Check actual options at game loading. Events.OnGameStart.Add(function() print("checkbox1 = ", OPTIONS.box1) print("checkbox2 = ", OPTIONS.box2) end)
This mod should be enbaled.
But note that your mod will work without this mod!
So you do not have to create a hard dependence on this mod.

For more info, see Guide.

TODO:
- Options other than checkbox (done)
- Option like edit input.
- Option like change color.
- Possibility to add custom tab
- Possibility to tune by server admins only (using UI)
- Sandbox options. (done)

Workshop ID: 2169435993
Mod ID: modoptions
Popular Discussions View All (20)
43
26 Dec, 2024 @ 12:15am
Can´t host a coop server with mods
QUANDALE DINGLE
20
22 Oct, 2022 @ 5:35pm
"File doesn't exist on the client:"
Sennyツ
15
22 Oct, 2022 @ 5:35pm
File doesn't exist on the client How to fix ?
Rio
768 Comments
13 Feb @ 7:17pm 
每次游戏更新后第一时间同时关注更新的mod
gamer3000as 13 Feb @ 9:11am 
@ssparda17 did you read the description? if you play in build 42 there the version of build 42 and that all
ssparda17 5 Feb @ 6:11pm 
Can someone post a Step-by-Step guide on how to install this... I'm tired of every single post or guide saying take words and copy into folder...blank name random code! do i create some kinda notepad doc? where do i put it...? if I'm supposed to copy code then what app or program do i use? I've never attempted to mod Zomboid before and tired "ALL" post thinking im a pro.
Zeros 4 Feb @ 10:19am 
o7
ssparda17 1 Feb @ 7:52am 
Someone please just update this mod! No matter which version of 41 I use, the mod will not work. It'll be another 5 damn years before 42 becomes stable and how many mod authors are gonna return anyways? Dev's need to stop touching shit. just let the modders do there thing.
tilarium 30 Jan @ 3:57pm 
@Dunisha this is baked into B42, don't know what you're screaming about.
Dunisha 30 Jan @ 2:08pm 
WE ARE WAITING FOR YOU TO GET THIS UPDATED, UPDATE IT PLEASE AS SOON AS POSIBLE, WE NEED THIS MOD TO GET THE BANDITS MOD AND NPC'S, JUST UPDATE IT SOON PLEASE THANK YOU!
ReLaxXx 27 Jan @ 2:29am 
👌
Chibaba07 25 Jan @ 8:38pm 
(‘-‘*ゞ
Alewolfo 22 Jan @ 3:34pm 
o7