Prism

Prism

91.2k Downloads

[BUG] Update Deprecations - String to Components

Narimm opened this issue ยท 6 comments

commented

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
commented

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

commented

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

commented

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

commented

"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?

commented

"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 -

commented

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