Skip to content
This repository was archived by the owner on Jul 5, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.0.0] - 2024-12-11

- update references for 7dtd-1.2-b27

## [No Release Necessary] - 2024-10-02

- update references for 7dtd-1.1-b14
Expand Down
2 changes: 1 addition & 1 deletion ModInfo.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<xml>
<Name value="kanaverum-raid-hours" />
<DisplayName value="Raid Hours" />
<Version value="2.0.0" />
<Version value="3.0.0" />
<Description value="Real people have real lives; disable raiding while most players are at work or asleep." />
<Author value="Jonathan Robertson (Kanaverum)" />
<Website value="https://github.com/jonathan-robertson/raid-hours" />
Expand Down
34 changes: 13 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
# Raid Hours

[![🧪 Tested On 7DTD 1.1 (b14)](https://img.shields.io/badge/🧪%20Tested%20On-7DTD%201.1%20(b14)-blue.svg)](https://7daystodie.com/) [![📦 Automated Release](https://github.com/jonathan-robertson/raid-hours/actions/workflows/release.yml/badge.svg)](https://github.com/jonathan-robertson/raid-hours/actions/workflows/release.yml)
[![🧪 Tested with 7DTD 1.2 (b27)](https://img.shields.io/badge/🧪%20Tested%20with-7DTD%201.2%20(b27)-blue.svg)](https://7daystodie.com/)
[![✅ Dedicated Servers Supported ServerSide](https://img.shields.io/badge/✅%20Dedicated%20Servers-Supported%20Serverside-blue.svg)](https://7daystodie.com/)
[![❌ Single Player and P2P Unupported](https://img.shields.io/badge/❌%20Single%20Player%20and%20P2P-Unsupported-red.svg)](https://7daystodie.com/)
[![📦 Automated Release](https://github.com/jonathan-robertson/raid-hours/actions/workflows/release.yml/badge.svg)](https://github.com/jonathan-robertson/raid-hours/actions/workflows/release.yml)

TODO: ![raid-hours social image](https://raw.githubusercontent.com/jonathan-robertson/raid-hours/media/raid-hours-logo-social.jpg)

- [Raid Hours](#raid-hours)
- [Summary](#summary)
- [Support](#support)
- [Features](#features)
- [Scheduled Claim Defense](#scheduled-claim-defense)
- [Mob Raid Protection](#mob-raid-protection)
- [Squatting/Trap Protection](#squattingtrap-protection)
- [Bag Drop Mode](#bag-drop-mode)
- [Admin Commands](#admin-commands)
- [Compatibility](#compatibility)

## Summary

Real people have real lives; disable raiding while most players are at work or asleep.
Expand All @@ -31,10 +23,10 @@ A server running Raid Hours will have some special features related to Land Clai

The currently active Claim Mode is displayed as a persistent buff. Select this buff in your character sheet for more info.

Claim Mode | Description
--- | ---
**Build Mode** | Claimed Land remains protected from hostile player damage.
**Raid Mode** | Land Claim Defense drops to enable pvp raiding between the hours set by the admin.
| Claim Mode | Description |
| -------------- | ---------------------------------------------------------------------------------- |
| **Build Mode** | Claimed Land remains protected from hostile player damage. |
| **Raid Mode** | Land Claim Defense drops to enable pvp raiding between the hours set by the admin. |

### Mob Raid Protection

Expand Down Expand Up @@ -70,10 +62,10 @@ Each of options would be called with the command `raidhours` or `rh`:

## Compatibility

Environment | Compatible | Does EAC Need to be Disabled? | Who needs to install?
--- | --- | --- | ---
Dedicated Server | Yes | No | only server
Peer-to-Peer Hosting | No | No | N/A
Single Player | No | No | N/A
| Environment | Compatible | Does EAC Need to be Disabled? | Who needs to install? |
| -------------------- | ---------- | ----------------------------- | --------------------- |
| Dedicated Server | Yes | No | only server |
| Peer-to-Peer Hosting | No | No | N/A |
| Single Player | No | No | N/A |

> TODO: maybe one day, this mod will be updated to support P2P and SP
Binary file modified RaidHours.dll
Binary file not shown.
Binary file modified references/Assembly-CSharp.dll
Binary file not shown.
Binary file modified references/LogLibrary.dll
Binary file not shown.
Binary file modified references/System.Configuration.dll
Binary file not shown.
Binary file modified references/UnityEngine.CoreModule.dll
Binary file not shown.
Binary file modified references/UnityEngine.dll
Binary file not shown.
16 changes: 16 additions & 0 deletions update-references.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/sh
references_folder=./references
harmony_filename="0Harmony.dll"
harmony_folder="/c/Program Files (x86)/Steam/steamapps/common/7 Days to Die Dedicated Server/Mods/0_TFP_Harmony"
managed_folder="/c/Program Files (x86)/Steam/steamapps/common/7 Days to Die Dedicated Server/7DaysToDieServer_Data/Managed"

cd $references_folder
for file in *; do
if [ -f "$file" ]; then
if [ "$file" = "$harmony_filename" ]; then
cp "$harmony_folder/$file" ./
else
cp "$managed_folder/$file" ./
fi
fi
done
Loading