PandaaaPlays / AutomaticBroadcast

Automatically broadcast messages on your minecraft server!
0 stars 3 forks source link

[Bug] Using [centered] while viewing on a bedrock client is broken #12

Open realdoomsboygaming opened 2 weeks ago

realdoomsboygaming commented 2 weeks ago

Here is how the preview looks like while on a Java client.

image

This is how it looks on the default Bedrock client chat settings.

image

Here is the config portion for this broadcast:


  homes:
    # A list of messages that will be displayed when the broadcast occurs.
    messages:
      - ""  
      - " [centered]  &x&f&b&3&3&3&3&lH&x&f&5&2&f&2&f&lO&x&f&0&2&a&2&a&lT&x&e&a&2&6&2&6&lD&x&e&5&2&1&2&1&lO&x&d&f&1&d&1&d&lG&x&d&9&1&9&1&9&lC&x&d&4&1&4&1&4&lR&x&c&e&1&0&1&0&lA&x&c&9&0&b&0&b&lF&x&c&3&0&7&0&7&lT"  
      - "[centered] &eUse &b/sethome&e and &b/home&e to create quick ways to teleport"
      - "[centered] &earound."
      - "[centered] &7We all hate losing our stuff."  
      - ""
    # What will occur when a player clicks on the broadcast :
    # "*" -> Suggests a message in the player's chat. (Ex.: *exemple -> Suggests "exemple")
    # "/" -> Suggests a command in the player's chat. (Ex.: /exemple -> Suggests "/exemple")
    # Anything else opens a link if IT IS VALID! (Make sure to add "https://...")
    click: "/homes"
    # The tooltip that will be displayed when the players hover over the message.
    hover:

    # The sound played for every player receiving the broadcast.
    # Please refer to the bukkit list of sounds : https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
    sound:
    # The player(s) that should not receive this broadcast.
    exempted-players:
      - exempted-player1
      - exempted-player2
PandaaaPlays commented 6 days ago

As discussed on discord, this plugin was not specifically made for Bedrock version of minecraft... I will eventually look into this to see if I can fix your issue by changing the chat "normal length" on Bedrock servers so that it works like intended on that version of the game.