AOneBlock icon indicating copy to clipboard operation
AOneBlock copied to clipboard

bug with custom alphabet in placeholders

Open Mithranduil opened this issue 2 years ago • 10 comments

Expected behavior

normally shown the ob phases name

Observed/Actual behavior

using "name: ᴡɪᴇsᴇɴ" in config, but it only shows ???????

Steps/models to reproduce

add an config phase with "'0': name: ᴡɪᴇsᴇɴ" and join server

BentoBox version

2.0.0- SnapShot - b2496 Paper 1.20.1

Plugin list

No response

Other

No response

Mithranduil avatar Jan 23 '24 14:01 Mithranduil

I suspect this is more of a Minecraft/Spigot issue, but I'll have to experiment. I wonder if using unicode escapes will work, e.g. \u1D21\u026A\u1D07\u0073\u1D07\u0274

tastybento avatar Jan 23 '24 20:01 tastybento

other placeholders or textes in scoreboards with that letter format works fine, only the phases of oneblock are stucked

Mithranduil avatar Jan 24 '24 16:01 Mithranduil

Hmm, I can't seem to replicate. I'm using PAPI 2.11.2:

> papi parse BoxManager %aoneblock_my_island_phase%
[14:32:59 INFO]: ᴡɪᴇsᴇɴ
Screenshot 2024-01-26 at 2 34 49 PM Screenshot 2024-01-26 at 2 33 32 PM Screenshot 2024-01-26 at 2 37 53 PM

tastybento avatar Jan 26 '24 22:01 tastybento

Is there some way to make this happen that I'm missing?

tastybento avatar Jan 26 '24 22:01 tastybento

can you add this placeholder now in the hologram and then restart server and connect new?

cause thats when its not showing right. after i update the hologram (likely break an block and its update the hologram) the missing letters appears directly and it shows the correct oneblock phase

Mithranduil avatar Jan 27 '24 04:01 Mithranduil

How do you add the placeholder in the hologram?

tastybento avatar Jan 27 '24 05:01 tastybento

I tried with Animated Scoreboard and it seems to work... Screenshot 2024-01-27 at 5 18 35 PM

I just set the default admin scoreboard entry like this:

    line-2:
      text:
      - "&a&lWelcome %aoneblock_my_island_phase%"
      - "&b&lWelcome %aoneblock_my_island_phase%"
      - "&c&lWelcome %aoneblock_my_island_phase%"   
      random: false
      interval: 5
      score: 98

I'm not sure why you are seeing ?????'s but it may be an OS thing?

tastybento avatar Jan 28 '24 01:01 tastybento

can you now disconnect, restart server and join back on the server without destroying an block?

than it should occuour as an "???s??"

Mithranduil avatar Jan 30 '24 12:01 Mithranduil

It seems to work:

https://github.com/BentoBoxWorld/AOneBlock/assets/4407265/daae1d0c-df6e-4644-b717-26b5eebb928b

Then restart the server and rejoin:

https://github.com/BentoBoxWorld/AOneBlock/assets/4407265/3c908144-d3d0-4213-b6b2-0597377aa99a

tastybento avatar Jan 31 '24 03:01 tastybento

can you test it with

  • "&f&l| &fᴢᴇɪᴛᴀʟᴛᴇʀ &8» &#F29D7D%aoneblock_visited_island_phase%"

i tested it on booth servers in version 1.20.1, with bbox2.0.0. b2496, but its not works .-.

Mithranduil avatar Feb 02 '24 15:02 Mithranduil