跳到正文

birthday-fabric

作者:Hyouka

A birthday celebration mod designed for Minecraft servers, allowing each player to set their birthday and receive gifts and warm wishes from others on their special day!

收藏

介绍

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

Description

A birthday celebration mod designed for Minecraft servers, allowing each player to set their birthday and receive gifts and warm wishes from others on their special day!

Features

  • Players can set their birthday (MM-DD format)
  • Players can modify their birthday up to 3 times (configurable)
  • Admins can set/modify birthdays for other players
  • Birthday info persists across server restarts
  • Players can say “Happy Birthday” or “生日快乐” in chat to receive a cake
  • Special birthday message and cake for the birthday player
  • Automatic birthday detection (checks daily)

Commands

  • /birthday <MM-DD> – Set your birthday date (e.g. /birthday 05-20)
  • /birthday info – Check your current birthday setting
  • /birthday list – List all players with birthdays today
  • /birthday for <player> <MM-DD> – Set birthday for another player (OP required)
  • /birthday reload – Reload configuration (OP required)

Configuration

Mod configuration file is located at ./config/birthdaymod/config.json. Here’s the default configuration with explanations:

Default Config

{
  // Player settings
  "maxModifications": 3,                 // Maximum number of times a player can change their birthday
  "announceCooldownHours": 4,            // Minimum hours between birthday announcements
  
  // Message templates (use %s for dynamic values)
  "birthdaySet": "§6Your birthday: §e%s", // Message when player sets their birthday
  "birthdayAdminSet": "§6Set birthday for §b<%s> §6to: §e%s", // Admin sets birthday for another player
  "birthdayTodayPlayers": "§dToday's birthday players: §a<%s>", // List of today's birthdays
  "birthdayReminder": "§eYou haven't set your birthday yet. Use §b/birthday MM-DD §eto set it.", // Reminder for unset birthdays
  "birthdayCakeReceived": "§dYou received a birthday cake from §b<%s>", // Cake reward message
  "birthdayInvalid": "§cInvalid date format! §7Please use §eMM-DD§7 (e.g. §a05-20§7)", // Invalid date format error
  "birthdayWarning": "§cYou've modified your birthday too many times! §7Please contact an admin if you need further changes.", // Modification limit warning
  
  // System messages
  "birthdayAnnouncement": "§a[System] §6Today is §e<%s>§6's birthday (‾◡◝). §aLet's all wish them a happy birthday! §7(Type §b'Happy Birthday' §7in chat to receive a birthday cake!)", // Server-wide birthday announcement
  "birthdayMessage": "§a[System] §e(。・∀・)ノ゙ Hi §b%s§e, happy birthday! §aPlease check your inventory for a special gift from us. §dThank you for your continued support. May you find happiness under every starry sky!", // Personal birthday message
  
  // Chat triggers
  "rewardKeywords": [                    // Phrases that trigger cake rewards when said in chat
    "Happy Birthday",                    // Default English trigger
    "生日快乐"                           // Default Chinese trigger
  ]
}

License

MIT

常见问题

birthday-fabric 支持哪些 Minecraft 版本?

birthday-fabric 支持 Minecraft Java 版 1.21–1.21.5,共 6 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

birthday-fabric 怎么安装?

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

评论

登录后评论和评分

Hyouka 的其他作品

查看全部 →