Download Haven Trivia — Minecraft Mods — MetaMods

Haven Trivia

Active

Downloads

0

Last update

7 months ago
Client
Decor
Utils

Haven Trivia

HavenTrivia is a server-side Forge mod that implements a trivia system with rewards and a leaderboard. This module is fully automated, customizable to your needs, and doesn't require client-side installation.

Command Management

Public Commands

  • /trivia leaderboard - displays the top ten trivia players
  • /trivia about - shows the number of available questions and rewards for each category

Administrator Commands

(requires haventrivia.admin permission)

  • /trivia start - starts the automatic trivia system
  • /trivia stop - stops the automatic question system
  • /trivia ask - immediately asks a trivia question
  • /trivia timeout - forcibly ends the current question
  • /trivia reload - reloads questions.json and rewards.json files
  • /trivia add <player|all> <amount> - adds points to the specified player or all online participants
  • /trivia remove <player|all> <amount> - removes points from a player or all leaderboard participants
  • /trivia reset <player|all> - resets the score of a specific player or completely clears the leaderboard

Configuration Settings

  • interval - interval in seconds between automatic questions (0 to disable auto mode)
  • minPlayers - minimum number of online players to launch trivia
  • maxTime - time in seconds until question timeout
  • prefix - text prefix for all trivia messages

System Operating Principle

Questions are loaded from the questions.json file with distribution across difficulty levels. Rewards (items and commands) are defined for each category in the rewards.json file. The system broadcasts questions to all server participants, and the first correct answer receives the reward.

For each correct answer, the player receives 1 point, which are saved and ranked in a permanent leaderboard. All data is stored in the world folder at the path: serverconfig/haventrivia/

Access Rights

Administrator commands require the permission: haventrivia.admin.

If no rights management mod is installed on the server, the system by default uses vanilla access level 2 (OP status).

Project members
CathieNova

CathieNova

Created: 25 Mar 2025

ID: 94999