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

Sleeping Message Bug #7040

Closed
3 tasks done
ghost opened this issue Jul 5, 2022 · 4 comments
Closed
3 tasks done

Sleeping Message Bug #7040

ghost opened this issue Jul 5, 2022 · 4 comments
Labels
bug report Reports of bugs/inconsistencies

Comments

@ghost
Copy link

ghost commented Jul 5, 2022

Description of Issue

When players sleep, there is shown an actionbar, but it bugs so that after a while it changes and shows different message that I can not find in any translation yml to rewrite.
The bugged message I can not find in translations:
bug

The message I set in translations is shown too, but as I said it switches to this bugged message.

Version Information

[17:07:23 INFO]: CMI plugin version: 9.2.1.1 BungeeCord  MySQL
[17:07:23 INFO]: CMILib: 1.2.1.0 -> 1.2.1.1
[17:07:23 INFO]: Server: Purpur 1.18.2-R0.1-SNAPSHOT
[17:07:23 INFO]: CMI economy: enabled Vault: 1.7.3-b131(CMIEInjector) CMI Chat: enabled 
[17:07:23 INFO]: Modules -> 50 enabled 6 disabled: flightCharge, hpBossBar, tablist, ranks, skin, jail

Errors

None

Relevant Config Sections

CMI/Translations/Locale_CZ.yml:
sunSpeeding: Spí [count] z [total] [hour] hodin [speed]X rychlejší!
sleepersRequired: '!actionbar!&f[sleeping] &fz &f[required]'
sunSpeedingTitle: '&7[hour]'
skippingNight: '!title!&7Skipping entire night'

CMI/config.yml:
Sleeping:
  Speedup:
    # When set to true, players can speedup night by sleeping in bed
    # This will allow to speed up night in percentage depending how many players are sleeping in beds in that world
    Enabled: true
    # List of worlds where this should be applied.
    # Keep in mind that time speed up only works on a normal type world and by default you will have only one
    # Set this list to [] if you want to include all possible worlds
    Worlds:
    - world
    # When this set to true time will be speed up only between 13000 and 24000 ticks of the day
    # When having this set to false players can speed up day durring storms or other events
    OnlyDurringNight: true
    # Type of speedup information, can be: none, title, bossbar
    InfoType: title
    # When set to true, players who are in afk mode will be excluded from speed calculations
    ExcludeAfk: true
    # Defines speed to go throw night, bigger numbers will make it go faster and less players you will need to go throw night
    # 100 will result in 100 times faster time
    BaseSpeed: 100
    # Defines minimal speed to go throw night, this is in case there are more players than base speed and calculation return default speed
    MinSpeed: 5
    # Minimal amount of players sleeping in beds before speeding it up
    # Can be defined in 2 formats. When using clean number like 3, then 3 players will have to be sleeping before speedup kicks in
    # If amount is defined with % like 50% then half of server population will have to be sleeping before speedup kicks in
    MinBeforeSpeeding: 50%
    # When set to true online players will be informed about missing sleeping people count
    Inform: true
    # Time in seconds between information messages can be shown when player starts or stops sleeping
    InformDelay: 30

CMILib/Translations/Locale_CZ.yml:
  sunSpeeding: Spí [count] z [total] [hour] hodin [speed]X rychlejší!
  sleepersRequired: '!actionbar!&7[sleeping] &7z &7[required] spí'
  sunSpeedingTitle: '&7[hour]'
  skippingNight: '!title!&7Přeskočení noci!'
  sunSpeedingSubTitle: '&f[count]&7/&f[total] &7(&f[speed]X&7)'

Relevant Plugins

No response

Agreements

  • My server is supported by CMI.
  • My version of CMI at the time of this report is up to date.
  • I have searched the github and asked around before making this report.
@ghost ghost added the bug report Reports of bugs/inconsistencies label Jul 5, 2022
@ghost
Copy link
Author

ghost commented Jul 5, 2022

VideoShowcase

@Z1xus
Copy link
Contributor

Z1xus commented Jul 5, 2022

It is the minecraft thing, you may not disable it :)

@CloudeLecaw
Copy link

CloudeLecaw commented Jul 6, 2022

this issue is left from vanilla. Zrips vote there is nothing he can do to prevent this. All you can do is set a own limit in cmi. but it still will show the vanilla measage for a short time.

@Zrips
Copy link
Owner

Zrips commented Jul 12, 2022

@Ghoust99
As people mentioned here its completely vanilla thing to show sleeping player amount and there is no reasonable way to disable it as its being shown by the server itself at the moment you enter bed. Without some packet interception and canceling this isint so simple to disable.

@Zrips Zrips closed this as completed Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Reports of bugs/inconsistencies
Projects
None yet
Development

No branches or pull requests

3 participants