After manually generating 5 bases, maintenance events will no longer be automatically generatedSolved

Use the paid version. Restarting the server, updating the plug-in, can not be solved. The configuration setting is to always generate a maximum of 7.

This is my configuration file

{
  "Settings": {
    "Raid Management": {
      "Advanced Despawn Settings": {
        "Delay Between Entity Death While Despawning Base": 0.002,
        "Teleport Entities Underworld Before Despawning": false,
        "Use Alternate Despawn Routine": false
      },
      "Eject Mounts": {
        "All Controlled Mounts": false,
        "Boats": false,
        "Cars (Basic)": false,
        "Cars (Modular)": true,
        "Chinook": true,
        "Horses": false,
        "MiniCopters": true,
        "Pianos": true,
        "Scrap Transport Helicopters": true
      },
      "Max Amount Allowed To Automatically Spawn Per Difficulty (0 = infinite, -1 = disabled)": {
        "Allow Max Amount Increase From Difficulties Disabled On A Specific Day Of The Week": false,
        "Easy": 0,
        "Medium": 0,
        "Hard": 0,
        "Expert": 0,
        "Nightmare": 0
      },
      "Chance To Automatically Spawn Each Difficulty (-1 = ignore)": {
        "Easy": -1.0,
        "Medium": -1.0,
        "Hard": -1.0,
        "Expert": -1.0,
        "Nightmare": -1.0,
        "Use Cumulative Probability": true
      },
      "Player Lockouts (0 = ignore)": {
        "Time Between Raids In Minutes (Easy)": 0.0,
        "Time Between Raids In Minutes (Medium)": 0.0,
        "Time Between Raids In Minutes (Hard)": 0.0,
        "Time Between Raids In Minutes (Expert)": 0.0,
        "Time Between Raids In Minutes (Nightmare)": 0.0,
        "Block Clans From Owning More Than One Raid": true,
        "Block Friends From Owning More Than One Raid": true,
        "Block Teams From Owning More Than One Raid": true
      },
      "Easy Raids Can Spawn On": {
        "Monday": true,
        "Tuesday": true,
        "Wednesday": true,
        "Thursday": true,
        "Friday": true,
        "Saturday": true,
        "Sunday": true
      },
      "Medium Raids Can Spawn On": {
        "Monday": true,
        "Tuesday": true,
        "Wednesday": true,
        "Thursday": true,
        "Friday": true,
        "Saturday": true,
        "Sunday": true
      },
      "Hard Raids Can Spawn On": {
        "Monday": true,
        "Tuesday": true,
        "Wednesday": true,
        "Thursday": true,
        "Friday": true,
        "Saturday": true,
        "Sunday": true
      },
      "Expert Raids Can Spawn On": {
        "Monday": true,
        "Tuesday": true,
        "Wednesday": true,
        "Thursday": true,
        "Friday": true,
        "Saturday": true,
        "Sunday": true
      },
      "Nightmare Raids Can Spawn On": {
        "Monday": true,
        "Tuesday": true,
        "Wednesday": true,
        "Thursday": true,
        "Friday": true,
        "Saturday": true,
        "Sunday": true
      },
      "Additional Containers To Include As Boxes": [],
      "Difficulty Colors (Border)": {
        "Easy": "000000",
        "Medium": "000000",
        "Hard": "000000",
        "Expert": "000000",
        "Nightmare": "000000"
      },
      "Difficulty Colors (Inner)": {
        "Easy": "00FF00",
        "Medium": "FFEB04",
        "Hard": "FF0000",
        "Expert": "0000FF",
        "Nightmare": "000000"
      },
      "Anti Terrain Clipping Distance (Advanced Users Only)": 50.0,
      "Allow Teleport": false,
      "Allow Cupboard Loot To Drop": true,
      "Allow Players To Build": true,
      "Allow Players To Use Ladders": true,
      "Allow Player Bags To Be Lootable At PVP Bases": false,
      "Allow Player Bags To Be Lootable At PVE Bases": false,
      "Allow Traps To Drop Loot": false,
      "Allow Players To Loot Traps": false,
      "Allow Raid Bases On Roads": false,
      "Allow Raid Bases On Rivers": true,
      "Allow Raid Bases On Building Topology": true,
      "Allow Vending Machines To Broadcast": false,
      "Allow Bases To Float Above Water": false,
      "Prevent Bases From Floating Above Water By Also Checking Surrounding Area": false,
      "Maximum Water Depth Level Used For Float Above Water Option": 1.0,
      "Backpacks Can Be Opened At PVE Bases": true,
      "Backpacks Can Be Opened At PVP Bases": true,
      "Backpacks Drop At PVE Bases": false,
      "Backpacks Drop At PVP Bases": false,
      "Block Mounted Damage To Bases And Players": false,
      "Block RestoreUponDeath Plugin For PVP Bases": false,
      "Block RestoreUponDeath Plugin For PVE Bases": false,
      "Bypass Lock Treasure To First Attacker For PVE Bases": false,
      "Bypass Lock Treasure To First Attacker For PVP Bases": false,
      "Despawn Spawned Mounts": true,
      "Do Not Destroy Player Built Deployables": true,
      "Do Not Destroy Player Built Structures": true,
      "Divide Rewards Among All Raiders": true,
      "Draw Corpse Time (Seconds)": 300.0,
      "Eject Sleepers Before Spawning Base": true,
      "Extra Distance To Spawn From Monuments": 0.0,
      "Maximum Elevation Level": 2.5,
      "Move Cookables Into Ovens": true,
      "Move Food Into BBQ Or Fridge": true,
      "Move Resources Into Tool Cupboard": true,
      "Move Items Into Lockers": true,
      "Lock Treasure To First Attacker": true,
      "Lock Treasure Max Inactive Time (Minutes)": 20.0,
      "Assign Lockout When Lock Treasure Max Inactive Time Expires": false,
      "Minutes Until Despawn After Looting (min: 1)": 30,
      "Minutes Until Despawn After Inactive (0 = disabled)": 45,
      "Minutes Until Despawn After Inactive Resets When Damaged": true,
      "Mounts Can Take Damage From Players": false,
      "Mounts Can Take Damage From SamSites": true,
      "Player Cupboard Detection Radius": 75.0,
      "Players With PVP Delay Can Damage Anything Inside Zone": false,
      "Players With PVP Delay Can Damage Other Players With PVP Delay Anywhere": false,
      "PVP Delay Between Zone Hopping": 15.0,
      "Prevent Fire From Spreading": true,
      "Prevent Players From Hogging Raids": true,
      "Require Cupboard To Be Looted Before Despawning": true,
      "Destroying The Cupboard Completes The Raid": true,
      "Require All Bases To Spawn Before Respawning An Existing Base": false,
      "Turn Lights On At Night": true,
      "Turn Lights On Indefinitely": false,
      "Traps And Turrets Ignore Users Using NOCLIP": false,
      "Use Random Codes On Code Locks": true,
      "Wait To Start Despawn Timer When Base Takes Damage From Player": false
    },
    "Map Markers": {
      "Marker Name": "★bases★",
      "Radius": 0.25,
      "Use Vending Map Marker": true,
      "Use Explosion Map Marker": false,
      "Create Markers For Buyable Events": true,
      "Create Markers For Maintained Events": true,
      "Create Markers For Scheduled Events": true,
      "Create Markers For Manual Events": true
    },
    "Buyable Events": {
      "Cooldowns (0 = No Cooldown)": {
        "VIP Permission: raidablebases.vipcooldown": 300.0,
        "Admin Permission: raidablebases.allow": 0.0,
        "Server Admins": 0.0,
        "Normal Users": 600.0
      },
      "Refunds": {
        "Refund Despawned Bases": false,
        "Block Refund If Base Is Damaged": true,
        "Refund Percentage": 100.0,
        "Refund Resets Cooldown Timer": false
      },
      "Allow Players To Buy PVP Raids": false,
      "Convert PVE To PVP": false,
      "Convert PVP To PVE": false,
      "Distance To Spawn Bought Raids From Player": 500.0,
      "Ignore Safe Checks": false,
      "Ignore Player Entities At Custom Spawn Locations": false,
      "Lock Raid To Buyer And Friends": true,
      "Max Buyable Events": 1,
      "Reset Purchased Owner After X Minutes Offline": 10.0,
      "Spawn Bases X Distance Apart": 100.0,
      "Spawns Database File (Optional)": "none"
    },
    "Maintained Events": {
      "Always Maintain Max Events": true,
      "Chance To Randomly Spawn PVP Bases (0 = Ignore Setting)": 0.0,
      "Convert PVE To PVP": false,
      "Convert PVP To PVE": true,
      "Include PVE Bases": true,
      "Include PVP Bases": true,
      "Ignore Safe Checks": false,
      "Ignore Player Entities At Custom Spawn Locations": false,
      "Minimum Required Players Online": 1,
      "Max Maintained Events": 7,
      "Spawn Bases X Distance Apart": 100.0,
      "Spawns Database File (Optional)": "none",
      "Time To Wait Between Spawns": 15.0
    },
    "Manual Events": {
      "Convert PVE To PVP": false,
      "Convert PVP To PVE": true,
      "Max Manual Events": 1,
      "Spawn Bases X Distance Apart": 100.0,
      "Spawns Database File (Optional)": "none"
    },
    "Scheduled Events": {
      "Enabled": false,
      "Chance To Randomly Spawn PVP Bases (0 = Ignore Setting)": 0.0,
      "Convert PVE To PVP": false,
      "Convert PVP To PVE": true,
      "Every Min Seconds": 3600.0,
      "Every Max Seconds": 7200.0,
      "Include PVE Bases": true,
      "Include PVP Bases": true,
      "Ignore Safe Checks": false,
      "Ignore Player Entities At Custom Spawn Locations": false,
      "Max Scheduled Events": 1,
      "Max To Spawn At Once (0 = Use Max Scheduled Events Amount)": 0,
      "Minimum Required Players Online": 1,
      "Spawn Bases X Distance Apart": 100.0,
      "Spawns Database File (Optional)": "none",
      "Time To Wait Between Spawns": 15.0
    },
    "Economics Buy Raid Costs (0 = disabled)": {
      "Easy": 0.0,
      "Medium": 0.0,
      "Hard": 0.0,
      "Expert": 0.0,
      "Nightmare": 0.0
    },
    "ServerRewards Buy Raid Costs (0 = disabled)": {
      "Easy": 0,
      "Medium": 0,
      "Hard": 0,
      "Expert": 0,
      "Nightmare": 0
    },
    "Custom Buy Raid Costs": {
      "Easy": {
        "Enabled": false,
        "Item Shortname": "scrap",
        "Amount": 50,
        "Skin": 0
      },
      "Medium": {
        "Enabled": false,
        "Item Shortname": "scrap",
        "Amount": 100,
        "Skin": 0
      },
      "Hard": {
        "Enabled": false,
        "Item Shortname": "scrap",
        "Amount": 150,
        "Skin": 0
      },
      "Expert": {
        "Enabled": false,
        "Item Shortname": "scrap",
        "Amount": 200,
        "Skin": 0
      },
      "Nightmare": {
        "Enabled": false,
        "Item Shortname": "scrap",
        "Amount": 250,
        "Skin": 0
      }
    },
    "Allowed Zone Manager Zones": [
      "pvp",
      "99999999"
    ],
    "Blacklisted Commands": [
      "remove",
      "up",
      "down"
    ],
    "Amount Of Entities To Undo Per Batch (1 = Slowest But Better Performance)": 5,
    "Automatically Teleport Admins To Their Map Marker Positions": true,
    "Block Wizardry Plugin At Events": false,
    "Chat Steam64ID": 0,
    "Expansion Mode (Dangerous Treasures)": false,
    "Remove Admins From Raiders List": false,
    "Show X Z Coordinates": false,
    "Buy Raid Command": "buyraid",
    "Event Command": "rbe",
    "Hunter Command": "rb",
    "Server Console Command": "rbevent"
  },
  "Event Messages": {
    "Announce Raid Unlocked": false,
    "Announce Buy Base Messages": false,
    "Announce Thief Message": true,
    "Announce PVE/PVP Enter/Exit Messages": true,
    "Show Destroy Warning": true,
    "Show Opened Message": true,
    "Show Opened Message For Paid Bases": true,
    "Show Prefix": true,
    "Notify Plugin - Type (-1 = disabled)": -1,
    "Send Messages To Player": true
  },
  "GUIAnnouncements": {
    "Enabled": false,
    "Banner Tint Color": "Grey",
    "Maximum Distance": 300.0,
    "Text Color": "White"
  },
  "Lusty Map": {
    "Enabled": false,
    "Icon File": "http://i.imgur.com/XoEMTJj.png",
    "Icon Name": "rbevent",
    "Icon Rotation": 0.0
  },
  "Ranked Ladder": {
    "Award Top X Players On Wipe": 3,
    "Enabled": true,
    "Show Top X Ladder": 10,
    "Assign Rank After X Completions": {
      "Easy": 0,
      "Medium": 0,
      "Hard": 0,
      "Expert": 0,
      "Nightmare": 0,
      "Assign To Owner Of Raid Only": false
    },
    "Difficulty Points": {
      "Easy": 1,
      "Medium": 2,
      "Hard": 3,
      "Expert": 4,
      "Nightmare": 5
    }
  },
  "Skins": {
    "Boxes": {
      "Include Workshop Skins": true,
      "Preset Skin": 0,
      "Use Random Skin": true
    },
    "Loot Items": {
      "Include Workshop Skins": true,
      "Use Random Skin": true
    },
    "Deployables": {
      "Partial Names": [
        "door",
        "barricade",
        "chair",
        "fridge",
        "furnace",
        "locker",
        "reactivetarget",
        "rug",
        "sleepingbag",
        "table",
        "vendingmachine",
        "waterpurifier",
        "skullspikes",
        "skulltrophy",
        "summer_dlc",
        "sled"
      ],
      "Include Workshop Skins": true,
      "Use Random Skin": true,
      "Skin Everything": true
    },
    "Randomize Npc Item Skins": true,
    "Ignore If Skinned Already": true
  },
  "Treasure": {
    "Resources Not Moved To Cupboards": [
      "skull.human",
      "battery.small",
      "bone.fragments",
      "can.beans.empty",
      "can.tuna.empty",
      "water.salt",
      "water",
      "skull.wolf"
    ],
    "Use Day Of Week Loot": false,
    "Do Not Duplicate Base Loot": false,
    "Do Not Duplicate Difficulty Loot": false,
    "Do Not Duplicate Default Loot": false,
    "Use Stack Size Limit For Spawning Items": false
  },
  "TruePVE": {
    "Allow PVP Server-Wide During Events": false
  },
  "UI": {
    "Buyable UI": {
      "Enabled": true,
      "Anchor Min": "0.522 0.136",
      "Anchor Max": "0.639 0.372",
      "Panel Color": "#000000",
      "Panel Alpha": 0.0,
      "Button Alpha": 1.0,
      "Text Color": "#FFFFFF",
      "Use Contrast Colors For Text Color": false,
      "Use Difficulty Colors For Buttons": false,
      "X Button Color": "#497CAF",
      "Easy Button Color": "#497CAF",
      "Medium Button Color": "#497CAF",
      "Hard Button Color": "#497CAF",
      "Expert Button Color": "#497CAF",
      "Nightmare Button Color": "#497CAF"
    },
    "Lockouts": {
      "Enabled": true,
      "Easy Anchor Min": "0.838 0.285",
      "Easy Anchor Max": "0.883 0.320",
      "Medium Anchor Min": "0.893 0.285",
      "Medium Anchor Max": "0.936 0.320",
      "Hard Anchor Min": "0.946 0.285",
      "Hard Anchor Max": "0.986 0.320",
      "Expert Anchor Min": "0.838 0.325",
      "Expert Anchor Max": "0.883 0.365",
      "Nightmare Anchor Min": "0.893 0.325",
      "Nightmare Anchor Max": "0.936 0.365",
      "Panel Alpha": 1.0
    },
    "Enabled": true,
    "Anchor Min": "0.838 0.249",
    "Anchor Max": "0.986 0.284",
    "Font Size": 18,
    "Panel Alpha": 1.0,
    "Panel Color": "#000000",
    "PVP Color": "#FF0000",
    "PVE Color": "#008000",
    "Show Containers Left": false,
    "Show Time Left": true
  },
  "Weapons": {
    "Infinite Ammo": {
      "AutoTurret": true,
      "FlameTurret": true,
      "FogMachine": true,
      "GunTrap": true,
      "SamSite": true
    },
    "Ammo": {
      "AutoTurret": 256,
      "FlameTurret": 256,
      "FogMachine": 5,
      "GunTrap": 128,
      "SamSite": 24
    },
    "Tesla Coil": {
      "Requires A Power Source": false,
      "Max Discharge Self Damage Seconds (0 = None, 120 = Rust default)": 0.0,
      "Max Damage Output": 35.0
    },
    "Fog Machine Allows Motion Toggle": true,
    "Fog Machine Requires A Power Source": false,
    "SamSite Repairs Every X Minutes (0.0 = disabled)": 5.0,
    "SamSite Range (350.0 = Rust default)": 75.0,
    "Test Generator Power": 100.0
  }
}​

