Jump to content

Lag spike

Pending 3.4.18

kokobeware
kokobeware

Posted

Hi Mr01Sam, i've just install the plugin my server is experiencing huge lag spike from it :

(17:03:17) | Calling 'OnActiveItemChanged' on 'RaidProtection v3.4.18' took average 1400ms

(17:03:27) | Calling 'OnEntityKill' on 'RaidProtection v3.4.18' took average 1192ms

(17:03:38) | Calling 'OnLootEntityEnd' on 'RaidProtection v3.4.18' took average 4168ms

(17:03:48) | Calling 'OnEntityKill' on 'RaidProtection v3.4.18' took average 5294ms

(17:03:58) | Calling 'OnLootEntityEnd' on 'RaidProtection v3.4.18' took average 5079ms

My configuration is pretty standard, and even if only allow myself the permissions, other players made the remark that they are seeing the red shield from the plugin in the corner of their screen. Here are my configs :

{
  "Enable Logging": false,
  "Enable Ledger": true,
  "Enable Console Messages": true,
  "Chat Message Icon ID": 0,
  "Commands": {
    "Admin": "tc",
    "Protection": "pro",
    "Levels": "lev"
  },
  "Protection Settings": {
    "Protected entities": {
      "Buildings": true,
      "Deployables": true,
      "Traps": true,
      "Loot Nodes": false,
      "Authed Players": false,
      "Unauthed Players": false,
      "NPCs": false,
      "Animals": false,
      "Vehicles": false,
      "Horses": false,
      "Electrical": true
    },
    "Protected from": {
      "Authorized Players": false,
      "Unauthorized Players": true,
      "Attack Heli": true,
      "NPCs": true
    },
    "Protection levels": [
      {
        "Rank": 1,
        "Online protection percentage (0-100)": 0.0,
        "Offline protection percentage (0-100)": 100.0,
        "Hourly cost per authorized player": 0.0,
        "Hourly cost per floor": 1.0,
        "Hourly base cost": 0.0,
        "Cost per damage protected": 0.0,
        "Max protection time (hours)": null,
        "Delay for offline protection (seconds)": 1800,
        "Delay after taking damage (seconds)": 10,
        "Damage resets timer when owner is offline": true,
        "Allow tugboat protection": true,
        "Allow barge protection (requires Barges plugin)": false,
        "Founder Limit": null
      }
    ],
    "Admin owners removed when deauthorized": true,
    "Award remaining balance when cupboard destroyed": true,
    "Allow max deposit": true,
    "Allow balance withdraw": true,
    "Allow protection pause": true,
    "Panel Tabs": {
      "Offset X": 92,
      "Offset Y": 20,
      "Tab Width": 200
    },
    "Currency item (if not using ServerRewards or Economics)": "scrap",
    "Protect twig": true
  },
  "Image Settings": {
    "Status Protected": "https://i.ibb.co/f4qRcGk/protected.png",
    "Status Unprotected": "https://i.ibb.co/8KHF4Bz/unprotected.png",
    "Status Info": "https://i.ibb.co/f9KSv7G/settings.png",
    "Status Toggle": "https://i.ibb.co/FmBxdDf/toggle.png",
    "Status Refresh": "https://i.ibb.co/r3w1NPV/refresh.png",
    "Info Owners": "https://i.ibb.co/mChVXHJ/key.png",
    "Info Costs": "https://i.ibb.co/Nrd48VW/money.png",
    "Info Check": "https://i.ibb.co/XbThxdm/check.png",
    "Info Cross": "https://i.ibb.co/6r2mx5t/cross.png"
  },
  "Indicator Settings": {
    "Enabled": true,
    "ShowBalanceDeducted": true,
    "FontSize": 18,
    "AnchorMin": "0.94 0.9",
    "AnchorMax": "0.94 0.9",
    "OffsetMin": "0 0",
    "OffsetMax": "64 64"
  },
  "Custom Status Framework Settings": {
    "Popup Attack Indicator": true,
    "Persistent Status For Owners": true,
    "Persistent Status For Non Owners": false,
    "Popup Status When Hammer Equipped": true
  },
  "Simple Status Settings": {
    "Text Value": "duration",
    "Always Show For Owners": false,
    "Always Show For Non Owners": false,
    "Show When Holding Hammer": true,
    "Show When Attacking": true,
    "Show Balance Bleed When Attacking": true
  },
  "Notify Settings": {
    "Protected Type": 0,
    "Unprotected Type": 0
  },
  "Plugin Integration": {
    "Economics": false,
    "Server Rewards": false,
    "Custom Status Framework": false,
    "Simple Status": false,
    "Notify": false,
    "Clans": false,
    "Abandoned Bases": false,
    "Skill Tree": false
  },
  "Version": {
    "Major": 3,
    "Minor": 4,
    "Patch": 18
  }
}

Mr01sam

Posted

Hey I'm not sure why your lag spike it so massive. You could try and disable the Indicator. How many players do you have on your server?

2.1m

Downloads

Total number of downloads.

9.9k

Customers

Total customers served.

144.6k

Files Sold

Total number of files sold.

3.1m

Payments Processed

Total payments processed.

×
×
  • 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.