DayZ
138 个评价
CJLootChest Remastered
2
2
   
奖励
收藏
已收藏
取消收藏
Type: Mod
文件大小
发表于
更新日期
18.649 KB
2024 年 9 月 17 日 下午 9:07
1 月 25 日 上午 11:59
12 项改动说明 ( 查看 )

订阅以下载
CJLootChest Remastered

描述
CJ Loot Chests - Remastered | No longer supported

An extensive overhaul for the CJ Loot Chests mod, introducing a new config file system (NEWConfig.json) for complete control over loot chests, including customizable respawn timers and randomized locations.




Overview

This addon redefines the configuration for the CJ Loot Chests mod, replacing the default config setup with a new JSON configuration system (`NEWConfig.json`). This file provides detailed settings for each loot chest location, allowing server admins to control:
- Respawn and Despawn Timers: Set specific respawn intervals for each chest type.
- Randomized Spawn Locations: Set multiple positions for the chest and enable or disable for the chest to randomly respawn at a new position after the timer is up.

NOTE: If you have multiple positions in your config and you disable randomized locations, it will always respawn at the first defined position. However, if you have multiple locations, on server start it will pick one at random and then after that box timer goes off it will only respawn at the first defined position. Comment below if you have questions.

CURRENT ISSUES: Right now if you are trying to use respawn without randomize and you want just 1 location, you need to enter that location 3 times in the coords and enable randomize to force that location. Will fix this when I get time. Join the discord and ping me if you are having issues. Will not check here often for comments.


Important: To use this enhanced configuration, delete the contents of the original CJ config file (but keep the file itself), and only modify `NEWConfig.json` to manage all loot chest settings on your server. This addon replaces the default CJ Loot Chests setup, and the original config is no longer used for location settings.

This mod can be repacked with credit in your server pack. Please include proper attribution to this mod or else I will have you remove it.




Key Features

  • Unified Config in NEWConfig.json: All loot chest settings are controlled through one file, giving you full control over the entire loot system.
  • Respawn and Despawn Timers: Customizable for each location, with timers set in minutes for specific chests or groups.
  • Random Spawn Positioning: Toggle random positions per chest, enabling diverse spawn points at specific locations.
  • REQUIRES CJ Loot Chests Mod: Enhances but does not alter the original functionality, with only the configuration file replaced.




Using the Config File (NEWConfig.json)

The new `NEWConfig.json` file provides an organized and highly customizable structure for setting up loot chest events across the map. Here’s a summary of the main settings available:

- `respawn`: Toggle chest respawn (`1` for respawn, `0` for single-use chests).
- `respawn_timer`: Set respawn intervals in minutes for each chest, controlling when it will reappear after being looted and despawned.
- `random_location`: Enable random spawn locations within predefined positions for added variation.

To ensure your settings are in effect, keep the default CJ config file in place but remove any of its contents, as all relevant data is now controlled by `NEWConfig.json`.




Permissions and Credits

This addon is free to use and can be repacked, provided you credit this addon within your server pack. No redistribution of this code, only repacked with proper credits.




CURRENT ISSUES: Right now if you are trying to use respawn without randomize and you want just 1 location, you need to enter that location 3 times in the coords and enable randomize to force that location. Will fix this when I get time. Join the discord and ping me if you are having issues. Will not check here often for comments.

98 条留言
Alexey 12 月 2 日 上午 8:45 
do you have a map, where this crate is spawned? or spawn mannualy added by servers admin?
WhoBeDat420 11 月 6 日 下午 11:48 
getting a script error when trying to load CJ's also... and i followed instructions several times... maybe im doing something wrong?
Khamulx [ESP] 10 月 31 日 上午 7:32 
Thx too much!!!
ThatGuyJD  [作者] 10 月 30 日 下午 6:15 
Temp fix is in CJ's discord - Please use that for now
Forfal 10 月 30 日 下午 1:50 
He has already said he will try to look into it tonight, which is all we can ask.
ArmyGirl3622 10 月 30 日 下午 1:15 
mod no longer works after todays update
alun_bevan 10 月 30 日 下午 12:50 
Getting this error, any ideas
ChestsRemastered/scripts/3_game/config.c(52): cant find veriable loot
ThatGuyJD  [作者] 10 月 30 日 下午 12:18 
@Good Citizen is on whether or not you are having multiple boxes spawn because the timer will not go unless all of them have been opened. I can explain it better when I get home and not from my phone.
Good Citizen 10 月 30 日 上午 11:50 
@ThatGuyJD The box is very good, but it lacks a defined time for automatic reappearance, so it can be reused instead of only being opened once.