> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tinnzstore.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Batasi Mob Spawn

> Kurangi lag akibat mob yang menumpuk.

Jumlah mob yang menumpuk di server adalah salah satu penyebab **lag** dan penurunan TPS. Membatasi spawn mob membantu menjaga performa tetap stabil.

## Pengaturan di server.properties

| Kunci | Fungsi | Saran |
| - | - | - |
| `spawn-limits.monster` | Jumlah maksimal monster per pemain | `70` |
| `spawn-limits.animals` | Jumlah maksimal hewan per pemain | `10` |
| `spawn-limits.water-animals` | Jumlah maksimal hewan air | `5` |
| `spawn-limits.ambient` | Jumlah maksimal mob ambient (kelelawar) | `15` |
| `spawn-limits.water-ambient` | Jumlah mob air ambient | `5` |

Cara mengubah:

1. Buka **Files** → `server.properties`.
2. Sesuaikan nilai di atas.
3. Simpan dan **Restart** server.

Contoh:

properties

````
spawn-limits.monster=70
spawn-limits.animals=10
spawn-limits.water-animals=5
spawn-limits.ambient=15```txt

## Paper/Purpur — Reduce Tick Rates

Jika memakai Paper/Purpur, buka `config/paper-world-defaults.yml` dan aktifkan **mob-spawner-tick-rate** atau atur `tick-rates` untuk mob tertentu agar lebih jarang diproses.

## Memusnahkan Mob Berlebih

Untuk membersihkan mob yang sudah menumpuk, jalankan di **Console**:
````

/kill @e\[type=!player]

\`

```callout-tip theme={null}
Batasi juga **entity count** dengan plugin seperti *ClearLag* untuk pembersihan otomatis terjadwal.
`

## Tanda Mob Berlebih

- TPS turun di bawah 20 (cek dengan `/tps`).
- Konsol menampilkan peringatan *"Can't keep up!"*.
- Penggunaan CPU naik saat banyak pemain online.

Lihat juga panduan [Optimasi Lag](https://docs.tinnzstore.com/optimasi-lag-anti-lag-guide.md) untuk tuning menyeluruh.

## Butuh Bantuan?

<Note>
Hubungi SupportBuka tiket atau tanyakan langsung di Discord Tinnzstore.
</Note>
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.