Jrrp – Daily Luck
A lightweight NeoForge mod that adds /jrrp, a fun daily luck command for Minecraft servers. Players receive a daily 0-100 luck value with configurable messages, placeholders, localized config UI, and optional server commands based on luck ranges.
介绍
Jrrp is a lightweight NeoForge mod that adds a simple /jrrp command to Minecraft.
Run the command once a day to get a personal "daily luck" value from 0 to 100. It is mostly a fun server interaction mod, but it also includes configurable messages, localized config screens, placeholders, and optional commands that can run based on the player’s luck range.
Jrrp 是一个轻量级 NeoForge 娱乐模组,为服务器添加 /jrrp 今日人品指令。玩家每天可以查询一次自己的今日人品数值,服务器也可以根据不同数值区间配置提示词和执行指令。
Features
- Adds the
/jrrpcommand. - Generates a per-player daily luck value from
0to100. - Keeps the same value for the same player during the same server-local day.
- Supports configurable result messages and random prompt words.
- Supports three configurable luck ranges:
0-5051-9091-100
- Can execute server commands based on the player’s current luck range.
- Blocks configured commands from calling
/jrrpitself to avoid recursive command loops. - Optional automatic result message when a player joins.
- Built-in NeoForge configuration screen.
- Localized config UI for
en_usandzh_cn. - No items, blocks, world generation, or gameplay progression changes.
Placeholders
The result message and configured commands support these placeholders:
$p/{player}– player name$v/{value}/{jrrp}– daily luck value$w/{word}– random prompt word{display_name}– player display name{uuid}– player UUID{x}/{y}/{z}– player block position{dimension}– current dimension{date}– current server-local date id
Configuration
The mod uses a NeoForge server config file. The main keys are:
result_message = "Today's luck: $v $w"
prompt_words_0_50 = [""]
prompt_words_51_90 = [""]
prompt_words_91_100 = [""]
auto_tip_on_login = false
commands_0_50 = []
commands_51_90 = []
commands_91_100 = []
run_commands_on_repeat = false
Example:
result_message = "Today's luck for {player}: {value} {word}"
prompt_words_0_50 = ["Take it easy today."]
prompt_words_51_90 = ["Looks like a decent day."]
prompt_words_91_100 = ["Excellent luck!"]
commands_0_50 = ["say {player}'s luck today is {value}"]
commands_51_90 = ["give {player} minecraft:iron_ingot 1"]
commands_91_100 = ["give {player} minecraft:diamond 1"]
run_commands_on_repeat = false
Commands are executed by the server. A leading slash is optional. Commands that directly call /jrrp, including simple execute ... run jrrp forms, are ignored to prevent recursion.
Installation
- Minecraft:
1.21.1 - Loader: NeoForge
- NeoForge version:
21.1.0or newer
Install the mod on the server to use /jrrp. Dedicated server admins should edit the server config file. Installing it on the client is useful for accessing the NeoForge mod list configuration screen in singleplayer or local server environments; it does not let a multiplayer client edit a remote server’s config.
Notes
This mod is intentionally small and made for fun. It does not represent real luck, gambling, rewards, or probability systems beyond a simple daily random number.
License: MIT
常见问题
Jrrp – Daily Luck 支持哪些 Minecraft 版本?
Jrrp – Daily Luck 支持 Minecraft Java 版 1.21.1–26.1.2,共 2 个版本,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
Jrrp – Daily Luck 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
lyxccc_ 的其他作品
查看全部 →Fantasy Pattern
Turn any JEI recipe into a single Fantasy Pattern and let your ME network craft it instantly — materials in, products out, no machines required.
ResearchTable – Unofficial
Allows pack maker to create research-based tech tree
EFab – Unofficial
EFab steampunk styles crafting system
EFab-Create
Added compatibility with Create for EFab - Unofficial
评论
登录后评论和评分