跳到正文

NoMoreTravelFatigue (Via Romana Addon)

作者:Player_rs

服务端模组,将旅行疲劳效果的持续时间限制为可配置的上限。

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

🧭 NoMoreTravelFatigue

🦵 Server-side control over travel fatigue

NoMoreTravelFatigue is a lightweight Forge mod designed to enforce a configurable maximum duration for the via_romana:travellers_fatigue effect in a clean, optimized, and server-authoritative way.

This mod was created to address scenarios where travel fatigue durations can become excessive, ensuring consistent and controlled travel mechanics without removing the effect entirely.


✨ Features

✅ Caps the via_romana:travellers_fatigue effect to a configurable maximum duration
✅ Fully server-side logic (clients do not need to configure anything)
✅ Config file stored in /config
✅ Optimized periodic validation with configurable intervals
✅ Optional action bar notification when the effect duration is adjusted
✅ Preserves original effect properties (amplifier, visibility, ambient state)

 


⚙️ Configuration

The mod generates a simple configuration file:

 
/config/nomoretravelfatigue-common.toml

Example:

 
[travellers_fatigue]
# Maximum allowed duration of the travellers_fatigue effect (in seconds)
effectDuration = 10
# How often the server checks and adjusts the effect (in seconds)
checkIntervalSeconds = 1
# Show an action bar message when the effect is capped
showMessage = true
# Action bar message displayed to the player
actionBarMessage = "§eTravel fatigue reduced to server limit"
 

🖥️ Server-side Behavior

🛡️ The server is always authoritative:

  • The effect duration is periodically validated on the server
  • If the duration exceeds the configured limit, it is automatically reduced
  • Clients cannot bypass or override the server-defined rules

     


    🧩 Client & Modpack Use

    This mod can be used in modpacks and works normally in singleplayer.
    In singleplayer, it runs on the integrated server and behaves the same way as on a dedicated server.


📦 Requirements

  • Minecraft: 1.20.1
  • Mod Loader: Forge 47.4.0
  • Required Mod: Via Romana 1.2.4

⚠️ This mod was developed and tested specifically against Via Romana version 1.2.4.

常见问题

NoMoreTravelFatigue (Via Romana Addon) 支持哪些 Minecraft 版本?

NoMoreTravelFatigue (Via Romana Addon) 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

NoMoreTravelFatigue (Via Romana Addon) 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Player_rs 的其他作品

查看全部 →