Skip to content

ShottyGames

Fourteen minigames for an events server, each one an event in ShottyEvents: players join with /event join or by voting for it, ShottyEvents moves them in and out, and the winners are paid for every player they beat. Every game builds a fresh world of its own and deletes it afterwards, and a private lobby plays its own copy, so several lobbies can play at once.

  • Server: Paper 26.3, Java 25.
  • Recommended: ShottyEvents (runs the games, the vote and the prizes), Multiverse-Inventories (keeps game inventories out of the hub), Multiverse-Core.
  • Optional: rGoldenHeads (turns UHC heads into Golden Heads).
Game (id) Kind How it plays
Block Shuffle (blockshuffle) once per event Every round each player gets a block to stand on before time runs out. Fail and you’re out, unless nobody found theirs. Rounds get shorter and blocks harder. Last one in wins.
Item Race (itemrace) once per event Get the item you’re given, then the next. Three skips (the barrier in the last slot, or /games skip). Most items in 30 minutes wins. Fresh world and Nether.
Murder Mystery (murdermystery) once per event One murderer (with a knife after 10 s), one detective (with a bow), the rest innocent. 10 gold buys a bow; shooting an innocent kills the shooter too. Innocents win if the murderer dies or after 5 minutes. Name tags hidden. Needs a map.
Survival Games (survivalgames) once per event Everyone starts frozen in a ring round the middle chests. 30 s grace, chests refill at 6:00, the border closes from 4:00. Last one alive wins. A map, or a fresh world with chests placed for you.
Build Battle (buildbattle) once per event A theme and a plot each, 5 minutes in creative, then everyone rates every other build from 1 to 6. Highest total wins.
UHC (uhc) once per event Fresh world and Nether. No natural regeneration, grace period, then the border closes (and the Nether with it). Ores drop smelted; a player who dies drops their head. Last one alive wins.
Manhunt (manhunt) once per event One runner (and their party) against everyone else in a fresh world, Nether and End. The runner gets a head start, the hunters a compass. The runners win by killing the Ender Dragon, the hunters once every runner is dead.
Infection Manhunt (manhunt_infection) once per event The hunter who lands the killing blow becomes the runner. Whoever is runner when the dragon dies, or at 40 minutes, wins.
Assassin Manhunt (manhunt_assassin) once per event A hunter the runner looks at can’t move or hit; a hit from a hunter the runner can’t see kills.
Hide and Seek (hideandseek) once per event A seeker (with their party) waits in a glass box while everyone hides, then seeks; a hider who is hit seeks too. Fireworks give hiders away now and then, and they glow near the end. Hiders left at the end win. Needs a map.
Bingo (bingo) once per event Every team gets the same card of 25 items. First full row, column or diagonal wins (or the whole card in full mode); at the time limit, most marks wins. A party plays as one team.
Infinite Parkour (parkour) once per event Everyone gets a lane; jumps appear ahead of you, a little harder as you go. Fall and a new run starts. Best run when time is up wins.
Spleef (spleef) quick Two snow floors and an Efficiency V shovel; breaking snow gives snowballs. The floor melts after 90 s. Last one standing wins.
Sumo (sumo) quick One platform, fists and knockback only; everyone gets a knockback stick after 60 s. Last one on wins.
Snowball Fight (snowball) quick An arena with snow forts, endless snowballs and 4 lives each. Last one in wins; at 3 minutes, most lives wins.
TNT Run (tntrun) quick Layers of sand and gravel over TNT; every block you stand on drops a moment later. A feather gives a few double jumps. Last one up wins.

Once-per-event games wait in ShottyEvents’ waiting room. The game builds its world when the event starts (/games start <game> from the event’s start line), everyone goes back to the hub with event leave when it ends, and the world is deleted.

Quick games keep one arena up while anyone is there. Players wait in a glass box above it and a round starts by itself whenever min-players are waiting. Between rounds the arena is rebuilt; when the last player leaves, it goes.

Command Who What it does
/games join <game> [instance] players Joins a game (ShottyEvents’ join lines run it).
/games leave players Leaves the game.
/games status [game] players What each game is doing.
/games skip players Skips your current item in Item Race.
/games start <game> [instance] [force], /games stop <game> [instance] staff Starts or stops a once-per-event game, as the event lines do. force starts with one player.
/games worldtest <game> [map] staff Builds the game’s world as a game would, says what it found, and removes it 5 s later.
/games maps staff Lists the downloaded maps for each game.
/games map <game> <map|random> staff Picks the map for the next game.
/games reload staff Reloads the config.

