bergerhealer / TrainCarts

Minecarts redefined
MIT License
206 stars 64 forks source link

Rate Limiting for new train spawns #457

Closed Wild1145 closed 2 months ago

Wild1145 commented 2 years ago

Feature Request

Description

We would like to have a configuration option in the plugin settings to limit the number of trains that can be spawned in a given time window (Say per 60 second interval). This will allow us to limit the number of trains that can be spawned and cause significant lag when players can spawn their own trains.

bergerkiller commented 2 months ago

Spawn limits are now (for a little while now) a thing. Configurable per saved train, but also global limits are configurable in config.yml.

https://wiki.traincarts.net/p/TrainCarts/Signs/Spawner#Spawn_Limit https://wiki.traincarts.net/p/TrainCarts/Lag#Saved_Train_Spawn_Limits