hi, post all messages shown when plugin loads

 Unloaded plugin Raidable Bases v2.1.5 by nivex
 Calling 'OnTick' on 'FurnaceSplitter v2.2.7' took 143ms
 RaidableBases was compiled successfully in 2216ms
Loaded 184 items from RaidableBases\Difficulty_Loot\Easy
Loaded 199 items from RaidableBases\Difficulty_Loot\Medium
Loaded 211 items from RaidableBases\Difficulty_Loot\Hard
Loaded 193 items from RaidableBases\Difficulty_Loot\Expert
Loaded 213 items from RaidableBases\Difficulty_Loot\Nightmare
Loaded 26 items from RaidableBases\Default_Loot
Loaded 4 items from RaidableBases\Base_Loot\Easy Bases
Loaded 4 items from RaidableBases\Base_Loot\Expert Bases
Loaded 4 items from RaidableBases\Base_Loot\Hard Bases
Loaded 4 items from RaidableBases\Base_Loot\Medium Bases
Loaded 4 items from RaidableBases\Base_Loot\Nightmare Bases
Calling 'OnServerInitialized' on 'RaidableBases v2.1.5' took 211ms
Loaded plugin Raidable Bases v2.1.5 by nivex


Merged post

After the plug-in is loaded successfully, the maximum 7 bases I set will be generated, but as time goes by, the number will become less and less. Yesterday I saw that only 2 bases were generated.