Aliases /mg and /minigames. Permissions: shottygames.play (everyone) and shottygames.admin (operators).

Each game uses fixed world names, made new for every game and deleted after (and at startup if a crash left one): blockshuffle, itemrace, itemrace_nether, murdermystery, survivalgames, spleef, sumo, snowball, buildbattle, uhc, uhc_nether, manhunt, manhunt_nether, manhunt_the_end (and the same for manhunt_infection and manhunt_assassin), tntrun_game, hideandseek, bingo_game, bingo_game_nether and parkour. A private lobby’s copy adds _p1, _p2 …. Only those names are ever deleted.

Put them all in one Multiverse-Inventories group that shares everything, so nothing from a game ends up in the hub:

plugins/Multiverse-Inventories/groups.yml
groups:
minigames:
worlds: [blockshuffle, itemrace, itemrace_nether, murdermystery, survivalgames, spleef, sumo, snowball,
buildbattle, uhc, uhc_nether, manhunt, manhunt_nether, manhunt_the_end, tntrun_game, hideandseek,
bingo_game, bingo_game_nether, parkour]
shares: [all]

A player’s inventory is only cleared inside a game world, after the teleport has swapped inventories.

Without downloads:

  • Spleef, Sumo, Snowball Fight, TNT Run, Build Battle, Infinite Parkour: an arena built in code.
  • Survival Games: a fresh world, with 8 chests in the middle and 40 spread around.
  • Block Shuffle, Item Race, UHC, Manhunt, Bingo: a fresh world.
  • Murder Mystery and Hide and Seek need a map: one you download, or one from Kenshin’s Hide and Seek plugin if its maps.yml is on the server.

A downloaded map goes in plugins/ShottyGames/maps/<game>/<map>/ (the world folder holding level.dat and region/). Its region, entity and POI files are copied for each game; its data/ folder is not. Then describe it under maps: in config.yml:

maps:
survivalgames:
mymap:
credit: "My Map by Someone" # shown at the start of every round
center: "0,70,0" # the cornucopia
radius: 200 # chests in reach are filled as the map loads; the border starts here
Key What it does
credit Shown at the start of each round (most map makers ask for this).
center x,y,z: the middle of the map.
radius How far the map reaches from the center.
spawns Fixed start points, as x,y,z or x,y,z,yaw,pitch.
height Murder Mystery: how far above and below the center players and gold can appear (12).
fall-y Sumo and Snowball Fight: below this height you’re out.
spawn-radius Survival Games and the quick games: how far from the center players start.
extra-chests Survival Games: chests added at random on a map with too few.
folder The folder to use, when several maps share one world (an arena pack).
enabled: false Takes a map out of the rotation.

Command blocks never run in a game world, so a map’s own command-block game stays off. Spleef restores the snow in a map’s radius between rounds.

The shipped config.yml has entries for these free maps. The maps themselves are not included: download them from their makers, check their terms, and put each in its folder. Remove the entries for maps you don’t use.

Game Folder Map Made by
Survival Games downstream Downstream Schnogot, eti28 and flashced
Survival Games snowie Snowie Mountains HendrixHRx
Murder Mystery santafactory SantaFactory (spawn points from Plugily Projects) VentureKraft
Murder Mystery rushhour Rush Hour Express HalfDecentStrange
Sumo freesumo (canyon, beach, ruins, tuff, winter, end) Free Sumo Arena Pack FroggyTeam

At the end the console runs win-commands once, with every winner’s name:

win-commands:
- "event win {winners} --players {players} --event {game}"
leave-command: "event leave" # typed by each player when a once-per-event game is over
round-command: "event round {game}" # at the start of each quick-game round ("" for none)

ShottyEvents pays each winner for every other player who started. A game that started with one player pays nothing. Without ShottyEvents, change these to your own commands.

prefix starts the plugin’s chat messages, and scoreboard.title and scoreboard.footer frame the sidebar during a game (the footer is a last line such as your server’s address; empty, none).

Each game has a section under games: with its name, min-players, countdown and its own timings: round lengths, border sizes, grace periods, lives, plot size and Build Battle’s themes, Bingo’s mode (line or full) and card mix, and so on. The shipped config.yml explains each setting.

mvn -B package gives target/ShottyGames-<version>.jar (JDK 25, Paper API 26.3).