Skip to content

ZetaPlugins/WYG

Repository files navigation

Banner


paper purpur github modrinth discord-plural

This plugin lets players show off whatever they’re holding right in chat! Just type a simple placeholder in your message, and your item pops up for everyone to see. Others can hover over it to check out its name, enchantments, and all the details just like in your inventory.

Features

  • ✅ Show off main hand, off-hand and armor
  • ✅ Use a simple command or placeholders in chat
  • ✅ Quickly see what item a player is showing off with icons in the chat
  • ✅ See all details of an item when hovering above the name in chat
  • ✅ Fully configurable

Permissions

  • wyg.use - Allows usage of WYG commands
  • wyg.hand - Allows showing items in main hand
  • wyg.offhand - Allows showing items in offhand
  • wyg.helmet~~~~ - Allows showing helmet
  • wyg.chestplate - Allows showing chestplate
  • wyg.leggings - Allows showing leggings
  • wyg.boots - Allows showing boots
  • wyg.equipment.others - Allows showing other players' equipment
  • wyg.reload - Allows reloading the WYG configuration (default: op)

Configuration

You can find the configuration files in the plugins/WYG folder. The main configuration file is config.yml.

config.yml
# WYG Plugin Configuration
# Use MiniMessage format for all text: https://docs.advntr.dev/minimessage/format.html

# Item Display Settings
item-display:
  # Format for displaying items
  # Placeholders:
  #   <sprite> - The item sprite/icon
  #   <item> - The item name
  # Examples:
  #   "[<sprite> <item>]" - Default with brackets
  #   "<aqua><u>[<sprite> <item>]</u></aqua>" - Aqua with underline (like vanilla)
  #   "<sprite> <bold><item></bold>" - No brackets, bold name
  #   "<gradient:green:blue><sprite> <item></gradient>" - Gradient effect
  format: "<sprite> <item>"

  # Hover text configuration
  hover-text:
    enabled: true
    show-stack-size: true
    show-enchantments: true
    show-attributes: true
    show-lore: true

# Share Message Settings
share-message:
  # Format for the share message
  # Placeholders:
  #   <player> - The player's name
  #   <player_head> - The player's head sprite
  #   <item> - The formatted item (uses item-display.format above)
  # Examples:
  #   "<player> shared <item>" - Simple format
  #   "<player_head> <player> <gray>shared</gray> <item>" - With player head
  #   "<player_head> <gray>shared</gray> <item>" - Head only, no name
  #   "<gradient:yellow:gold><player_head> <player></gradient> <gray>→</gray> <item>" - Fancy gradient with head
  format: "<player_head> <player> <gray>shared</gray> <item>"
  

Support

If you need help with the setup of the plugin, or found a bug, you can join our discord here.

discord-plural


Usage

About

WYG - What'd Ya Got - A Paper Plugin for sharing items through chat!

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages