HomeJavaModsMinigames Framework
ModsJava

Minigames Framework

by Freddymac48999 · on Modrinth

A powerful, extensible minigame framework for Paper servers featuring queue-based matchmaking, arena management, and two built-in minigames: Sumo Arena…

⬇ Download on Modrinth

Minigame Framework

Extensible minigame framework plugin for Paper Minecraft 1.21.x

Java Paper Minecraft

A powerful, extensible minigame framework for Paper servers featuring queue-based matchmaking, arena management, and two built-in minigames: Sumo Arena and Pillars of Fortune. The framework is designed to be easily extended with custom minigames via the Minigame interface.

Features

Minigames

Sumo Arena

Knock your opponents off the platform! The last player standing wins. The platform automatically shrinks over time to keep matches intense.

Pillars of Fortune

Build and survive on pillars! Players are eliminated by falling below the disqualification level (dq_y) or taking lethal damage. Features item distribution from a configurable pool and a world border around the arena.

Configuration

Main Configuration

Edit plugins/MinigameFramework/config.yml to configure:

See config.yml for the default configuration with comments.

Arena Configuration

Arenas are configured per-minigame:

For detailed arena file formats, see:

After editing arena files, use /mg reload to load changes.

Commands

Command Aliases: /minigame, /mg, /game

Player Commands

Command Description
/mg list List all available minigames and queue status
/mg leave Leave your current queue or match
/mg sumo join <type> Join a Sumo queue (type1 or type2)
/mg sumo leave Leave the Sumo queue
/mg pillars join <type> Join a Pillars queue (type1, type2, type3, or type4)
/mg pillars leave Leave the Pillars queue

Admin Commands

Command Description Permission
/mg reload Reload all configuration files and arenas minigames.reload
/mg win <player> Force a player to win their current match minigames.admin

Sumo Admin Commands

Command Description
/mg sumo create <name> <type> Create a new Sumo arena configuration
/mg sumo setworld <arenaName> Set the world for an arena (stand in the world)
/mg sumo setspawn <arenaName> <spawnIndex> Set a spawn location (stand at the location)
/mg sumo addcorner <arenaName> <corner1|corner2> Set platform corner coordinates
/mg sumo setdqlevel <arenaName> Set disqualification Y level (stand at the level)
/mg sumo setfloorlevel <arenaName> Set platform floor Y level (stand at the level)

Pillars Admin Commands

Command Description
/mg pillars create <name> <type> Create a new Pillars arena configuration
/mg pillars setworld <arenaName> Set the world for an arena (stand in the world)
/mg pillars setspawn <arenaName> <spawnIndex> Set a spawn location (stand at the location)
/mg pillars setdqlevel <arenaName> Set disqualification Y level (stand at the level)
/mg pillars reload Reload the item pool configuration

Note: All admin commands require the minigames.admin permission or OP status.

Permissions

Permission Description
minigames.reload Allows use of /mg reload command
minigames.admin Allows use of /mg win and all minigame admin commands (create, setworld, setspawn, etc.)

Note: Server operators (OPs) have access to all commands without explicit permissions.

PlaceholderAPI Integration

The plugin integrates with PlaceholderAPI to provide placeholders for player statistics and arena availability. This is perfect for creating scoreboards with plugins like FancyHolograms or other scoreboard/hologram plugins.

Installation

  1. Install PlaceholderAPI on your server
  2. The Minigame Framework will automatically detect and register its expansion on startup
  3. Use /papi reload to reload placeholders after installing the plugin

Player Statistics Placeholders

Wins:

Kills:

Top Players (Leaderboards):

Leaderboard Details:

Arena Availability Placeholders

Track how many arenas are available or in use for specific minigame types:

Arena Type Examples:

Usage Examples

FancyHolograms Scoreboard Example:

Top Pillars Players:
1. %player_name% - %minigames_pillars_wins% wins, %minigames_pillars_kills% kills
2. ...

Global Stats Scoreboard:

Your Stats:
Wins: %minigames_total_wins%
Pillars: %minigames_pillars_wins% wins, %minigames_pillars_kills% kills
Sumo: %minigames_sumo_wins% wins

Arena Status Display:

Pillars Type1 Arenas:
Available: %minigames_pillars_type1_arenas_available%
In Use: %minigames_pillars_type1_arenas_in_use%
Total: %minigames_pillars_type1_arenas_total%

Top Players Leaderboard Examples:

Complete Pillars Top 20 Leaderboard:

