⏳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

Goal
What to Adjust

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