Hypnos

Quick rating

Community listing page, reviews here may not be monitored by the author.

Hypnos

By CodelaxOwner

No reviews yet

Simple sleep vote mod

Mod Loaders
Fabric
Minecraft

Community voices

Reviews

List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Show per page
10
25
50
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Where It Runs
Server Only

Runs entirely on the server. Also works in singleplayer.

About

Project Details

Type
Mod
License
Custom License
Latest Version
hypnos-0.1.2.jar

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Hypnos is a server-side mod for Fabric. Mod is still loaded client-side so you can use while opening your server with "Open to LAN"

When a player goes into bed, it will check if an amount of player are sleeping. If enough players are sleeping, night will be skipped.

Its requirement is Fabric-Api

Config

Values

  • playerPercentage is the percentage of player that need to sleep
  • notEnoughPlayerMessage is the message displayed when a player enter his bed but not enough players are sleeping
  • nightSkipMessage is the message used when skipping night
  • enableWakeUp enable or disable broadcasting of wakeUpMessage
  • wakeUpMessage is the message displayed when a player leaves his bed
  • ignoreSleepDuringDay enabling it will ignore when player enter a bed during day (true per default)

Message arguments

In messages, you can use different variables

  • {player}: player entering his bed
  • {sleeping}: amount of players sleeping
  • {required}: number of required player sleeping to skip night

Each message can have only specific arguments

  • notEnoughPlayerMessage: {player}, {sleeping}, {required}
    • nightSkipMessage: {sleeping}, {required}
    • wakeUpMessage: {player}, {sleeping}, {required}

You can also use minecraft color tags as seen here

Hypnos

Minecraft mod using fabric api

Config

Values

  • playerPercentage is the percentage of player that need to sleep
  • notEnoughPlayerMessage is the message displayed when a player enter his bed but not enough players are sleeping
  • nightSkipMessage is the message used when skipping night
  • enableWakeUp enable or disable broadcasting of wakeUpMessage
  • wakeUpMessage is the message displayed when a player leaves his bed
  • ignoreSleepDuringDay enabling it will ignore when player enter a bed during day (true per default)

Message arguments

In messages, you can use different variables

  • {player}: player entering his bed
  • {sleeping}: amount of players sleeping
  • {required}: number of required player sleeping to skip night

Each message can have only specific arguments

  • notEnoughPlayerMessage: {player}, {sleeping}, {required}
  • nightSkipMessage: {sleeping}, {required}
  • wakeUpMessage: {player}, {sleeping}, {required}

You can also use minecraft color tags as seen here

Default config

{
  "playerPercentage": 50,
  "notEnoughPlayerMessage": "§9{player} entered bed, not enought to skip night [{sleeping}/{required}]§r",
  "nightSkipMessage": "§9Enough players are sleeping, skipping night§r",
  "wakeUpMessage": "§9{player} leaved bed§r",
  "enableWakeUp": false,
  "ignoreSleepDuringDay": true
}

Screenshots

Gallery

  • Night skip
    Night skip

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~190,000
Total Downloads
CurseForge
~190,000
Modrinth
<1,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works