β³Plant Lifespan & Anti-Spam Settings
This guide explains how to prevent spam planting, overcrowding, and neglected plants in the Dynyx Weed Growing System. These settings ensure server performance stays optimized while keeping gameplay balanced.
πͺ¦ Neglected Plant Lifespan
Plants that are not properly watered or fertilized for too long will automatically be deleted.
Controlled by:
Config.PlantLifetime = 180 -- In minutes
π± Example: If a plant has less than the required water or fertilizer for over 180 minutes, it will be removed automatically.
Why it matters:
Encourages players to care for their plants
Prevents inactive players from clogging the world with dead crops
π« Plant Spam Control
To prevent players from placing plants too close to each other or flooding the map with dozens at once, use these settings:
1οΈβ£ Minimum Distance Between Plants
Config.MinDistanceBetweenPlants = 2.0
This requires at least 2.0 units of distance between one plant and another.
Set higher (e.g., 3.0 or 4.0) if you want more realistic spacing.
2οΈβ£ Max Plants Per Player
Config.MaxPlantLimit = 15
This limits how many active weed plants a player can have planted at the same time.
If a player tries to plant more than this, theyβll get a notification and be blocked.
π§ Tips for Balancing
Allow casual growing
Increase MaxPlantLimit
to 20+
Prevent stacking in interiors
Increase MinDistanceBetweenPlants
Make survival harder
Reduce PlantLifetime
to 60 or 90 minutes
Want longer sessions?
Increase PlantLifetime
to 240+ minutes (4 hours)
Last updated