CompassArrow

CompassArrow

858 Downloads

What is CompassArrows?

  • Find locations with your compass
  • Create unlimited custom locations ingame or through the config
  • Teleport to them (for admins)
  • Set custom descriptions for your locations
  • List locations and get detailed information

Configuration:

config.yml

#############################################
##         -= CompassArrow by DevilishSkull =-         ##
##                         ____________                          ##
##                       / Version: 0.0.1 \                       ##
#############################################

# Set locale for all supported chat messages. Note that this doesn't apply to the console.
# Available locales: en, ru
locale: en

# Check for updates? (No auto-updating, just messages)
check_for_updates: true


# Locations name case ignoring.
# If set to true, "/find Abc" and "/find abc" will be the same.
# If set to false and location is Abc, "/find" Abc will work, but "/find abc" will show not found message.
ignore_case: true

# Should CompassArrow give a compass to player if he doesn't have it?
# P.S. If the player has the compass, it will be moved to the main hand.
give_compass: true

# Default locations.
default_location:

  # If set to true, "/find" without arguments will point to your custom location.
  # If set to false, it will point to the world spawn.
  active: false

  # Default location name in locations.yml
  name: Spawn

 locations.yml

Example:
  x: 0
  y: 70
  z: 0
  yaw: 120
  pitch: 25
  world: world
  owner: Notch
  description: Custom description
Example2:
  x: 0
  y: 70
  z: 0
  yaw: 120
  pitch: 25
  world: world
  owner: Notch
  description: Custom description
Spawn:
  x: 0
  y: 70
  z: 0
  yaw: 120
  pitch: 25
  world: world
  owner: Notch
  description: Custom description


Commands:

  • /ca - Get version and command usage.
  • /ca reload - Reload config and locations.
  • /ca version - Get plugin version.
  • /ca save <name> [description] - Save current position.
       (Aliases: /ca add, /ca set)
  • /ca remove <name> - Remove the location.
       (Aliases: /ca delete)
  • /ca description <name> [description] - Change the description or remove it if empty.
  • /ca info <name> - Get information about the location.
  • /ca tp <name> - Teleport to the location.
  • /findlist [page] - Show list of locations.
       (Aliases: /ca list (see permissions!) /targetslist, /compasslist)
  • /find [name] - Set your compass target to entered or default location.
       (Aliases: /settarget, /setcompass)

Permissions:

  • compassarrow.find - Use /find command
  • compassarrow.findlist - Use /findlist command
  • compassarrow.admin - Use /ca command (if not set, sender will get plugin version instead of usage message or command execution)
  • compassarrow.admin.* - Use all of /ca subcommands
  • compassarrow.admin.<subcommand>
    Warning: You still must give compassarrow.admin permission to access /ca command if you giving subcommands one by one, not by * (if you use compassarrow.admin.*, you don't have do to it)
    • compassarrow.admin.reload - Use /ca reload
    • compassarrow.admin.save - Use /ca save|add|set
    • compassarrow.admin.remove - Use /ca remove|delete
    • compassarrow.admin.description - Use /ca description
    • compassarrow.admin.info - Use /ca info
    • compassarrow.admin.tp - Use /ca tp

TODO:

  • Add a support of permissions for each location separately.
  • Add the ability to hide locations from the list.
  • Add easier messages modification. (At the moment, only through a change inside the jar file)
  • Add more available locales (At the moment, only English and Russian). If you can help to translate messages, pm me, please.
  • Improve the design of this page.

WARNING: If you are installing a new version of CompassArrow, the server must be restarted (NOT reloaded).

Donate:

If you want to support me, you can donate.

[​IMG]