Prism-Bukkit icon indicating copy to clipboard operation
Prism-Bukkit copied to clipboard

[BUG] Update Deprecations - String to Components

Open Narimm opened this issue 4 years ago • 5 comments

Describe the bug With adventure now itegrated - a large number of displayable text fields have been deprecated and renamed - these are fields that support colors and formating that cannot be clearly displayed in regular strings -

These will need updating - however it will not be compatible with Spigot

Currently we lose data if an item/block / book has things like clickable links /commands and is destroyed but then rollback occurs. The custom data is lost - this would fix that.

Server (please complete the following information):

  • Prism Version: 2.1.8-SNAPSHOT
  • Server Type: Paper
  • Server Version: 1.17

Narimm avatar Aug 27 '21 02:08 Narimm

Can we use Spigot ChatComponent since advanture has been itegrated from 1.17? It doesnt support replaceText though

Rothes avatar Aug 27 '21 02:08 Rothes

"it will not be compatible with Spigot" ???

Bobcat00 avatar Sep 03 '21 16:09 Bobcat00

"it will not be compatible with Spigot" ???

advanture components is integrated in PaperSpigot. Spigot doesn't contain this api so plugin will not work on Spigot any more.

If we still need to use advanture, but support Spigot at the same time, can we use relocate in maven?

Rothes avatar Sep 04 '21 05:09 Rothes

Not supporting Spigot would be a stupid thing to do, and of course your plugin will be removed from the Spigot web site.

Bobcat00 avatar Sep 04 '21 21:09 Bobcat00

"it will not be compatible with Spigot" ???

advanture components is integrated in PaperSpigot. Spigot doesn't contain this api so plugin will not work on Spigot any more.

If we still need to use advanture, but support Spigot at the same time, can we use relocate in maven? Yes and No -

Narimm avatar Sep 12 '21 12:09 Narimm

This repository is no longer active. You can try to resubmit this at the current Prism repo here https://github.com/prism/PrismRefracted

viveleroi avatar Apr 13 '23 03:04 viveleroi