Project Zomboid

Project Zomboid

20,598 ratings
Mod Options (Build 41)
29
13
8
8
4
14
11
9
4
4
2
2
5
4
4
4
2
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)
44
6 May @ 4:30pm
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 ?
Kitasan Black
831 Comments
Corono of Ntikirra 11 hours ago 
I'm having an issue wherein when I enable this mod, all UI from the menu disappears. Not sure what would be causing this, but I know it's specifically this mod.
有参 15 Aug @ 2:41am 
666
tilarium 11 Aug @ 1:13pm 
Someone(s) is(are) going around reporting mods. So far I've seen it here on PZ, Stellaris, HoI4 and Crusader Kings III
WormGang 11 Aug @ 11:56am 
Why the fuck is everything getting DMCA’d
tilarium 11 Aug @ 9:50am 
@Well Butter my Biscuit why do I get the feeling you’re the one reporting all the mods? Grow up
Well Butter my Biscuit 11 Aug @ 3:40am 
Figures the comments are the telltale sign to not download this scam mod.
芙芙 11 Aug @ 2:01am 
不豪,小浣熊遭到核打击了
啊徐 10 Aug @ 11:50pm 
我认为这件事儿赖不了烈焰升腾,主要得怪叶子,他在视频中展示了如何举报,如果他不去展示这件事情,那么大多数人根本就不知道如何举报,也不知道这件事儿,就凭烈焰升腾和那个子模组的矛盾,不可能把事闹这么大
1024133885 10 Aug @ 11:33pm 
让整个银河燃烧了吧
绱玄璍 10 Aug @ 10:03pm 
只能说小圈子屁事多到,霍霍一堆游戏:steamfacepalm: