Skip to content

Actionbar message not working correctly #95

Description

@Pirito10

It seems like some messages are not displaying correctly. I have changed the action bar message, but it shows the default message, as you can see in the screenshot. Here is my config:

# Harbor - Sleep mechanics enhancement plugin
# An open-source project by TechToolbox (@nkomarn)
# https://github.com/nkomarn/Harbor

# Important note regarding Essentials:
# Please make sure you negate the permission "essentials.sleepingignored" to
# prevent issues with Harbor and server operators when running Essentials.

night-skip:
  enabled: true # Skip the night if a percentage of the players in a world are sleeping
  percentage: 40 # Percentage of players required to be sleeping to skip the night (0 - 100)
  time-rate: 50 # The amount of ticks added to the current time every tick when skipping the night
  daytime-ticks: 1200 # The time in ticks that Harbor considers day
  instant-skip: false # Instantly skip the night when the percentage threshold is reached instead of showing the full animation
  proportional-acceleration: false # Increase the night skipping speed based on the amount of sleeping players
  clear-rain: true # Clear rain (if it's raining) when the night is skipped
  clear-thunder: true # Clear thunder (if it's thundering) when the night is skipped
  reset-phantom-statistic: false # Treats everyone online as if they have slept in the last 3 days after the night is skipped (check out /gamerule doInsomnia on 1.15+)

exclusions:
  ignored-permission: true # Exclude players with the permission "harbor.ignored" from the sleeping count
  exclude-adventure: true # Exclude players in adventure mode from the sleeping count
  exclude-creative: true # Exclude players in creative mode from the sleeping count
  exclude-spectator: true # Exclude players in spectator mode from the sleeping count
  exclude-vanished: true # Exclude vanished players from the sleeping count

# Detect AFK players and automatically remove them from the required sleeping count
# Essentials API is used for AFK detection when available- otherwise a fallback system is used
afk-detection:
  enabled: true
  timeout: 3 # Time in minutes until a player is considered AFK

# Blacklist for worlds- Harbor will ignore these worlds
blacklisted-worlds:
  - "Lobby"
whitelist-mode: false # Will treat the above list as a whitelist instead of a blacklist

messages:
  chat:
    enabled: false
    message-cooldown: 5 # The amount of time in seconds before a player can send another bed enter or leave message
    player-sleeping: "&e[player] está durmiendo ([sleeping]/[needed])"
    player-left-bed: "&e[player] dejó de dormir ([sleeping]/[needed])"
    night-skipping:
      - "&eAcelerando la noche..."
    night-skipped:
      - "&aSe ha saltado la noche"
  actionbar:
    enabled: false
    players-sleeping: "&e[sleeping] de [needed] jugadores están durmiendo"
    night-skipping: "&eTodo el mundo está durmiendo"
  bossbar:
    enabled: true
    players-sleeping:
      message: "&f&l[sleeping] de [needed] jugadores están durmiendo"
      color: BLUE
    night-skipping:
      message: "&f&lTodo el mundo está durmiendo"
      color: GREEN
  miscellaneous:
    chat-prefix: "&8&l[&6&lNoche&8&l]&r "
    unrecognized-command: "Comando desconocido"

# Spooky internal controls
version: 1.6.3
interval: 1
metrics: true
debug: false

I am using Purpur 1.17 build 1204. I have not tested this in previous versions.
2021-06-27_23 19 28

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions