GithubHelp home page GithubHelp logo

craftersmine / valheim.worldcleaner Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 26 KB

Mod which allows you to clean your world from dropped items in repeating interval

C# 100.00%
valheim valheim-mod

valheim.worldcleaner's Introduction

craftersmine.Valheim.WorldCleaner

Valheim WorldCleaner, mod which allows you to clean your world from dropped items in repeating interval


This mod is still in development and should be used on your own risk! I don't care if your character, items got deleted, world became corrupted, etc. if you using development version of mod.

Mod comes with configuration, in which you can set intervals of cleaning and chat messages that will be shown, whitelist items that should not be removed upon cleaning, few mod config options are currently not working.

Every config option has description, so configuring it is quite easy.

You can find item IDs for whitelist on Valheim Wiki

Installation

  • Download mod archive here
  • Extract DLL (mod assembly) and PDB (debugging database) in Valheim\BepInEx\plugins\
  • You're done!

P.S. Mod was built with BepInEx version 5.4.20, but latest version of BepInEx used in Valheim is 5.4.19 from Thunderstore, even though it might work, I recommend to update your BepInEx to latest version, I've tested and it worked fine.

Configuration

  • Launch the game for the first time after mod installaton, close the game

  • Open Valheim\BepInEx\config\craftersmine.Valheim.WorldCleaner.cfg

  • Read descriptions and change values at your will

  • Save the file

  • Or use BepInEx Configuration Manager, as said above I don't care, if you break your game by changing mod values when it is running, it is not tested yet

valheim.worldcleaner's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

valheim.worldcleaner's Issues

[BUG] Items cleaning runs only near host

Item cleaning doesn't run on server clients, only host

To Reproduce
Steps to reproduce the behavior:

  1. Wait for clean on the server
  2. Only items near host will be removed

Expected behavior
Items should be removed near all players

Desktop (please tell as much as you can/want/know):

  • OS: Windows 11 22H2
  • Valheim version: v0.212.9
  • Mod version: v0.0.3

[BUG] Local worlds cleaning cannot be disabled

Mod config option "Enable local world cleaning" doesn't do anything

Steps to reproduce the behavior:

  1. Set "Enable local world cleaning" to false in config
  2. Open local single player world
  3. World cleaning will commence regardless

Expected behavior
With disabled config option no cleaning should commence

Desktop (please tell as much as you can/want/know):

  • OS: Windows 11 22H2
  • Valheim version: v0.212.9
  • Mod version: v0.0.3

[BUG] Unable to run force-cleaning by key with cleaning disabled

Unable to run force-cleaning by key with cleaning disabled in config

Steps to reproduce the behavior:

  1. Disable "Enable Cleaning" config entry
  2. Press force-clean key
  3. No cleaning will be initiated

Expected behavior
Force-cleaning should be initiated regardless of this config entry

Desktop (please tell as much as you can/want/know):

  • OS: Windows 10
  • Valheim version: v0.212.9
  • Mod version: v0.0.4

Force cleanup start on key press

Ability to run world cleanup on key press

For example, when pressing key, timer will be set to - and cleanup will be commenced after cleanup delay

Other alternatives and/or variants to do is through console commands

[BUG] Items thrown by other players not being removed

Items throw out but other players (other than host) not being removed

To Reproduce
Steps to reproduce the behavior:

  1. Throw any items on the ground as connected player
  2. Wait for cleanup to commence
  3. Items will not be removed

Expected behavior
All items should be removed

Desktop (please tell as much as you can/want/know):

  • OS: Windows 11 22H2
  • Valheim version: v0.212.9
  • Mod version: v0.0.3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.