Paste #113491: Player Tracking Compass

Date: 2023/08/07 02:15:49 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


player_compass:
  type: item
  debug: false
  lore:
  - <blue>Right Click to track a player (hopefully :) )
  material: compass
  display name: <bold><italic>Player Compass

player_compass_command:
  type: command
  debug: false
  name: playercompass
  description: Grants you a Player Compass
  usage: /playercompass
  permission: playercompass.get
  script:
  - give player_compass

player_compass_handler:
  type: world
  debug: false
  events:
    after player right clicks block with:player_compass:
    - compass <player.location>