Top Pillars Players:
1. %minigames_pillars_top_1_name% - %minigames_pillars_top_1_wins% wins
2. %minigames_pillars_top_2_name% - %minigames_pillars_top_2_wins% wins
3. %minigames_pillars_top_3_name% - %minigames_pillars_top_3_wins% wins
4. %minigames_pillars_top_4_name% - %minigames_pillars_top_4_wins% wins
5. %minigames_pillars_top_5_name% - %minigames_pillars_top_5_wins% wins
6. %minigames_pillars_top_6_name% - %minigames_pillars_top_6_wins% wins
7. %minigames_pillars_top_7_name% - %minigames_pillars_top_7_wins% wins
8. %minigames_pillars_top_8_name% - %minigames_pillars_top_8_wins% wins
9. %minigames_pillars_top_9_name% - %minigames_pillars_top_9_wins% wins
10. %minigames_pillars_top_10_name% - %minigames_pillars_top_10_wins% wins
11. %minigames_pillars_top_11_name% - %minigames_pillars_top_11_wins% wins
12. %minigames_pillars_top_12_name% - %minigames_pillars_top_12_wins% wins
13. %minigames_pillars_top_13_name% - %minigames_pillars_top_13_wins% wins
14. %minigames_pillars_top_14_name% - %minigames_pillars_top_14_wins% wins
15. %minigames_pillars_top_15_name% - %minigames_pillars_top_15_wins% wins
16. %minigames_pillars_top_16_name% - %minigames_pillars_top_16_wins% wins
17. %minigames_pillars_top_17_name% - %minigames_pillars_top_17_wins% wins
18. %minigames_pillars_top_18_name% - %minigames_pillars_top_18_wins% wins
19. %minigames_pillars_top_19_name% - %minigames_pillars_top_19_wins% wins
20. %minigames_pillars_top_20_name% - %minigames_pillars_top_20_wins% wins

Complete Sumo Top 20 Leaderboard:

Top Sumo Players:
1. %minigames_sumo_top_1_name% - %minigames_sumo_top_1_wins% wins
2. %minigames_sumo_top_2_name% - %minigames_sumo_top_2_wins% wins
3. %minigames_sumo_top_3_name% - %minigames_sumo_top_3_wins% wins
4. %minigames_sumo_top_4_name% - %minigames_sumo_top_4_wins% wins
5. %minigames_sumo_top_5_name% - %minigames_sumo_top_5_wins% wins
6. %minigames_sumo_top_6_name% - %minigames_sumo_top_6_wins% wins
7. %minigames_sumo_top_7_name% - %minigames_sumo_top_7_wins% wins
8. %minigames_sumo_top_8_name% - %minigames_sumo_top_8_wins% wins
9. %minigames_sumo_top_9_name% - %minigames_sumo_top_9_wins% wins
10. %minigames_sumo_top_10_name% - %minigames_sumo_top_10_wins% wins
11. %minigames_sumo_top_11_name% - %minigames_sumo_top_11_wins% wins
12. %minigames_sumo_top_12_name% - %minigames_sumo_top_12_wins% wins
13. %minigames_sumo_top_13_name% - %minigames_sumo_top_13_wins% wins
14. %minigames_sumo_top_14_name% - %minigames_sumo_top_14_wins% wins
15. %minigames_sumo_top_15_name% - %minigames_sumo_top_15_wins% wins
16. %minigames_sumo_top_16_name% - %minigames_sumo_top_16_wins% wins
17. %minigames_sumo_top_17_name% - %minigames_sumo_top_17_wins% wins
18. %minigames_sumo_top_18_name% - %minigames_sumo_top_18_wins% wins
19. %minigames_sumo_top_19_name% - %minigames_sumo_top_19_wins% wins
20. %minigames_sumo_top_20_name% - %minigames_sumo_top_20_wins% wins

Custom Formatting Example: You can customize the display format in FancyHolograms or other plugins:

§6§lTop Pillars Players
§7Rank §eName §7- §aWins
1. §e%minigames_pillars_top_1_name% §7- §a%minigames_pillars_top_1_wins%
2. §e%minigames_pillars_top_2_name% §7- §a%minigames_pillars_top_2_wins%
...

Future-Proof Design

The placeholder system automatically supports new minigames without code changes. When you add a new minigame:

Simply use the minigame's name (from Minigame.getName()) and arena types in your placeholders. The leaderboard will automatically track and sort players by wins for any new minigame you add.

Statistics Storage

Player statistics are stored in plugins/MinigameFramework/stats.yml and are automatically saved:

Stats persist across server restarts and are tracked per player UUID.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more