Project Zomboid

Project Zomboid

15,244 ratings
Mod Options (Build 41)
20
11
14
6
3
10
5
4
2
3
5
4
3
3
2
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
31.729 KB
Jul 17, 2020 @ 2:31pm
Oct 17, 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 BETA BUILD 41+[theindiestone.com]

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)
41
Oct 21, 2022 @ 2:29pm
Can´t host a coop server with mods
QUANDALE DINGLE
20
Oct 22, 2022 @ 5:35pm
"File doesn't exist on the client:"
Sennyツ
15
Oct 22, 2022 @ 5:35pm
File doesn't exist on the client How to fix ?
Izutsumi
705 Comments
张哈哈 May 15 @ 3:53am 
6
Chimni May 11 @ 10:10pm 
Good to know, thanks for the quick response!
star  [author] May 11 @ 3:31pm 
@Chimni,
It's not possible using this mod.
Don't use xp mods or make your own mod.
Chimni May 11 @ 1:41pm 
How do I lock the options to admins only in MP games? I have XP modifier mods and all of the normal players can modify their XP multipliers if they open this menu.
wolf May 11 @ 11:23am 
nice:steamthumbsup:
manuhorus May 4 @ 4:46pm 
perfect
Leon.che May 4 @ 3:25pm 
al crear un servidor ese ,e dice que no se encuentra este archivo
Ariellix Apr 21 @ 7:55pm 
muy bueno!:steamthumbsup:
FrostBite Apr 16 @ 9:06pm 
w
Bananawar33 Apr 14 @ 11:56am 
top