Sleep most [1.8 > 1.15.2] configurable messages and percentage 4.2.1

Control the amount of percentage of sleeping players required to make it day

  1. MrGeneralQ
    Native Minecraft Version:
    1.15
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    Source Code:
    https://github.com/mrgeneralq/sleep-most
    Contributors:
    PandaCrafter1
    Webp.net-resizeimage (1).png

    Need any help? Any requests? Click here to join our discord support hub. I will be happy to answer your question or discuss your request.


    [​IMG]






    [​IMG]

    Sleep-most is a plugin that allows the server owner to configure how many people have to sleep before it turns back into daytime. The server owner can configure a percentage according to all online players that have to sleep.

    It will even calculate how many people are already sleeping and how many that are left. The moment the amount is reached, it will turn into daytime again.

    Please rate my plugin as it keeps me motivated to implement new features and develop new projects


    [​IMG]
    1. put the jar in your plugin folder
    2. restart/reload the server
    3. Done!
    [​IMG]
    • configure how many percentage has to be reached
    • animated night to day cycle (time speeding up)
    • NEW exclude certain people from the algorithm
    • configure all messages including colors
    • configure the prefix for each message
    • skip thunderstorms based on voting
    • different messages for storm and night
    • configure percentage required for each world
    • Anti spam: configure amount of time for the messages to cool down before showing up again per player (much requested)
    • configure everything using commands (new)
    • use flags to define properties for each world (new)
    • plugin will auto-check on login if there is a newer version (new)

    commands.png

    Below you can find a list of available commands!

    /sm opens the help menu
    permission: sleepmost.help

    /sm enable enable sleepmost for the world you are in
    permission: sleepmost.enable

    /sm disable disable sleepmost for the world you are in
    permission: sleepmost.disable

    /sm setflag <flagName> <flagValue> set a flag for the world you are in
    permission: sleepmost.setflag

    /sm info
    show a list of all flags and their state on your world
    permission: sleepmost.info

    /sm version
    show the version number you are running
    permission: sleepmost.version

    /sm reload
    reload the configuration file
    permission: sleepmost.reload

    flags.png

    Flags can be used to set properties for a world. All flags can be set by using the "/sm setflag <flagName> <value>" command.

    PRO TIP: if you need to see a list of all the available flags,
    type /sm setflag <any non existing flag>


    percentage-required: set percentage required for people to be asleep before changing skipping the night/storm
    Expected value: number between 0.0 - 1

    mob-no-target: By setting this flag to true, mobs will no longer attack players in that world if they are in the bed.
    Expected value: true | false

    use-exempt: By setting this flag to true, players with the permission "sleepmost.exempt" will not be included in the algorithm
    Expected value: true | false

    prevent-sleep: By setting this flag to true, players won't be able to sleep in your world
    Expected value: true | false

    nightcycle-animation: By setting this flag to true, whenever the last necessary player goes to sleep, time starts speeding up until daytime
    Expected value: true | false

    storm-sleep: By setting this flag to false, players cannot go to sleep during thunderstorms
    Expected value: true | false


    [​IMG]

    Capture.JPG

    upload_2020-1-4_19-40-47.png

    [​IMG]

    Please note that all configurations regarding the world and their properties can be set using commands.
    Code (config (Unknown Language)):

    # WELCOME TO THE OFFICAL SLEEP-MOST PLUGIN
    # CREATED BY MrGeneralQ aka qintinator
    # VERSION: 3.5.2

    sleep:
      world:
        percentage-required: 0.7
        mob-no-target: true
        use-exempt: false
        prevent-sleep: false
        prevent-phantom: false
        nightcycle-animation: false
        storm-sleep: true
      world_the_end:
        percentage-required: 0.7
        mob-no-target: true
        use-exempt: false
        prevent-sleep: false
        prevent-phantom: false
        nightcycle-animation: false
        storm-sleep: true
      old:
        percentage-required: 0.5
        mob-no-target: true
        use-exempt: true
        prevent-sleep: false
        prevent-phantom: false
        nightcycle-animation: true
        storm-sleep: false
    messages:
      prefix: '&7[&bSleep-Most&7]'
      cooldown: 10
      night-skipped: '&bThe night was skipped!'
      storm-skipped: '&bThe storm was skipped!'
      players-left-night: '&bSleeping to skip night &f[&c%sleeping%/%required%&f]&b!'
      players-left-storm: '&bSleeping to skip the storm &f[&c%sleeping%/%required%&f]&b!'
      sleep-prevented: '&cYou cannot sleep in this world!'
      no-sleep-storm: '&cYou cannot sleep during a thunderstorm'

     
    Message placeholders
    Code (config (Unknown Language)):

    %sleeping%: amount of players sleeping
    %required%: amount of players required to skip now
    %player%: the player that went to sleep
     
    Stats
    [​IMG]

    [​IMG]

    Images

    1. sleepmost.jpg
    2. 2018-09-06_03.39.04.png
    Govindas, DavidRSM, gabbs and 3 others like this.

Recent Reviews

  1. zR4zzer
    zR4zzer
    5/5,
    Version: 4.2.1
    The support is very good like the quality of the plugin. Its a MUST for survival networks.
  2. Streep
    Streep
    5/5,
    Version: 4.2.1
    ________________________________________
    Excelente plugin y muy simple de utilizar.
    _______________________________________
  3. Sebastianso1
    Sebastianso1
    5/5,
    Version: 4.2.1
    This Plugin is a must for your server.
    No more convincing every player to sleep or kicking them.
  4. FixieRider
    FixieRider
    5/5,
    Version: 4.2.1
    Such a wonderful plugin. Using it on my family MC server and it's made it much better with young kids who don't quite yet understand why they need to carry a bed around with them, lol.
    1. MrGeneralQ
      Author's Response
      Hello FixieRider

      Thank you for your feedback. As long as the plugin is useful, it doesn't really matter :).

      Kind regards,

      Mr Q
  5. 6085kevin
    6085kevin
    5/5,
    Version: 4.2.1
    -------------------------------------------------------------------------------------
    ¬°Un plugin genial e indispensable para un servidor Survival!
    -------------------------------------------------------------------------------------
    1. MrGeneralQ
      Author's Response
      Hello Kevin

      Thank you for the feedback. Short but powerful review. thank you very much. Feel free to join our discord: https://discord.pseudonova.com/

      Kind regards,

      Mr Q
  6. jenqo
    jenqo
    5/5,
    Version: 4.2.1
    It's a good plugin, easy to customize, easy to install, works perfectly fine for a 1.15.2 server. I do recommand it. Great plugin!
    1. MrGeneralQ
      Author's Response
      Hello Jenqo

      Thank you for your feedback. Whenever you have ideas, feel free
      to propose them in our discord.

      https://discord.pseudonova.com/

      Kind regards,

      Mr Q
  7. AkiraTsubasa
    AkiraTsubasa
    5/5,
    Version: 4.2.1
    Some console errors that I had on version 1.8 got fixed within minutes, thanks a lot to the author of this plugin for being so nice and helpful, I highly recommend this plugin for any survival RPG server!
  8. AkiraTsubasa
    AkiraTsubasa
    5/5,
    Version: 4.1.4.0
    Cool plugin, really nice and friendly dev, the plugin has been tested on 1.8 by me and it works perfectly. I highly recommend it!
    1. MrGeneralQ
      Author's Response
      Hello Akira

      Thank you for the feedback. I'm currently working on minor changes to make it compatible with future versions.

      Kind regards,

      Mr Q
  9. SoulStriker_
    SoulStriker_
    5/5,
    Version: 4.1.3
    Really nice plugin! Great for RPG or survival servers that want to skip the night. Gratz on 10k+ downloads :D
    1. MrGeneralQ
      Author's Response
      Hello Soulstriker

      Thank you for your feedback. I'm glad you like the plugin. Many more features to come.

      Kind regards,

      Mr Q
  10. 0fficerMike
    0fficerMike
    5/5,
    Version: 4.1.2
    The one and only plugin that I like so much for this problem.
    No more entire servers sleeping to make it day. Great idea, great plugin, great functions!
    1. MrGeneralQ
      Author's Response
      Hello Mike

      Thank you for your feedback. We keep on try adding more features without making it any more complex. Sleep most is supposed to be a simple to use plugin and it will remain like that.

      Kind regards,

      Mr Q