Hunger Strike

Hunger Strike

Restores pre-hunger health mechanics

by
41.5K Downloads
forgeneoforgefoodgame-mechanics
Rent Server with this Mod

About this Mod

Join us in Discord: https://discord.gg/8WtpQfy

Overview

The purpose of this mod is to dial back the hunger system for players that wish to play in a Survival world without having to constantly feed themselves. The mod is designed to be configurable on a per-player basis for SMP servers, so not all players need to be forced one way or the other. This will tilt balance, but whether that is acceptable is up to you.

The mod makes the following functional changes for affected players:

The hunger bar is fixed at half capacity. This allows sprinting and disables health regen.
If the player is afflicted with the "hunger" effect, their hunger bar will drop below the sprint threshold.
If the player is affliced with the "regeneration" effect, their hunger bar will max out.
Eating food will instantly restore health at half the food value of a given food item. E.g., a cookie will restore a half heart. A cooked porkchop will restore 2 hearts.
Configuration

The mod will create a configuration file 'hungerstrike.cfg'. It has a single config option:

Mode: How the mod is applied to players. Acceptable values are NONE, LIST, and ALL. Default is LIST.
NONE: Hunger strike is disabled for all players.
LIST: Hunger strike is enabled only for players added in-game with the /hungerstrike command.
ALL: Hunger strike is enabled for all players.

The configration can be modified in-game via commands, as well as directly editing the file.

Links and Resources

Additional information can be found in this mod's MC Forums Thread.

Source code can be found on the mod's GitHub Project page.

Available Versions

Hunger Strike 8.3.0release
MC 1.20.6neoforge
August 28, 2024
Hunger Strike 8.2.0release
MC 1.20.4neoforge
August 28, 2024
Hunger Strike 8.1.0release
MC 1.20.2neoforge
August 28, 2024
Hunger Strike 8.0.0release
MC 1.20.1forge, neoforge
August 28, 2024
Hunger Strike 1.19.2-7.0.1release
MC 1.19.2forge
August 28, 2024

How to Install Hunger Strike on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set forge Loader

In the panel under "Egg", select the forge loader and matching Minecraft version (1.21.1).

3

Install Mod

Open the mod browser in the dashboard and search for "Hunger Strike". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

forgeneoforge

Minecraft Versions

1.21.1, 1.21, 1.20.6 (+27 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Hunger Strike server crashes on startup – what to do?

Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.1). You can switch loaders with one click in the panel.

Is Hunger Strike compatible with forge and neoforge?

Hunger Strike officially supports forge, neoforge for Minecraft 1.21.1, 1.21, 1.20.6. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Hunger Strike – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Hunger Strike consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Hunger Strike with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.21.11.211.20.61.20.41.20.21.20.11.19.21.191.18.21.18.1+20 more