> ## 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.

# Anti-Xray

> Sembunyikan blok berharga dari cheat x-ray.

> [!NOTE]

**X-Ray** adalah cheat yang memungkinkan pemain melihat blok berharga (diamond, emas, dll) menembus dinding. Di server Java, anti-xray bisa diaktifkan untuk menutupi blok berharga dari pandangan client cheat.

## Mengaktifkan Anti-Xray

Anti-xray diatur di file `server.properties` (atau lewat `paper-world-defaults.yml` jika memakai Paper/Purpur).

### Via server.properties

1. Buka **Files** → `server.properties`.
2. Cari dan atur baris berikut:
   properties

```
anti-xray-enabled=true
```

3. Simpan dan **Restart** server.

### Via Paper/Purpur (Lebih Kuat)

Buka file `config/paper-world-defaults.yml`, cari bagian `anti-xray`:

yaml

```
anti-xray:
  enabled: true
  engine-mode: 2
  hidden-blocks:
    - diamond_ore
    - deepslate_diamond_ore
    - emerald_ore
    - gold_ore
    - ancient_debris
  replacement-blocks:
    - stone
    - deepslate
```

Simpan lalu restart.

## Penjelasan Engine Mode

| Mode | Perilaku |
| - | - |
| 1 | Ringan, cocok untuk server kecil. |
| 2 | Menyembunyikan lebih teliti, sedikit lebih berat. |
| 3 | Paling agresif, memengaruhi performa. |

> [!TIP]
>
> Mulai dari `engine-mode: 2`. Naikkan hanya jika masih banyak yang lolos.

## Catatan

> [!WARNING]
>
> Anti-xray tidak 100% menghilangkan x-ray (cheat berbasis mod tertentu masih bisa lolos). Tambahkan plugin anti-cheat untuk perlindungan berlapis.

## Butuh Bantuan?

> [!NOTE]
>
> Hubungi SupportBuka tiket atau tanyakan langsung di Discord Tinnzstore.


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