Minecraft offers a useful debug menu (F3) that allows anyone to easily see their coordinates in the world. This makes it easy to save points of interest and share locations with friends (or enemies).
However, not all multiplayer servers want coordinates to be so easily accessible.
/gamerule reducedDebugInfo can administratively hide coordinates from the F3 menu, but it is trivial for a player to add a client-side mod that shows them.
CoordinateOffset is a plugin for Spigot and Paper servers that modifies every coordinate in packets between the server and client. The player still sees the exact same world they would normally see. But no matter which mods they install, they cannot see their real coordinates.
Why?
This plugin isn't intended for all servers. Here are a few ideas that might make CoordinateOffset useful:
- Prevent metagaming: If you consider coordinate usage and sharing to be metagaming, this prevents it.
- Buff in-game items: Compasses, lodestones, recovery compasses, and maps are no longer outclassed by coordinates when those coordinates are inconsistent.
- Prevent coordinate leaks: If everyone sees different coordinates, players cannot derive each other's coordinates from an accidental leak in a screenshot.
- Guard the world seed: Any unknown offset makes seed-cracking tactics harder.
- Center the origin: Put the (0, 0) coordinate anywhere you'd like.
Features
- Fully-configurable, flexible methods of determining how to apply offsets
- Randomize offset when the player joins, dies, or changes world
- Match offsets to the player's position, so they see themselves near the world's origin
- Persist the same offset every time a player joins so that they don't notice coordinates changing
- Configure different offsets per-player, per-world, and with permissions
- Extensible API to flexibly get and set offsets
- (Beta) Compatible with ViaVersion, ViaBackwards, BungeeCord, Waterfall, and Velocity
Requirements and Installation
After ensuring that you meet the requirements, just grab the latest
release and drop it in your server's
plugins folder.
Configuration, Commands, and Permissions
Please see the
Readme and
Configuration Guide on GitHub for more details about how to configure and use the plugin.
Support
Credits
Special thanks to
Cavallium for developing
CoordinatesObfuscator, which CoordinateOffset is a fork of. CoordinateOffset's packet translation logic was heavily modeled after the work done by CoordinatesObfuscator.
Libraries used: