Zrips / CMI

117 stars 99 forks source link

the storm is not passed #3474

Closed dalandis closed 4 years ago

dalandis commented 4 years ago

Description of issue: if a storm has begun, then time can be accelerated until the storm ends demonstration - https://www.youtube.com/watch?v=jtdQGuGwl4E&feature=youtu.be

CONFIG SECTION:

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
    # 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: 35%
    # 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: 15

Cmi Version (using/cmi version):

> cmi version
[23:53:12 INFO]: --------------------------------------------------
[23:53:12 INFO]: Версия плагина CMI: 8.6.26.7 SqLite-> 8.6.26.9
[23:53:12 INFO]: Server: Paper(334) 1.15.2-R0.1-SNAPSHOT
[23:53:12 INFO]: CMI economy: Нет CMI Chat: Нет 
[23:53:12 INFO]: Modules -> 45 enabled 6 disabled: spawnerProximity, armorstand, votifier, moneyCheque, spawners, kits
[23:53:12 INFO]: --------------------------------------------------

Server Type (Spigot/Paperspigot/etc): Paperspigot

Server Version (using /ver):

> ver
[23:54:13 INFO]: This server is running Paper version git-Paper-334 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT)
[23:54:13 INFO]: Checking version, please wait...
[23:54:14 INFO]: Previous version: git-Paper-333 (MC: 1.15.2)
[23:54:14 INFO]: You are 3 version(s) behind

Relevant plugins (Delete if this isn't needed):

> plugins 
[23:54:45 INFO]: Plugins (15): AuthMe, BungeePerms*, CMI, CMIPaperLib, EasyWhitelist*, FastChunkPregenerator, LogBlock, MobFarmManager, Multiverse-Core, Multiverse-Portals, NoEntityGrief*, PlaceholderAPI, ProtocolLib, WitherAC, WorldEdit
Zrips commented 4 years ago

Not a bug. Vanilla minecraft will skip storm if all online players sleep during it. We could add option to avoid speeding up if its not a night but a storm, but this in general is not a bug.

Zrips commented 4 years ago

Will add option not to speed up during day time