Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug with custom alphabet in placeholders #366

Open
Mithranduil opened this issue Jan 23, 2024 · 10 comments
Open

bug with custom alphabet in placeholders #366

Mithranduil opened this issue Jan 23, 2024 · 10 comments
Assignees
Labels
under investigation this is being checked out

Comments

@Mithranduil
Copy link

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

@tastybento
Copy link
Member

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 tastybento transferred this issue from BentoBoxWorld/BentoBox Jan 23, 2024
@tastybento tastybento self-assigned this Jan 23, 2024
@Mithranduil
Copy link
Author

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

@tastybento tastybento added the under investigation this is being checked out label Jan 26, 2024
@tastybento
Copy link
Member

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
Copy link
Member

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

@Mithranduil
Copy link
Author

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

@tastybento
Copy link
Member

How do you add the placeholder in the hologram?

@tastybento
Copy link
Member

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?

@Mithranduil
Copy link
Author

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

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

@tastybento
Copy link
Member

It seems to work:

Initial.block.break.mov

Then restart the server and rejoin:

Reconnect.mov

@Mithranduil
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
under investigation this is being checked out
Projects
None yet
Development

No branches or pull requests

2 participants