-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathconfig.lua
23 lines (17 loc) · 1.11 KB
/
config.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Config = {
-- repopulate the map with vehicles that were lost when the server rebooted
populateOnReboot = true,
-- how close a player needs to get to a deleted persistent vehicle before it is respawned
respawnDistance = 400, -- 300+
-- don't respawn a vehicle if it gets deleted after it is destroyed
forgetOnDestroyed = true, -- not working due to onesync bug!!
-- enable debugging to see server console messages; can be toggled with server command: pv-toggle-debugging
debug = false,
}
-- This experimental feature increases the total number of vehicles you can spawn on the map at any one time.
-- It works by removing vehicles no one is close to. Persistent vehicles will then respawn when someone is closeby.
-- this will remove distance, which is an added benefit as it will remove ghost vehicles.
Config.entityManagement = false
-- the distance a player needs to be from the Config.respawnDistance for a vehicle's entity to be deleted
local deletionDistance = 100 -- (100-1000)
Config.entityManagementDistance = Config.respawnDistance + deletionDistance -- must be equal more than 350!