Project Zomboid

Project Zomboid

19,163 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 ?
Miyabi
778 Comments
GGYU 19 Mar @ 7:11pm 
감사콩
#Yaroslav# 16 Mar @ 10:38am 
кайф
5zi9yoziri95 14 Mar @ 5:12am 
must have
antonyevil25 13 Mar @ 2:46pm 
Bueno
tilarium 8 Mar @ 9:26am 
Considering it was working earlier and there have been no changes or updates to the mod or B41, I'd say if it's broken for you, then it's user error. But nobody will be able to try and help you since you provided 0 details as to what is wrong for you.
Milinoso 8 Mar @ 8:35am 
broke!
LOCO_AMIN 2 Mar @ 9:25am 
pinga
Toto 21 Feb @ 12:00pm 
cool
tilarium 17 Feb @ 9:18pm 
Mod options are backed in to b42, so you’ll be fine without it. Unless one of those mods is set up to not being abled to turn on without this mod. In which case, you need to post over there to tell them to remove it.
Arthur Runcandel 17 Feb @ 9:13pm 
Having a problem with Version management issues, Item Condition Indicator Needs Weapon Condition Indicator which needs Mod Options 41, but im on B42.