Question about vehicle spawn pointsSolved
Hi! I've set up two tugboats spawn points in different ports. I'd like to clarify: after a server restart, if players have already captured a ship, will the old ships remain and the new ones appear at these points?

I'm trying to figure out how many ships will be in the world at any one time. Is there a limit or a feature to remove old ships when the server restarts? Thanks!

There is currently no limit. Once a vehicle gets a few meters away from the spawn point, it effectively detaches and becomes permanent.

If you would like to see a limit, can you add some details on what parameters you would like to control? Since profiles can be enabled and disabled, and spawn groups can be created and deleted, I feel like there should always be a configurable global maximum you can configure like "tugboat": 3, and the plugin simply needs to keep track of those in order to allow additional spawns.

Merged post

I pushed some experimental changes to the plugin's GitHub repository for you to test.
https://github.com/WheteThunger/MonumentAddons

There is a new config section titled "Spawn group global population limit by prefab". Read the docs on how to use it.

Addon defaults": {
"Spawn group defaults": {
"MaxPopulation": 1,
"SpawnPerTickMin": 1,
"SpawnPerTickMax": 1,

Merged post

OR IS THERE ANOTHER PLUGIN?


Merged post

And another question: can the plugin transfer already spawned vehicles back to the spawn point before restarting the plugin after a foot restart?

Did you download and install the version from GitHub? The new setting is NOT under "Addon defaults" by the way, it's above that.

About transporting the vehicles, I don't understand the use case. If you are talking about a one time change for this upgrade, no that's impossible because the plugin doesn't track the vehicles that have already moved away from their spawn points, they have been essentially forgotten. If you are suggesting a behavior change going forward, it would be problematic to the player experience to return a vehicle that a player is using to the spawn point every time the plugin reloads.

I was thinking about installing this version today.


Merged post

They tell me that after a reboot the bug disappears....

What bug are you talking about? You did not mention a bug before.

After installing the new version of the plugin, the old Tugboats were deleted (and new empty ones appeared).

It sounds like you probably spawned the tugboats using the "maspawn" command which is not appropriate for vehicles. You should use spawn groups/points instead. The plugin should already have printed a warning about this when you used "maspawn".

Yes, that's exactly how I created it. Everything went fine, I didn't see any warnings.