DevCaItemLock
Изображение 1 из 3. Материалы автора из Steam Workshop.
О материале
«DevCaItemLock» — материал мастерской DayZ. Оружие, транспорт, территории и моды для серверов. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.
Описание автора
DevCaItemLock - Server-Side Item Access Control
WHAT IS THIS MOD?
DevCaItemLock is a server-side mod that gives you complete control over which items players can use and for how long. Create unlimited restriction groups based on SteamID, define exact expiration date and time for VIPs or events, and automatically force all expired items to drop from players (including those who were offline when their VIP ended). During the 2h grace window items stay locked for everyone until VIP is renewed, and all blocked attempts / expiry warnings are mirrored to Discord via webhooks. Perfect for VIP systems, admin gear protection, event exclusives, or temporary access packs. No client installation required.
OVERVIEW
100% server-side mod for DayZ. Restrict any item to specific players using SteamID-based groups with automatic config reload, precise expiration (date + time), forced drop on expiry, and Discord notifications for blocked access and upcoming VIP expiration.
KEY FEATURES:
-
No client installation required (pure server-side)
-
Unlimited groups, items, and SteamIDs
-
Auto-reload without server restart (m_ReloadInterval)
-
Discord webhook notifications (blocked access + VIP expiry warnings)
-
Group expiration by date + time with automatic full-body drop on expiry
-
2h post-expiry quarantine window: items dropped and locked until VIP is renewed
-
Admin bypass system (SteamID-based)
-
Automatic config migration and backup
QUICK START
1. Subscribe & Restart Server Auto-generates config at: profiles/DEVCarlos/DevCaItemLock/
2. Edit DevCaItemLock.json Add admins, create groups, set items to restrict, and define expiration date + time when needed
3. Save & Wait Mod auto-reloads changes and expiration checks (default every 5 minutes)
4. Done! No server restart needed
CONFIG EXAMPLE
{
"m_ConfigVersion": "2.0",
"m_Enable": 1,
"m_ReloadInterval": 5,
"m_EnableWebhook": true,
"m_WebhookURL": "https://discord.com/api/webhooks/YOUR_ID/TOKEN",
"m_Admins": ["76561198001994220"],
"m_Groups": [
{
"m_Description": "VIP Weapons",
"m_ExpirationDate": "2025-12-31",
"m_Steam": ["76561198001994220", "76561198001994225"],
"m_Items": ["M4A1", "AKM", "SVD"]
}
]
}
CONFIGURATION OPTIONS
m_Enable 1 = Mod active | 0 = Disabled
m_ReloadInterval Minutes between config checks and expiration evaluations (1-1440)
m_Admins Array of SteamIDs with full bypass access
m_ExpirationDate Group expiration date[/b>. Supports DD/MM/YYYY (recommended) and legacy YYYY-MM-DD. Leave empty ("") for permanent access.
m_ExpirationTime Group expiration time in 24h format HH:MM (e.g. "09:30" or "18:45"). Leave empty ("") to expire at 00:00 of the given date.
m_EnableWebhook Enable Discord notifications (true/false)
m_WebhookURL Your Discord webhook URL
EXPIRATION SYSTEM
Each group can have an expiration date + time. When the configured moment is reached, the mod:
-
Forces all items from that group to drop from every affected player (online or on next login)
-
Locks those items for everyone (no pickup/use) during a 2h grace window
-
Sends big on-screen warnings and Discord webhooks as expiry approaches
EXAMPLE 1 - VIP Pass (Expires 30/06/2025 at 18:00)
"m_ExpirationDate": "30/06/2025",
"m_ExpirationTime": "18:00"
After this moment: items are dropped and blocked until VIP is renewed.
EXAMPLE 2 - Event Exclusive (Easter Weekend)
"m_Description": "Easter Event Weapons",
"m_ExpirationDate": "21/04/2025",
"m_ExpirationTime": "23:59"
Perfect for limited-time events and seasons where items must disappear after the event.
EXAMPLE 3 - Permanent (Never Expires)
"m_ExpirationDate": "",
"m_ExpirationTime": ""
Access never expires (until you change it manually).
DISCORD WEBHOOK SETUP
CREATE WEBHOOK:
- Discord > Server Settings > Integrations > Webhooks
- Click "New Webhook"
- Copy the URL
- Paste in m_WebhookURL
- Set m_EnableWebhook to true
NOTIFICATIONS INCLUDE:
- Player name & SteamID
- Item type accessed
- Action: Blocked / Allowed / Admin Bypass / Expired
- Location coordinates
- Group name
- Online player count
- Timestamp
AUTO-RELOAD SYSTEM
Edit config file anytime:
Timeline:
-
18:00 - You edit DevCaItemLock.json
-
18:00 - Save file
-
18:05 - Mod detects change
-
18:05 - New config loads
-
LIVE - No restart needed!
Check server logs for: CONFIG FILE CHANGED - RELOADING
HOW IT WORKS
Player picks up restricted item:
- Mod checks player SteamID
- Is player an admin? → Allow & log bypass
- Is player in whitelist group and group is not expired? → Allow
- Group expired (date + time reached)? → Drop item, block use and keep it locked until VIP is renewed
- Not in group? → Block & send warning (big on-screen + Discord)
Discord receives webhook:
- Item blocked notifications
- Admin access attempts
- Group expiration alerts
- All with player/location details
FEATURES EXPLAINED
ADMIN BYPASS Add SteamIDs to m_Admins for unrestricted access. All attempts logged in Discord.
GROUP EXPIRATION Time-limited VIP, seasonal events, temporary bans. After the configured date + time passes, items are dropped from players and locked from everyone (quarantine) instead of becoming free.
AUTO-RELOAD Edit JSON, save, mod reloads automatically. No restart needed. Default check: 5 minutes.
WEBHOOK NOTIFICATIONS Real-time Discord alerts for every action. Track abuse, monitor permissions, verify access.
FAQ
Do players need to install? No. 100% server-side.
Can I edit config without restart? Yes. Auto-reload handles it (adjust m_ReloadInterval if needed).
What happens when group expires? Items become free for everyone. You get Discord notification.
Can I make permanent restrictions? Yes. Leave m_ExpirationDate empty.
Will my old config be deleted? No. Automatically migrated and backed up as .old
Does webhook break the mod? No. If webhook fails, restrictions still work normally.
AUTOMATIC FEATURES
Config Upgrade Updates automatically. Data preserved. Only new fields added.
Directory Creation Mod creates all necessary folders automatically.
File Backup Original config backed up before any changes.
Hash Checking Detects file changes without full reload cycles.
TECHNICAL DETAILS
Restrictions Applied To:
- Cargo operations (CanPutInCargo)
- Hand operations (CanPutIntoHands, CanRemoveFromHands)
- Attachments (CanReceiveAttachment)
Checked On:
- Every inventory interaction
- Every attachment action
- Instant enforcement
Server-Side Validation All checks on server. No client exploit possible.
📢 Further Info
🚫 No repacks allowed. Don't ask — repacking poisons the community and destroys the spirit of collaboration that keeps DayZ alive.
You are free to look into the mod for learning purposes or to understand how it works.
I kindly ask for respect for the effort invested: if you reuse parts or ideas from the code, please credit the author (DevCARLOS / DevCarlos)[/u
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.