ok, you need to use rbe debug when this happens and wait for DEBUG messages. if you don't see any DEBUG messages then use it before the issue happens

尼维

好吧,你需要用rbe debug当这种情况发生时,等待调试消息。如果您没有看到任何调试消息,那么在问题发生之前使用它。

 [Raidable Bases] DEBUG: Blocked by Player Cupboard Detection Radius (1155.4, 100.9, 51.5)
[Raidable Bases] DEBUG: Maintained coroutine is waiting for 1 second.
 [Raidable Bases] DEBUG: Blocked by Player Cupboard Detection Radius (1053.6, 2.5, -1443.5)
 [Raidable Bases] DEBUG: Blocked by Player Cupboard Detection Radius (1053.6, 2.5, -1443.5)
 [Raidable Bases] DEBUG: Maintained coroutine is waiting for 1 second.
 [Raidable Bases] DEBUG: Blocked by Player Cupboard Detection Radius (-1021.9, 13.8, -1747.9)
 [Raidable Bases] DEBUG: Blocked by Player Cupboard Detection Radius (-1021.9, 13.8, -1747.9)
 [Raidable Bases] DEBUG: Maintained coroutine is waiting for 1 second.

The display is blocked by the player's TC, but yesterday I have dismantled a lot of TC on the map. There are many locations where bases can be generated, but they have not yet been generated.

