Raid Control

$9.99

Configure damage for a period after players are raided and when players are offline!

Sold By: Waggy

Description

Raid Control

Raid Control allows you to configure three primary different things.

1. You can configure how much damage is done on specific days and how much damage is done during configurable time windows.

So you could say that on Saturday and Sunday, from 12:00 to 18:00, there is 2x damage to buildings, and from 18:00 to 22:00, there is 3x damage done to buildings.

2. After a player has been raided, there is a configurable period of time (suggested to be a few hours so the people raiding have time to raid them) until their base will take multiplied damage, you can make it do no damage, or make it do more damage, whatever you want.

3. After a player has logged off, there is a configurable period of time (set to 30 minutes by default, so they can’t log off during a raid to block damage) until their base will take multiplied damage, same thing as #1, you can make it do no damage, more damage, or the same damage. All up to you.

How much damage their base takes is based off of the permission they have and the multiplier you have assigned to said permission. Example below under Configuration.

Everything is saved as well, so these delays will persist over server restarts or plugin updates.

 

Configuration

Here is the template you will need for a configurable window:

“Multiplier Windows”: [
{
“DamageMultiplier”: 2.0,
“DaysActive”: [
“sunday”,
“monday”
],
“EndTime”: “23:59”,
“StartTime”: “12:00”
}
]

This example would make it so there is 2x damage on Sunday and Monday between 12:00 and 23:59. This plugin uses Eastern Time Zone (UTC-4) by default, but that can be changed as well.

The “Clan Members/Friends Are Allowed to Raid Each Other No Matter What” option will allow clan members to raid each other and friends to raid each other without damage multipliers, meaning they can raid them offline or after they’ve already been raided once.

The “MINUTES Until Offline Raid/Player Raid Cooldown Damage Multiplier is Effective” is the amount of time after getting offline or being raided that the multiplier assigned to their permission takes effect.

For example, if someone logs off, and “MINUTES Until Offline Raid Damage Multiplier is Effective” is set to 30, it will take 30 minutes before the multiplier assigned to their permission is applied.

“Count Authorized Players/Clan Mates as Base Owners” this option makes it so if the person who built the base is offline but their clan mates or other people authorized on the tool cupboard of the base are online, the offline raid multiplier won’t be applied. Suggested to keep as true to avoid exploitation.

For the per permission multipliers, let’s say:

Player 1 has the permission raidcontrol.basic, their bases will take 75% damage after they have been raided.

Player 2 has the permission raidcontrol.vip, their bases will take 50% damage after they have been raided.

{
“General Options”: {
“Clan Members Are Allowed to Raid Each Other No Matter What”: true,
“Count Authorized Players as Base Owners (if one authorized on the TC is online the base doesn’t take multiplied damage)”: true,
“Count Clan Mates as Base Owners (if a clan mate is online the base doesn’t take multiplied damage)”: true,
“Friends Are Allowed to Raid Each Other No Matter What”: false
},
“Multiplier Window Options”: {
“Enable Multiplier Windows”: true,
“Multiplier Windows”: [],
“UTC Offset For Timezone (default EST)”: -4.0
},
“Offline Multiplier Options”: {
“Enable Offline Raid Multiplier”: true,
“Hours Until Offline Multiplier is No Longer Applied Per Permission”: {
“basic2”: 24.0,
“vip2”: 48.0
},
“MINUTES Until Offline Raid Damage Multiplier is Effective”: 30.0,
“Offline Raiding Damage Multiplier Per Permission (0.5 would be 50% less damage)”: {
“basic1”: 1.0,
“vip1”: 0.5
}
},
“Raid Cooldown Options”: {
“Cooldown Until Player Can Be Raided Again (in HOURS)”: 0.0,
“Enable Player Raid Cooldown Multiplier”: true,
“MINUTES Until Player Raid Cooldown Damage Multiplier is Effective”: 30.0,
“Player Raid Cooldown Damage Multiplier Per Permission (0.5 would be 50% less damage)”: {
“basic”: 1.0,
“vip”: 0.5
}
}
}

Support

If you have any questions whatsoever, please reach out to me. You can either post in this plugin’s support thread.

If you are interested, you can also join my Discord, where I share what I am working on at the moment to you guys and have a ticket system for fast support.

I also offer to anyone who has a unique, awesome plugin idea to share it with me and allow me to create a plugin out of it for Chaos Code. In exchange, I will grant you a free license for said plugin when/if I post it on Chaos Code!

Join my Discord!

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.