inxomnyaa / BossAnnouncement

A plugin that can show changing messages in the EnderDragon/Wither boss bar.
https://poggit.pmmp.io/ci/thebigsmileXD/BossAnnouncement/~
MIT License
15 stars 21 forks source link

Mode 1 and 2 not properly working when switching worlds #25

Closed BlueWhaleYT closed 4 years ago

BlueWhaleYT commented 4 years ago

Hi there. I have ever create a issue thats featuring the bossbar will be disabled if player die. Then the author fixed it very soon!

Nowadays,I find a problem. I set Mode 1 in config,as the bossbar will only show if world level name called "hub".

When I essay to teleport to another world,for example World "thebridge",it will not display it.Of course.

However,when I teleport back to lobby (world "hub"),the bossbar will not display even it is match with level name as adjusted in config.

Thank you.

inxomnyaa commented 4 years ago

Can you tell me what the issue was?

BlueWhaleYT commented 4 years ago

When teleported to another world then teleport to the world ( which set mode 1 and it is target world ),it is disable.

Situation: World A:Bossbar expected World B:No bossbar expected

When player from World A teleport to World B.Then the player from World B teleport to World A.The bossbar couldn't display.

inxomnyaa commented 4 years ago

Does the issue still persist? I am wondering because you closed it

BlueWhaleYT commented 4 years ago

Yes it is still exists.

inxomnyaa commented 4 years ago

Which mode do you have set in the config? (oops i just see, mode 1) Can you maybe send the config here?

inxomnyaa commented 4 years ago

Are your worlds non-lowercase, i.e. Lobby? That is the only issue i can spot right now

BlueWhaleYT commented 4 years ago
---
# Example Look
# First 3 seconds:
#
# Welcome to the WolvesFortress.de Server, {player}!
# ================----------------------------------
#        The best server, the best minigames!
#
# Next 3 seconds:
#
# Welcome to the WolvesFortress.de Server, {player}!
# =================================-----------------
#      Visit our website: wolvesfortress.de!
#
# If you don't define the top message, the changing messages will be displayed there.
#
#         Changing messages are up here :P
# ==================================================
head-message: "§l======[§9WHALE§fPLAY]======"
# Changing messages are here
# To set the percentage of the bar add {number%} before the message!
# Otherwise it takes the percentage that was there before.
# Example for a 25% filled: "{25%}This is a quarter filled bar"
changing-messages:
 - "{100%}§rWelcome to the server!"
 - "{75%}§r§6TheBridge§f is in beta!"
 - "{50%}§r§bQuest§f is developing!"
 - "{25%}§rType §b/mail§f to send mail!"
 - "{0%}§rEnjoy to play!"
# How fast the messages switch in seconds. 1 is minimum
change-speed: 2
# This changes the behaviour for multiple worlds
# Mode 0: see the bar in every world
# Mode 1: see ONLY in the worlds in the array
# Mode 2: DON'T see in worlds in the array
mode: 1
# Worlds: use the worldname, seperate with " , "
# Example: Mode 0, worlds: ["world", "lobby", "survival"]
worlds: ["hub"]
#Formatting strings:
#{display_name}, {name}, {world}, {x}, {y}, {z}, {level_players}, {server_players}, {server_max_players},
#{hour}, {minute}, {second}
#{BLACK}, {DARK_BLUE}, {DARK_GREEN}, {DARK_AQUA}, {DARK_RED}, {DARK_PURPLE}, {GOLD}, {GRAY},
#{DARK_GRAY}, {BLUE}, {GREEN}, {AQUA}, {RED}, {LIGHT_PURPLE}, {YELLOW}, {WHITE}, {OBFUSCATED}, {BOLD}
#{STRIKETHROUGH}, {UNDERLINE}, {ITALIC}, {RESET}
#&0, &1, &2, &3, &4, &5, &6, &7, &8, &9, &a, &b, &c, &d, &e, &f, &k, &l, &m, &n, &o, &r
...
inxomnyaa commented 4 years ago

Please give the new version a try