well no, if there were many locations for bases to be generated then it would have generated them. the debug shows the issue very clearly.

any location that cannot be used are removed, and are shown on the grid as follows:

red X = generic - currently occupied
cyan C = temporary - a player, furnace is too close, player corpse or backpack, base, mining quarry, or other entity is too close
yellow TC = privilege - a player cupboard is too close
blue W = water - water is too deep
green X - potential location for a base depending on its Protection Radius - this is NOT a guarentee that a base can spawn there

you should verify that the Player Cupboard Detection radius is at least 75 and no higher than 150.

nivex

well no, if there were many locations for bases to be generated then it would have generated them. the debug shows the issue very clearly.

any location that cannot be used are removed, and are shown on the grid as follows:

red X = generic - currently occupied
cyan C = temporary - a player, furnace is too close, player corpse or backpack, base, mining quarry, or other entity is too close
yellow TC = privilege - a player cupboard is too close
blue W = water - water is too deep
green X - potential location for a base depending on its Protection Radius - this is NOT a guarentee that a base can spawn there

you should verify that the Player Cupboard Detection radius is at least 75 and no higher than 150.

I changed a map to solve it, and now it can be generated normally, it may be that the terrain of the previous map has a problem. Thanks for your answer



Merged post

I want to ask another question. Can I set a certain area so that the base can only be generated in this area?

