DayZ
Not enough ratings
MetasequoiaTraderRester
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
File Size
Posted
Updated
7.150 KB
10 Oct @ 2:59pm
10 Oct @ 3:00pm
2 Change Notes ( view )

Subscribe to download
MetasequoiaTraderRester

Description
这是一个服务端MOD,客户端无需安装
This is a server-side mod that does not require client installation
===========================================================================
配置文件目录 DayZServer\Profiles\ExpansionMod
Configuration file directory DayZServer \ Profiles \ ExpansionMod
===========================================================================
🛒📦 DayZ 交易区智能补货系统 v1.0

介绍内容:

想让你的 DayZ 交易区更加智能和有趣吗?🎯
这个 智能补货系统 可以让每个交易区根据自定义周期自动补货,支持普通补货和大补货!🔥

🌟 功能亮点:

每个交易区独立 restartCount,大补货周期完全自定义

支持多个大补周期,例如 [3,5,8] → 每 3/5/8 次重启触发大补

自动生成默认 JSON 配置文件 📝

支持交易区名称显示,让日志更清晰 📢

完全可配置的普通补货和大补货百分比 💰

多交易区同时管理,无干扰,各自独立逻辑

🎮 使用场景:

为你的服务器增加更多策略和玩法

根据不同交易区设置不同大补周期,打造独特经济系统

新手友好,自动生成默认配置文件,无需手动创建

📝 备注 / 来源:

本代码基于:Restock.c[github.com]

进行了修改和扩展,以支持多交易区、周期性大补货及可配置功能。

快来让你的交易区活起来吧!🚀
===========================================================================
🛒📦 DayZ Smart Trader Restock System v1.0

Description:

Want your DayZ traders to feel smarter and more dynamic? 🎯
This Smart Trader Restock System automatically restocks each trader zone based on custom cycles, supporting both normal and big restocks! 🔥

🌟 Features:

Independent restartCount for each trader zone, fully customizable big restock cycles

Support multiple big restock cycles, e.g., [3,5,8] → triggers big restock every 3/5/8 restarts

Automatically generates a default JSON config file 📝

Display trader zone names in logs for clear feedback 📢

Fully configurable normal and big restock percentages 💰

Manage multiple trader zones at the same time without conflicts

🎮 Use Cases:

Add strategy and fun to your server economy

Set different big restock cycles for each zone to create unique gameplay

Beginner-friendly: default JSON generated automatically, no manual setup needed

📝 Note / Source:

This mod is based on: Restock.c[github.com]

Modified and extended to support multiple trader zones, periodic big restocks, and configurable features.

Bring your trader zones to life! 🚀
===========================================================================
percentNormal 正常补货的百分比
percentBig 超级补货的百分比
bigRestockTimes 第几次服务器重启进行超级补货
restartCount 当前服务器重启了几次(不需要编辑)

你不需要在意交易区的范围,他应该会识别当前坐标的交易区,因为你不可能在同一个区域内出现两个交易区,因为exp不允许

PercentNormal is the percentage of normal restocking
Percentage of super restocking for percentBig
How many times has bigRestackTimes restarted the server for super replenishment
RestartCount: The current server has restarted several times (no editing required)

You don't need to worry about the scope of the trading area, he should be able to recognize the current coordinate of the trading area, because you cannot have two trading areas in the same area because exp does not allow it

完美 ✅
以下是专为 **Steam 创意工坊** 优化的最终版本说明排版(使用 Steam 支持的 **BBCode + 表情 +对齐符号**)。
这种写法不会乱行,还能在 Steam 页面上保持整齐、美观、有层次👇

===========================================================================

[size=5]⚙️ 参数说明 / Parameter Description[/size]

───────────────────────────────

🌿 percentNormal (`int`)
 📘 普通补货的百分比。每次服务器重启都会执行普通补货,用于维持基础库存。
 💡 例:设置为 10 表示补货 10%。
 🌍 EN: Percentage for normal restock. Applied every restart to maintain regular stock (e.g., 10 = 10% restock).

───────────────────────────────

🔥 percentBig (`int`)
 📘 大补货(超级补货)的百分比。仅在特定重启次数触发,用于快速补满库存。
 💡 例:设置为 30 表示补货 30%。
 🌍 EN: Percentage for big (super) restock. Triggered on specific restart cycles for larger refills (e.g., 30 = 30% restock).

───────────────────────────────

🔁 bigRestockTimes (`array<int>`)
 📘 指定哪些周期进行大补货。
 💡 例:[3, 5, 8] 表示服务器重启次数能被 3、5 或 8 整除时触发大补货。
 ➡️ 触发示例:第 3、5、6、8、9、10、12、15、16 次……
 🌍 EN: Defines which restart cycles trigger a big restock.
 Example: [3, 5, 8] → triggers on every 3rd, 5th, 8th restart, etc.

───────────────────────────────

📊 restartCount (`int`)
 📘 当前服务器已重启的次数。系统自动更新此值,用于判断是否执行大补货。
 ⚠️ 无需手动修改。
 🌍 EN: The number of times the server has restarted. Automatically updated — no manual editing required.

───────────────────────────────

9 Comments
水杉  [author] 1 hour ago 
Only supporting expanded trading markets
Weyland 13 hours ago 
Does it work with Expansion Marketplace?
水杉  [author] 20 hours ago 
Of course, please feel free to modify and package it, just give my mod a thumbs up
Burschi 21 hours ago 
Thank you.. can i modify this Mod for my Traders ? and repack or reupload it ?
水杉  [author] 22 hours ago 
percentNormal 正常补货的百分比
percentBig 超级补货的百分比
bigRestockTimes 第几次服务器重启进行超级补货
restartCount 当前服务器重启了几次(不需要编辑)

你不需要在意交易区的范围,他应该会识别当前坐标的交易区,因为你不可能在同一个区域内出现两个交易区,因为exp不允许

PercentNormal is the percentage of normal restocking
Percentage of super restocking for percentBig
How many times has bigRestackTimes restarted the server for super replenishment
RestartCount: The current server has restarted several times (no editing required)

You don't need to worry about the scope of the trading area, he should be able to recognize the current coordinate of the trading area, because you cannot have two trading areas in the same area because exp does not allow it
JIA118 23 hours ago 
:steamthumbsup:
Burschi 16 Oct @ 9:14am 
Nice .. whant to use it.. its Serverside i see... and how does it work have the json file

{
"zones": [
{
"name": "Green Mountain",
"position": [
3728.0,
403.0,
6003.0
],
"percentNormal": 10,
"percentBig": 20,
"bigRestockTimes": [
3
],
"restartCount": 3
}
]
}

and the radius from Position or how does it work can you explain it better ?
i take a Position near by Traderpöint or how ?
Good Citizen 12 Oct @ 1:22am 
:steamthumbsup:
Eryc 10 Oct @ 3:19pm 
👍