跳到正文

Trivia

A Trivia mod for Fabric 1.19.2, configurable questions are asked in chats, the first person to answer is given an item as a reward (also configurable)

收藏

截图

介绍

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

Trivia – A Fabric Question & Reward Plugin

On first run, the plugin will generate a Trivia folder with:

  • A “questions.json” file
  • A “rewards.json” file
  • A “messages.json” file
  • A “config.properties” file

Questions/Rewards are added under “pools”, which could be treated as categories or “difficulty ranges”.

Messages can be edited through the config (“messages.json”), with MiniMessage support.

Quiz timing can be edited through the “config.properties” file.

A quiz question will be put in chat every 10 minutes (configurable), and will time out if not answered in 2 minutes (configurable).

If a player’s inventory is full, or inserting the item goes wrong for some other reason, it is dropped in front of them.

Upcoming Features

  • Probability – probabilities will be configurable both on pools & individual questions/rewards
  • Cobblemon Integration – use Cobblemon API to auto generate questions like “What type is this Pokemon”, “What’s the ability from this description” etc
  • Command Rewards – with player name placeholders, so crates/pokemon/claim blocks can be given as rewards
  • Commands

  • /trivia reload [trivia.reload] – reload all config files (rewards, questions, intervals, messages)
  • /trivia interval (seconds) [trivia.interval] – set the amount of time that should pass between questions
  • /trivia timeout (seconds) [trivia.timeout] – after this many seconds, the question is “timed out” and not answerable
  • /trivia start [trivia.startt] – force start a quiz, useful for testing questions/rewards
  • Questions & Rewards Files

    On first run, these should be generated automatically, you can change them under /config/Trivia/

    Both questions & rewards are under “pools”, think of these as categories or difficulty types. Questions under the “easy” pool will give rewards from the “easy” pool, but the same could be done for Pokemon vs Minecraft trivia.

    See GitHub for configuration examples

    常见问题

    Trivia 支持哪些 Minecraft 版本?

    Trivia 支持 Minecraft Java 版 1.19.2–1.21.4,共 7 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

    Trivia 怎么安装?

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

    评论

    登录后评论和评分

    Roanoke Development 的其他作品

    查看全部 →