You are viewing a potentially older version of this package.
View all versions.
ZenWorldSettings
Settings that affect the entire world rules: Environment, door keys, carts, candles, shield gens, turrets, etc.
| Date uploaded | 8 months ago |
| Version | 0.5.0 |
| Download link | ZenDragon-ZenWorldSettings-0.5.0.zip |
| Downloads | 176 |
| Dependency string | ZenDragon-ZenWorldSettings-0.5.0 |
This mod requires the following mods to function
README
ZenWorldSettings
Designed to be used in conjunction with other ZenMods. Especially ZenSign, ZenUseItem, and ZenHoverItem.
Modifiers (Configurable)
Limited Use Door Keys:
- Make keys limited use, they break after you use them too many times.
- You can repair and upgrade them at the forge by default. (configurable)
Environment:
- Option: Do not display day number at dawn.
- Option: Do not display the sky tree.
- Option: Adjustable day length
Candle:
- Can be refilled after expired.
Carts:
- Ignore upside down: Can attach even if it's upside down.
- Increased attach distance: Makes carts easier to connect.
- Quickly detach by attacking or doing most common actions.
Shield Generators:
- Can eject their fuel to turn them off manually.
- Can protect fireplaces from the rain and snow.
Turrets:
- Option: Target player default true - Keep vanilla behavior of targeting players if no target trophy assigned because otherwise the player can just use turrets to cheese areas.
- Option: Target tames default true - population control
- Adjustable max number of targets, default 3. Install
ZenUseItemto assign targets directly from your inventory instead of needing to place them on the 1-8 hot bar first. - Install
ZenHoverItemto see the icons of the assigned trophies when looking at a Turret.
NoCraft / NoTeleport:
- Option: Restrict which things can be crafted or teleported by listing them here.
Improve Your Experience
CORE MODS
The full collection of all Zen MODS:
- Radically improved QoL
- Incredible performance
- Pre-configured
- 100% Gamepad support
- Spectacularly immersive
Enjoy!
Sample Config File
## Settings file was created by plugin ZenWorldSettings v0.3.6
## Plugin GUID: ZenDragon.ZenWorldSettings
[Candle]
## [Admin] When enabled the candle can be refilled after it is empty. (Vanilla: false)
# Setting type: Boolean
# Default value: true
Enable Refill = true
[Cart]
## [Admin] When true the cart attaches to the player much more easily.
# Setting type: Boolean
# Default value: true
Snap To Player = true
## [Admin] Minimum distance the player must be from the cart in order to attach it.
# Setting type: Single
# Default value: 7
# Acceptable value range: From 1 to 10
Attach Distance = 7
## [Admin] If true the cart will not prevent attach when upside down.
# Setting type: Boolean
# Default value: true
Ignore Upside Down = true
[Door Keys]
## [Admin] Door Keys break after this many uses. Set to 0 for infinite use. (Vanilla: Infinite)
## Note: Keys can be repaired at the forge with the default config settings.
# Setting type: Int32
# Default value: 2
# Acceptable value range: From 0 to 10
Limited Use = 2
## [Admin] When the key breaks should it be deleted from the player's inventory?
## If false the broken key will remain in your inventory, but it can not be used to open doors.
# Setting type: Boolean
# Default value: false
Destroy Key When Broken = false
## [Admin] The station that can be used to repair keys
# Setting type: String
# Default value: Forge
# Acceptable values: None, Workbench, Forge, Stonecutter, Cauldron, ArtisanTable, BlackForge, GaldrTable, MeadKetill, FoodPreparationTable
Repair Station = Forge
## [Admin] The repair station's required level
# Setting type: Int32
# Default value: 1
# Acceptable value range: From 1 to 5
Repair Station Level = 1
## [Admin] Comma separted list of item prefab names for Door Keys that should never break.
# Setting type: StringList
# Default value:
Indestructible Keys =
[Environment]
## [Admin] Navigate with only the sun and stars.
# Setting type: Boolean
# Default value: false
Show Sky Tree = false
## [Admin] Enable the chunky wind pixels
# Setting type: Boolean
# Default value: false
Show Wind Pixels = false
## [Admin] Length of an in game day in seconds. (Vanilla: 1800)
## Set to 0 to disable this setting.
# Setting type: Int32
# Default value: 0
# Acceptable value range: From 0 to 10800
Day Length Seconds = 0
## [Admin] Display the day number each morning. (Vanilla: true)
# Setting type: Boolean
# Default value: false
Show Day Number = false
[NoCraft]
## [Admin] List of items to remove from crafting.
## Recipies are removed and new instances of the item can't be crafted.
## However, any existing items will still remain. Additionlly any loot drops of the item will still be possible.
# Setting type: StringList
# Default value:
NoCraft Items =
## [Admin] List of pieces which can not be crafted.
## However, nocost flag will still allow them to be built. Existing instances of pieces will still remain.
# Setting type: StringList
# Default value:
NoCraft Pieces =
[NoTeleport]
## [Admin] List of items which can not be teleported.
## Note, this does not remove items from vanilla's list it only adds to the list of items which can not be teleported.
# Setting type: StringList
# Default value:
NoTeleport Items =
[Shield Generator]
## [Admin] Add an option to eject the fuel on shield generators and cause them to shutdown.
# Setting type: Boolean
# Default value: true
Enable Eject Fuel = true
## [Admin] Shield Generator protects fireplaces from the rain so they stay lit without a roof. (Vanilla: False)
# Setting type: Boolean
# Default value: true
Shield Protects Fire From Rain = true
[Turret]
## [Admin] Can turrets target players? (Vanilla: true)
## Vanilla behavior is to target players unless a trophy is set.
## If this is disabled then turrets can be used to be easily cheese boss fights and push into in
## unexplored areas because all the undefeated monsters will be targeted and the player will not.
## Placing a trophy to limit which creature type the turret attacks is a sensible balance as it
## makes it a bit more difficult to use the turrets to cheese into unexplored areas since you
## need to kill the creature once before it can be targeted and the turret can only kill a single type
## of monster, therefor multiple turrets would need to be built in order to defend against multiple types.
## If this option is false then the turret will always ignore the Player and kill anything else...
## That will result in an easier run since less turrets would need to be built.
# Setting type: Boolean
# Default value: true
Target Players = true
## [Admin] Can turrets target tamed creatures? (Vanilla: true)
## Population control...
# Setting type: Boolean
# Default value: true
Target Tamed = true
## [Admin] Max ammo capacity (Vanilla: 40)
# Setting type: Int32
# Default value: 40
# Acceptable value range: From 1 to 100
Max Ammo = 40
## [Admin] Max number of target trophies that can be set at once. (Vanilla: 1)
# Setting type: Int32
# Default value: 3
# Acceptable value range: From 1 to 10
Max Targets = 3
## [Admin] When the turret dies should the ammo be returned as a stack or as a bunch of individual bolts on the ground?
## Caution: if Max Ammo is high this can kill the framerate as it tries to dump a ton of ammo objects on the ground unstacked. (Vanilla: false)
# Setting type: Boolean
# Default value: false
Stack Ammo On Destroy = false
Like My Mods? Donations Welcome
Bitcoin
CHANGELOG
v1.2.1
- recompile to use Zen.ModLib v1.5.1 to force the vanilla fix to playerkeys so they are set correctly when bosses die.
v1.2.0
- update for Zen.ModLib v1.5.0
v1.1.3
- BepInIncompatibility flag set with the "Hildir's Quest" mod due to transpiler overlap. The same functionality exists within ZenWorldSettings in the Quests section, no need to run both.
v1.1.2
- add feature: lock worldwide PvP settings.
- fix null ref on Spawner init on some dedicated server setups.
v1.1.1
- prevent null ref when running on server and player turns in a quest reward.
v1.1.0
- Split Loot and Quests into two different sections in the config because Loot duplication can apply to any loot, not just Quest loot.
- Quests can now have Quest Keys applied to all players nearby when turning in a quest item. This is another option instead of duplicating quest loot since that can lead to excessive amounts of quest loot on the server when groups of players kill the boss repeatedly.
- Check your configs in the Loot and Quests sections
v1.0.2
- added a "relay" console command to Zen.ModLib v1.4.0 to use in conjunction with the Quests Per Player section for migrating player keys from global to player.
- moved config: "Disabled Commands" to Zen.ModLib because it makes more sense to be universally available.
v1.0.1
- same as v1.0.2, forgot to update the readme.
v1.0.0
- added a "Quests Per Player" section with the default pre-configured for Hildir's Quest so that her quests are per-player.
v0.9.7
- tweak sparkable code so that Coal works with Smelters. Coal added to the default configuration so that now all fire sources are sparkable. Update your configs to take advantage of Sparkable Fuel: Coal
v0.9.6
- add config: Console Disabled Commands, list commands that can not be executed at the console. Defaults to seed-related commands so that your map seed is not exposed in multiplayer, add commands if I missed any and let me know, please.
v0.9.5
- added a config to check if a monster is standing in the fire before you can light it.
v0.9.4
- fix: nullref when fueling fires and checking if monster is standing in fire can occur when bounds array is undefined.
- add global config option to disable spark requirements to ignite a fire.
v0.9.3
- improved collision bounds checks when testing if a monster is standing in the fire before ignition is allowed.
v0.9.2
- Campfire: Increase Stone cost +3 (total=8) to offset no wood cost when "Campfire Starts Empty" is true. Also, it looks correct since a campfire has eight stones in a circle visually.
- Make the Iron Fire Pit more desirable since it weighs less than 8 stone.
- Prevent lighting fires when a creature is standing on them. Further prevents using Campfires as a weapon.
- Improved logic and misc bugfixes.
v0.9.1
- rename config: Refillable Candles, check your configs if you had this disabled.
- Add config: Campfires Start Empty to dissuade players from using campfires as a weapon to spawn under monster's feet.
- Add config: "Spark Item" default Flint, have this in your inventory to light a fire
- Add config: "Spark With Torch" can also light a fire if you are holding a lit torch, this will not consume any Spark Item in your inventory.
- Add config: "Sparkable Fuels" default Woods and Resin, but not Coal, configurable with other types of fuel that you want to spark to light.
v0.9.0
- same as v0.9.1, just forgot to update README.
v0.8.5
- add config: Remove Broken Keys
v0.8.4
- fix: warning message that was causing Windmills to display the wrong error message when you tried to add barley but did not have any. (It was asking to put wood in a windmill instead of the correct message "No processable items").
v0.8.3
- add config: adjust snowstorm particle limits
- add Russian translation
v0.8.2
- same as v0.8.3, just forgot to update readme.
v0.8.1
- add German translation
v0.8.0
- Update for Valheim v0.221.4, Call to Arms
v0.7.9
- fix: crypt key duplication when using certain mods. handle if door keys are assigned to more than one door prefab.
- changed the default max level that keys can be upgraded to 4 instead of 5 in the configs. this is to be consistent with other vanilla leveling behavior.
v0.7.8
- use v0.7.9 instead. (this version can cause a null ref with some mods)
v0.7.7
- fix door keys so that they are compatible with new changes to ZenUI v0.6.3
v0.7.6
- fix Door Keys repair not working on multiplayer servers.
- fix logic for Door Keys to be more compatible with other mods when setting Usage Limit to 0.
v0.7.5
- bugfix: null ref error on environment startup.
v0.7.4
- update readme, no code changes.
v0.7.3
- Burnable Items now applies to all pieces that burn wood, including Kilns, Hot Tubs, and Ovens.
v0.7.2
- changed configs: Wood Types is now Burnable Items because you can list anything you want, not just woods.
v0.7.1
- Add new Fireplaces section to the config
- Burn any type of wood in a fireplace via hotbar 1-8 interaction, or use ZenUseItem for even easier interaction.
- Candle refill config option was renamed, please check your settings if you had this disabled.
v0.7.0
- added "Ironpit" to the default set of items which are allowed to teleport. Not sure why IG has it as no-teleport by default, if you know why, let me know, please.
- updated for Zen.ModLib v1.2.0
- recompile for BepInEx v5.4.2332
- recompile for JVL v2.26.0
v0.6.2
- change config option names for DoorKeys: "Default Station Level" becomes "Station Level" and "Default Station" becomes "Station"
v0.6.1
- updated mod description, no code changes.
v0.6.0
- Moved cart handling code out of this mod and into ZenDistributor
v0.5.4
- add a config option for tombstone decay message repeat interval delay.
v0.5.3
- added an option to allow items to teleport.
- changed config names and sections related to NoCraft/NoTeleport. Please check your configs if you use these sections.
v0.5.2
- add an option to prevent tombstones from being used as free 32 slot containers.
- moved a vanilla fix into
Zen.ModLib v1.1.11
v0.5.1
- Added feature: Spawners control to limit the monsters that can spawn in biomes based on world progression. Prevent high-level monsters from spawning in low-level biomes after advancing world progression. Highly configurable, but the default configuration should suite most player needs. Off by default.
v0.5.0
- overhaul of "Limited Use Door Keys" check the configs! Keys can now be repaired and upgraded.
- Introduced new configs for key upgrades, durability, and station requirements.
v0.4.0
- "Single Use Door Keys" are now "Limited Use Door Keys"
- They can be defined to break after a fixed number of uses (default 2)
- Broken keys will remain in your inventory. However, they will not open doors until repaired.
- Default configs enable the Forge to repair keys.
v0.3.5
- fixed readme
v0.3.4
- change config option params for "Day Length Seconds" so that setting it to 0 to disables the option. New default: 0
v0.3.3
- fix: load env configs on login instead of ZNetScene.Awake
- update for Zen.ModLib v1.1.0
v0.3.2
- fixed config sync
v0.3.1
- removed BepInEx from dependency, Zen.ModLib handles it.
v0.3.0
- use Zen.ModLib
v0.2.6
- removed fireplace check code entirely. npc fireplaces can burn out of fuel.
v0.2.5
- fixed nullref error that can happen with some mods regarding Fireplaces.
v0.2.4
- Moved SingleUseDoorKeys from ZenPlayer back to ZenWorldSettings, it's a global world setting not a per player setting. Also changed the default to false instead of true.
- Updated logging and configs subsystem
v0.2.3
- code cleanup and bugfixes
v0.2.2
- UPDATE FOR VALHEIM v0.220.3
v0.2.1
- UNDO: moved to fast with prior update. Put NoCraftNoTeleport options back here from
ZenConstruction
v0.2.0
- moved SmashTrash to
ZenRecycle - moved Structure and
NoCraftNoTeleportrelated options toZenConstruction - moved Raid & SpawnProtect related stuff to
ZenRaids - moved all player related stuff to new mod
ZenPlayer- inventory
- death
- health
- food
- durability
- skills
- stamina
- autopickup
- sleep
- workstation
v0.1.20
- Add config option to extend Autopickup Toggle Button with 3rd option: Pickup only items already in your inventory.
v0.1.19
- Update README, no code changes.
v0.1.18
- Fixed typo in description.
v0.1.17
- Moved the Breeding section to its own mod:
ZenBreeding