Simple Minecraft plugin for Paper/Spigot that gives players a spyglass in their off hand for zooming.
- All configuration is read from
config.yml /zoomputs a spyglass (minecraft:spyglass) in your off hand- Native spyglass zoom works when held and right-clicked
- Permission:
szoom.use(default: op)
- Java 21 (LTS)
- Paper or Spigot server (tested with
api-version: "1.21") - Maven 3.x (to build)
From the project root, run:
mvn clean packageThe plugin JAR will be generated at:
target/SimpleZoom-1.0.0.jar
- Copy the built JAR to your Paper/Spigot server
pluginsfolder - Start or restart the server
- The
config.ymlfile will be created automatically inplugins/SimpleZoom/if it does not exist
| Command | Description |
|---|---|
/zoom |
Puts a spyglass in your off hand |
/zoom reload |
Reloads the configuration |
- szoom.use: Required to use
/zoom(default: op) - szoom.reload: Required to use
/zoom reload(default: op)
- prefix: Prefix for plugin messages
- remove-on-move: Remove spyglass when player moves (default: true)
- remove-on-hotbar-switch: Remove spyglass when player switches hotbar slot (default: true)
- remove-on-stop-zoom: Remove spyglass when player releases right-click / stops zooming (default: false)
- messages: no-permission, player-only, reload-success, reload-no-permission
Important: At least one removal option must be enabled, or the plugin will not load. When the spyglass is removed, the previous off-hand item is restored with all its data (enchantments, custom name, shield design, etc.).