#MiniMessage support for the whole plugin

1 messages · Page 1 of 1 (latest)

ornate pasture
#

Hello, it seems the plugin is still missing MiniMessage support, you can barely work with the legacy color codes, and if you have custom fonts with glyphs its basically unusable.

I have created a fork of the plugin where i changed all the legacy strings with Components, however im not too satisfied with my current implementation so i would redo it, @outer dawn sorry for pinging but what are your plans and thoughts about this? Have you been working on any MiniMessage implementation yet?

high fox
#

👍

ornate pasture
#

@carmine swift Forgive me for pinging but maybe you know more about the topic, i already finished initial minimessage support, now im expanding it over to the GUI titles and fixing some formatting issues, the legacy formatting is also working btw so it shouldnt break anything

ornate pasture
#

Also it would be extremely easier to implement if the plugin dropped spigot support so i can rely on paper's bundled adventure functions

#

like having access to meta.displayName(Component)

ornate pasture
#

@outer dawn Pinging once more for attention dont kill me pls 🙏

ornate pasture
#

Did further improvements + lots of cleanup

#

testing it first before i commit

#

@high fox would you be willing to test it too?

#

if you are already using MCPets 4.1.10 or 4.1.11 it should work perfect since it should support the legacy colors

high fox
ornate pasture
#

Fixed an issue with renaming and maxNicknameLength

#

Tested myself and works properly so far

ornate pasture
ornate pasture
#

@carmine swift @outer dawn i even fixed the bug that required everyone to set the sync=true in MythicMobs model mechanic for ModelEngine if you used it on a wolf mob
Can i get more attention here on this?

carmine swift
ornate pasture
#

I already did

#

I didnt really change anything here except for collapsing the if statement

#

so i think we can ignore it?

#

This i will correct right now

#

This seems to be invalid, i tested the hex replacement and it works fine, so i think the copilot just doesnt see it, as for the malformed MiniMessage, i also tested it out, but i can add the try/catch just for safety

#

Same here as above

carmine swift
carmine swift
ornate pasture
#

ill make the adjustements in a few mins, testing everything once again to be sure

#
    public SkillResult castAtEntity(SkillMetadata data, AbstractEntity target) {
        Entity petEntity = BukkitAdapter.adapt(target);
        Pet pet = Pet.getFromEntity(petEntity);
        if (pet == null) return SkillResult.CONDITION_FAILED;
        pet.setDisplayName(petName, save);

        return SkillResult.SUCCESS;
    }
``` that should do it for the MM PetNameMechanic
#

Okay it seems i must've missed it, the #hex replacement isnt working

#

fixing it rn

#

i was using <#hex> to test it, but it was without the <> for the legacy colors

ornate pasture
#

@carmine swift Done

ornate pasture
#

Will you trigger another copilot review?

carmine swift
ornate pasture
#

Ill be testing it on my production server but if there are any issues or bugs i will try to fix asap

#

thanks very much for accepting ❤️

#

The version should be bumped to MCPets-4.1.12 and a jar released

ornate pasture
#
  • i forgot about pet names
carmine swift
#

Is 1.21 mandatory?

ornate pasture
#

well in the pom.xml 1.21 is specified

#

and it was announced that it supports 1.21 only

#

in #🦦|mcpets-builds

carmine swift
carmine swift
ornate pasture
#

also when it comes to pet names i tested this <rainbow>TEST&cRED#ff00ffNAME<red>RED and it fully works:

carmine swift
ornate pasture
#

i wouldnt mind, i use the plugin a lot and i dont want to switch to another

#

so im more than happy to continue improving it

carmine swift
#

please contact toffy if you want to have more impact at the community's scale

#

I'm retired now

ornate pasture
#

okay, thanks again for everything ❤️

carmine swift
#

I'm unsure how to manage the spigot page yet, as I would need others to be able to push updates. If you have any suggestion let me know!

ornate pasture
#

well

#

i would ditch spigot in favour of modrinth / hangar

#

they are more popular

carmine swift
#

You can see with Toffy for any partner up!

#

even on spigot actually

outer dawn
#

Would be helpfull 🙏

#

I can't seem to find the time to do more than small updates and bug fixes

ornate pasture
#

i can take care of it