Necesse

Necesse

Not enough ratings
Private Chest
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
610.694 KB
Oct 17, 2024 @ 9:27am
Nov 1, 2024 @ 11:57am
3 Change Notes ( view )

Subscribe to download
Private Chest

Description
If you like playing with your friends but don't want to share all your items, this is the mod for you.

This mod adds a private chest to the game.
If the chest is locked, only you can access or destroy it.

When placed on the ground, you must open it at least once to take the ownership.
It's unlocked by default, but you can block access to other players by clicking the appropriate button for that functionality.




In the mod's default configuration, the chest comes with 80 slots and each player can only own a single chest.

Default settings in "../cfg/mods/privatechest.cfg" file:

{ SETTINGS = { limitonechestperplayer = true, // The player can only own a single chest | default: true chestslots = 80 // How many slots in the private chest | default: 80 } }




The private chest is protected and it cannot be destroyed by any tool.
To remove it from the ground, you must use the destroy option (the trash icon) on the chest buttons.

Let me know if any problems occur.
Programming is not my strong, so bugs can be expected.
6 Comments
1stReaper Feb 5 @ 12:58pm 
oh ok
.dot.  [author] Feb 5 @ 12:13pm 
For the record... You don't need to compress the world directory again. You can use it as a folder that the game will load normally.
1stReaper Feb 5 @ 5:14am 
take that back, i managed to save my game,

managed to use winrar to get into the zip file and delete it from there
1stReaper Feb 5 @ 4:59am 
weep,
seems i just messed my world up and deleted everything =/
when i found the location there were all in zip files, so i unzipped a backup copy of the save i made,

unrar'ed it found the private chest folder, deleted it, re-zipped the folder, booted the game up,
no worlds no character was there :'(

well... that sucked =/

thanks for attempting to help tho my dude :)
.dot.  [author] Feb 5 @ 4:50am 
In the "%APPDATA%\Necesse\saves\worlds\" directory there will be a folder with the name of your world.
Open the directory and edit the file "privatechest.dat" with the game closed, removing your Steam ID from the array.

Example:

If my Steam ID is "11111111111111111", and the contents of the file are

PrivateChest = {
Owners = [11111111111111111, 222222222222222222]
}

After editing the file, it would look like this:

PrivateChest = {
Owners = [222222222222222222]
}

If it is a local save where only you play, you can simply delete the file.
1stReaper Feb 4 @ 6:25am 
is there a way to force delete the chest ? or have it completely turn off/ disable

at some point i placed a private chest ..............some where......
im presuming i forgot about it at some point ,,,, now i cant find it,,, and when i try to place one it automatically ...."de-places".... from the island and tells me ive already got one

ive tried turning the mod off, booting the game up loading into my save, exiting, readding the mod and trying again, to which i have no joy