Compatibility
Minecraft: Java Edition
1.21–1.21.4
1.20.x
1.19.x
1.18.x
1.17.x
1.16.x
Platforms
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Licensed LGPL-3.0-only
Published last month
Updated last month
GPS Plugin
A Bukkit/Spigot Minecraft plugin that allows players to create a GPS compass to navigate to specific coordinates. Players can reroute the compass a limited number of times before it breaks.
Features
- Players can set a GPS compass pointing to specified coordinates using
/gps <x> <z>
. - The compass can be rerouted up to a configurable number of times using
/reroute <x> <z>
. - The number of reroutes left is displayed in the item lore.
- The compass breaks after reaching the reroute limit, playing an item break sound.
- Requires players to have
gps.use
permission to use the commands. - The maximum reroutes allowed is configurable in
config.yml
. - Right clicking a compass will create a line of particles that point in the direction of the destination.
Commands
Command | Description | Permission |
---|---|---|
/gps <x> <z> |
Creates a GPS compass pointing to the given coordinates. Requires 10 compasses. | gps.use |
/reroute <x> <z> |
Updates the compass to a new location (limited reroutes). | gps.use |
Permissions
Permission | Description | Default |
---|---|---|
gps.use |
Allows use of /gps and /reroute commands. |
true |
Configuration (config.yml
)
You can configure the maximum number of reroutes before the compass breaks.
max-reroutes: 3
(Default: 3
reroutes before breaking)
How It Works
- A player runs
/gps <x> <z>
while holding at least 10 compasses. - The command consumes 10 compasses and gives them a special GPS compass.
- The GPS compass points to the entered coordinates.
- The player can use
/reroute <x> <z>
to change the destination (up to the max reroutes set inconfig.yml
). - Once the reroutes are exhausted, the compass disappears, playing an item break sound.
Installation
- Download the plugin JAR and place it in your
plugins
folder. - Restart your server to generate the config file.
- Edit
config.yml
in the plugin folder if needed. - Reload the server to apply changes.
License
This project is licensed under the GNU General Public License v3.0 (GPL-3.0).
You are free to use, modify, and distribute this plugin under the terms of the GPL-3.0 license.
For more details, see the GNU GPL v3 License.
This fie was generated by an LLM