HomeJavaModsCoreProtectVisualizer
ModsJava

CoreProtectVisualizer

CoreProtectVisualizer - server side CoreProtect visualizer plugin.

⬇ Download on Spigot
CoreProtect Visualizer
Automatically visualize CoreProtect lookup results in-game with colored glowing block outlines

[​IMG]

Features

Requirements

Installation
  1. Drop the JAR into your server's plugins folder
  2. Ensure ProtocolLib and CoreProtect are installed
  3. Restart the server
  4. Configure via plugins/CoreProtectVisualizer/config.yml

Commands
Aliases: /cpv, /coreprotectvis

Permissions

How It Works
  1. Run a CoreProtect command (/co lookup u:Notch t:7d, /co inspect, or /co i)
  2. The plugin intercepts the chat packet via ProtocolLib
  3. Coordinates are extracted using configurable regex patterns
  4. Action and block type are determined from the message text or CoreProtect API
  5. A colored glowing BlockDisplay (or shulker outline) is created at each location
  6. Visualizations automatically expire after the configured duration or via /cpvis clear

Configuration
Code (YAML):
enabled : true

visualization
:
  duration
: 30           # seconds (0 = never auto-clear)
  max-visualizations
: 100
  engine
: block_display # "block_display" or "shulker"
  colors-by-action
: true
  default-block-material
: GLASS

  action-colors
:
    place
: "#00FF00"
    break
: "#FF0000"
    interact
: "#00FFFF"
    unknown
: "#FFFF00"

  # block-colors:
  #   DIAMOND_ORE: AQUA
  #   GOLD_ORE: "#FFAA00"

message-interception
:
  enabled
: true
  coordinate-patterns
:
   - "\(x(-?\d+)/y(-?\d+)/z(-?\d+)\)"           # /co inspect
    - "\(x(-?\d+)/y(-?\d+)/z(-?\d+)/[^)]*\)"     # /co lookup clickable
    - "#\d+/x(-?\d+)/y(-?\d+)/z(-?\d+)"         # /co lookup
    - "/co\s+teleport\s+\w+\s+(-?\d+)\s+(-?\d+)\s+(-?\d+)"   # /co teleport
    - ".*x:?\s*(-?\d+).*y:?\s*(-?\d+).*z:?\s*(-?\d+).*"

messages
:
  prefix
: "&a&l[CoreProtect Visualizer]"
  toggle-enabled
: "&aVisualizer &aenabled&7."
  toggle-disabled
: "&aVisualizer &cdisabled&7."
  clear-success
: "&7Cleared &e{count} &7visualization(s)."
  # ... all messages are configurable
Source: https://github.com/M0diis/CoreProtectVisualizer
Support: https://github.com/M0diis/CoreProtectVisualizer/issues

CoreProtectVisualizer is a free Minecraft Java mod. Compatible with Minecraft 1.21. Downloaded 12 times (via Spigot). Download it and open it directly in the game.

Explore more