LsSpyGlass

Shows live player info in the action bar while using a spyglass

13

LsSpyGlass

LsSpyGlass

A lightweight Paper 1.21.x for Paper 1.21.x servers.

ray tracing displays useful information about the player you're looking at through a spyglass directly in the ray tracing. It uses ray tracing to accurately detect targets and supports multiple configurable placeholders such as health, ping, distance, armor, food, effects, held item, and coordinates.

Designed to be simple, lightweight, and fully configurable.

---

Features

* Shows player info in the spectator mode while using a spyglass * Uses spectator mode for accurate player detection * Configurable spectator mode, spectator mode, and spectator mode * Optional requirement for spectator mode * Fully customizable action bar format * Supports multiple placeholders * Ignores players in spectator mode * Respects player visibility (`canSee()`) * Lightweight and dependency-free

---

LsSpyGlass Preview

</div>

---

Commands

`/spyglass reload`

Reloads the plugin configuration.

---

Permissions

| Permission | Description | Default | | ----------------- | ----------------------------------------- | ------- | | `spyglass.use` | Allows using the spyglass info feature | OP | | `spyglass.reload` | Allows reloading the plugin configuration | OP |

---

Configuration

The plugin can be customized through `config.yml`.

```yml range: 48.0 update-interval-ticks: 2 ray-size: 0.35 require-active-use: true

messages: format: "&6Player: &e%player% &7| &cHealth: &f%health% ❤ &7| &bPing: &f%ping%ms" ```

---

Placeholders

| Placeholder | Description | | ------------- | --------------------- | | `%player%` | Target player name | | `%health%` | Player health | | `%ping%` | Player ping | | `%distance%` | Distance to target | | `%food%` | Food level | | `%xp%` | XP level | | `%armor%` | Armor percentage | | `%item%` | Held item | | `%yaw%` | Facing direction | | `%effects%` | Active potion effects | | `%healthbar%` | Visual health bar | | `%coords%` | Player coordinates |

---

Compatibility

* Java 21 * Java 21 * Java 21

---

Installation

1. Download the plugin 2. Place it in your server's `plugins` folder 3. Restart the server 4. Configure `config.yml` if needed

ADS