Mineuniverse
Log in Register
Plugins

SpecLock

Prevent spectator cheating on your serve, lock spectators to their own team, restrict their range, and auto-teleport them if they stray too far
by Qpso
Download Claim this project
15 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Admin Tools Anti-Griefing Tools Fixes General Mechanics

SpecLock

When a player is in Spectator Mode and belongs to a team, they can only spectate teammates, and they can only stay within a configurable block radius of them. Stray too far, try to fly off, or follow a teammate into another dimension, and you'll be snapped right back. Players with no team assigned are completely unrestricted.

Made to complement my Manhunt Plugin, or any scenario where you want spectators to still enjoy the spectating experience without being able to abuse it.


Features

  • Team-based spectator locking: spectators can only use the hotbar menu to teleport to players on their own team(mate)
  • Configurable radius: set the maximum distance a spectator can be from their teammates (default: 10 blocks)
  • Auto-teleport enforcement: checked every second; if a spectator wanders too far they are instantly snapped back to the nearest teammate
  • Cross-dimension follow: if a spectator's team(mate) moves to another dimension, the spectator is teleported with them
  • No restrictions for teamless players: players not assigned to any team are fully unrestricted in spectator mode
  • Persistent teams: teams and memberships survive server restarts

Commands

All commands require speclock.admin permission (usually just OP)

Command Description
/sl team_add <name> Create a new team
/sl team_remove <name> Delete a team and remove all its members
/sl add <player> <team> Add an online player to a team
/sl remove <player> <team> Remove an online player from a team
/sl reset Delete all teams and clear all memberships

Configuration

Found in plugins/SpecLock/config.yml after first launch:

# The maximum distance (in blocks) a spectator can be from their alive teammates.
max-distance: 10.0

Change max-distance to any value you like, then restart or reload the server.


Technical Details

Built for Paper 1.21.1 but probably compatible with Spigot and maybe Bukkit, message qpso on Discord for bugs or suggestions.

SpecLoc-1.0.jar
MC 1.21.2, 1.21, 1.21.3, 1.21.8, 1.21.4, 1.21.5, 1.21.5-Snapshot, 1.21.7, 1.21.1, 1.21.6, 1.21.9, 1.21.10, 1.21.11
Release 2026-04-12 Get

More from Qpso

ImposterManhunt
149

You Might Also Like

AdBolt Advertising Network
Make money from your Minecraft server by running ads!
9,992
Mineload
Mineload
9,978
BeastTP
BeastTP v1.0 - Teleportation Made Easy! -[Permissions][1317]
9,966
RegionManager
generate regions with just one command!
9,950
TimeKeeper
Keep the Server-Playtime per Day
9,948
SimpleAdmin
simple way to ban/kick unwanted players from your server
9,945