you're welcome! many servers opt to create their own maps, editing proc gen maps to add more flat land, or buying suitable maps. most maps these days do not have the amount of flat land they had even a year ago, and are therefore horrible maps to be used with this plugin :/

yes, you sure can. use Spawns Database File from the Custom Spawns plugin and create your own spawn points

"Spawns Database File (Optional)": "none",​

there are special options just for this feature as well...

"Ignore Safe Checks": false,​

this should only be used if you are certain it can be used. it will ignore all of these checks:

1) Is land flat
2) Is it too close to another base
3) Is it too far from a buyer
4) Is a player TC close
5) Is a player too close
6) Is it in a safe zone
7) Is a map prefab too close
8) Is an oven furnace too close
9) Is corpse or backpack too close
10) Is a non-player owned entity too close
10) Is a mining quarry too close
11) Is another entity too close
12) Is any player entity too close

so obviously, the above option should only be used in areas where players cannot build anything

"Ignore Player Entities At Custom Spawn Locations": false,

this will ignore all area checks for entities owned by players. it's the safest option and is recommended for custom spawns

nivex

you're welcome! many servers opt to create their own maps, editing proc gen maps to add more flat land, or buying suitable maps. most maps these days do not have the amount of flat land they had even a year ago, and are therefore horrible maps to be used with this plugin :/

yes, you sure can. use Spawns Database File from the Custom Spawns plugin and create your own spawn points

"Spawns Database File (Optional)": "none",​

there are special options just for this feature as well...

"Ignore Safe Checks": false,​

this should only be used if you are certain it can be used. it will ignore all of these checks:

1) Is land flat
2) Is it too close to another base
3) Is it too far from a buyer
4) Is a player TC close
5) Is a player too close
6) Is it in a safe zone
7) Is a map prefab too close
8) Is an oven furnace too close
9) Is corpse or backpack too close
10) Is a non-player owned entity too close
10) Is a mining quarry too close
11) Is another entity too close
12) Is any player entity too close

so obviously, the above option should only be used in areas where players cannot build anything

"Ignore Player Entities At Custom Spawn Locations": false,

this will ignore all area checks for entities owned by players. it's the safest option and is recommended for custom spawns

Okay, thank you so much. I never knew what that option was for, now I know it!

no problem

Locked automatically