Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
M mmoitems
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 47
    • Issues 47
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Administrator
  • mmoitems
  • Issues
  • #149

Closed
Open
Created Jul 15, 2020 by Administrator@rootMaintainer

Iridescent compatibility issues

Created by: Klyser8

I'm trying to hook onto MMOItems, trying to make MMOItems work with a plugin I developed as requested by a user. The plugin in question is Iridescent (https://www.spigotmc.org/resources/✏%EF%B8%8F-iridescent-✏%EF%B8%8F-1-16-x-add-new-hex-colors-to-your-server-supports-gradients.81322/). It uses ProtocolLib to add support for Hexadecimal color codes anywhere that text fits. Additionally, it allows to have an item's name shift between multiple color gradients.

An Iridescent user was having issues using these colors in MMOItems, with those color codes not parsing. I assume this is because when setting an Item's name using MMOItems there is no CHAT packets being sent (Due to the AsyncPlayerChatEvent getting cancelled I believe), so what I was hoping that there would be a way for Iridescent to modify the chosen name of the MMOItem before it actually gets applied to the weapon.

Steps to reproduce the behavior:

  1. Download and enable Iridescent
  2. Try using any color tag when renaming an item through the MMOItems item editor (Example name: <$#8000f0>Test Item$@fire)

The item's name should display as follows: https://media.discordapp.net/attachments/621720730006061056/732905024677740644/unknown.png

Instead, it displays as follows: https://media.discordapp.net/attachments/621720730006061056/732905320971501578/unknown.png

Server info:

  • Paper-90 (1.16.1)
  • MMOItems 5.5.3
  • Iridescent
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking