Jump to content

100% protection though only max 50% in config.

Not a Bug 1.1.13

D33pakGanesh

Posted

{
  "Raid Protection Options": {
    "Only mitigate damage caused by players": false,
    "Protect players that are online": false,
    "Scale of damage depending on the current hour of the real day": {},
    "Scale of damage depending on the offline time in hours": {
      "1": 0.1,
      "3": 0.25,
      "6": 0.35,
      "12": 0.4,
      "48": 0.5,
      "168": 0.1
    },
    "Cooldown in minutes": 10,
    "Scale of damage between the cooldown and the first configured time": 0.0,
    "Protect all prefabs": false,
    "Protect AI (animals, NPCs, Bradley and attack helicopters etc.) if 'Protect all Prefabs' is enabled": false,
    "Protect vehicles": false,
    "Protect twigs": false,
    "Prefabs to protect": [
      "abovegroundpool.deployed",
      "advendcalendar.deployed",
      "andswitch.entity",
      "audioalarm",
      "autoturret_deployed",
      "barricade.concrete",
      "barricade.cover.wood",


Prefabs...
Prefabs..
Prefabs...
"twitchbus",
      "workcart.entity",
      "workcart_aboveground.entity",
      "workcart_aboveground2.entity"
    ],
    "Prefabs blacklist": []
  },
  "Team Options": {
    "Enable team offline protection sharing": true,
    "Mitigate damage by the team-mate who was offline the longest": false,
    "Include players that are whitelisted on Codelocks": false,
    "Prevent players from leaving or disbanding their team if at least one team member is offline": false,
    "Enable offline raid protection penalty for leaving or disbanding a team": false,
    "Penalty duration in hours": 24.0
  },
  "Command Options": {
    "Commands to check offline protection status": [
      "ao",
      "orp"
    ],
    "Command to display offline raid protection information": "raidprot",
    "Command to fill the offline times of all players": "orp.fill.onlinetimes",
    "Command to update the permission status for all players.": "orp.update.permissions",
    "Command to change a player's offline time": "orp.test.offline",
    "Command to change a player's offline time to the current time": "orp.test.online",
    "Command to change a player's penalty duration": "orp.test.penalty"
  },
  "Permission Options": {
    "Permission required to enable offline protection": "offlineraidprotection.protect",
    "Permission required to check offline protection status": "offlineraidprotection.check",
    "Permission required to use admin functions": "offlineraidprotection.admin"
  },
  "Other Options": {
    "Play sound when damage is mitigated": false,
    "Asset path of the sound to be played": "assets/prefabs/locks/keypad/effects/lock.code.denied.prefab",
    "Display a game tip message when a prefab is protected": true,
    "Game tip message shows remaining protection time": false,
    "Message duration in seconds": 2.0
  },
  "Timezone Options": {
    "Timezone": "Asia/Kolkata"
  },
  "Version": {
    "Major": 1,
    "Minor": 1,
    "Patch": 12
  }
}

Hi, i configured an max of 50% but still players and i have verified that it always goes over 50% sometimes 100% tho we set the max to 50%

Screenshot (862).png

realedwin

Posted

"Scale of damage between the cooldown and the first configured time": 0.0

 "Cooldown in minutes": 10

"1": 0.1

100% protection after 10 minutes to 1 hour. 90% protection after 1 hour...

D33pakGanesh

Posted

"Scale of damage between the cooldown and the first configured time": 0.0
Changed the value to 0.1 that should fix it?

 

realedwin

Posted

0.1 means 90% protection, 1.0 means 0% protection. Do you understand?

realedwin

Posted

Changed Status from Pending to Not a Bug

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.5m
Total downloads
Customers
11.2k
Customers served
Files Sold
160.7k
Total sales
Payments
3.5m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.