Skip to content

ShottyMace

Mace Roulette: last player standing on a floating floor that shrinks, with a mace. Two modes, 22 modifiers, arenas built by hand as well as its own, a training spot, and stats with a rotating leaderboard. It runs as an event in ShottyEvents, so it is in the vote and the automatic events, and wins are paid with ShottyEvents’ prizes and bonuses. It can also have a server to itself (On a server of its own).

  • Server: Paper 26.3, Java 25.
  • Recommended: ShottyEvents, Multiverse-Inventories, and ShottyCore’s companion for the network’s cosmetics.

Everything is built in code in one empty world of its own (world, default shottymace): the Mace lobby at (0, 100, 0), the arena at (1000, 100, 0) and the training spot at (-1000, 100, 0). Nothing outside that world is touched. A private lobby can play its own copy, in shottymace_p1, shottymace_p2 ….

  1. Get ShottyMace (it is sold: see Buying the plugins). Put its license key on a line of its own in a file called shotty-license.key in the server’s folder (License keys).
  2. Stop the server, put the jar in plugins/, and start it. It builds its own world (shottymace) with the lobby, arena and training spot; nothing else on the server is touched.
  3. Go there with /mace play, and queue with /mace join (the lime dye). A game starts once enough players queue.

With ShottyEvents it runs as an event (see With ShottyEvents). Without it, see On a server of its own, or set rewards.commands to your economy’s command and exit.command to where players go when they leave (see Configuration).

Players come in with /event join while Mace Roulette is the event, wait in the Mace lobby and are queued automatically. A game starts 30 seconds after enough players are queued (2), or 10 seconds once it is full (16). The mode is the one the players voted for (a tie, or no votes, is random):

  • Roulette: each turn a spin picks a player (fewest turns first, never the same one twice running). They get the mace, one wind charge and 12 seconds. A smash on another player knocks that player out. If they land from a launch without smashing anyone, or run out of time, they explode and lose 4 hearts, and the mace goes to someone else; with no hearts left they’re out. Health doesn’t come back. Nobody else can hurt anyone, but smashes, wind charges and explosions push, and falling off is out. The floor shrinks before every third turn.
  • Free-for-all: everyone has a mace and up to 3 wind charges (one back every 6 seconds). Smashes do half their usual damage; ordinary hits (a fist, or the mace without a fall) do nothing, as in Roulette. Health doesn’t come back except 2 hearts for a knockout. The floor shrinks every 30 seconds. After 8 minutes, the most knockouts wins.

The floor starts at radius 8 plus 1 per player (at most 24), shrinks 2 at a time (never below 5), and the ring about to go turns red for 2 seconds first. After a game everyone goes back to the Mace lobby and into the queue.

Modifiers: most games roll one or two (10% none) of 22, at most one per group:

Group Modifiers
Floor Ice Floor, Glass Floor, Slime Floor, Soul Sand
Shape Donut (a hole in the middle), Tiny Map
Players Low Gravity, Super Jump, Speed Frenzy, Lights Out, Random Sizes, Growth Spurt, Heavy Hitters
Arena TNT Rain, Thunderstorm, Cobweb Trap
Mace Explosive Hits, Wind Storm, Wind Burst, Double Mace and Mace or Die (Roulette), One Punch (Free-for-all)

Training: three dummies that never move or die. Each hit says how hard it was and whether it was a smash, with the best smash of the visit.

The win: a statue of the winner appears in the middle of the arena, holding the mace, with fireworks round it.

Cosmetics are the network’s, from ShottyCore, not Mace Roulette’s own. A knockout by another player (a smash, a hit or a push off the edge) runs knockouts.commands, which by default play the knocker’s kill effect where the player went out (cosmeticeffect kill). A win plays the winner’s win effect: through ShottyEvents’ win on an events server, or cosmeticeffect win on a server of its own. Without ShottyCore’s companion those commands are skipped. (Versions before 1.4.0 had their own helmets and win poses.)

Stats: games, wins (per mode, unless game.mode plays only one), knockouts, times out, smashes, misses, turns with the mace (hit rate = smashes per turn) and streaks, kept in stats.yml. The lobby leaderboard turns through most wins, most knockouts, best hit rate (10 turns or more) and longest streak.

Besides the round floor built in code, Mace Roulette plays on arenas that builders make by hand.

In the world (build it in a void world, or anything below the arena gets copied too):

  • Build the floor players fight on, and any scenery round it.
  • Put a sign standing on the floor in the middle, with [mace] on its first line. Its other lines say its size (small, medium or large), and can say radius 20 (how far the floor reaches from the sign) and by Someone (the credit shown at the start of each game). For example: [mace] / medium / by Someone.

Everything within the radius of the sign is the floor. In a game it falls away from the edge in, whole columns at a time (the top block turns red first), down to arena.min-radius. Everything further out, up to 24 more blocks, is scenery and stays until the game ends. Without a radius on the sign, it is how far the floor’s layer reaches from the block under the sign. Blocks are copied with their looks (signs keep their writing, banners their patterns); mobs, armour stands and item frames are not.

On the server: put the world folder in plugins/ShottyMace/arenas/<name>/ (upload it zipped and unzip it there) and run /mace arenas reload; it says each arena’s size and where it came from.

Sizes. Each game plays on the size that suits its players: up to 4 players on a small arena, up to 8 on a medium one, more on a large one (arenas.sizes). It draws between the built arenas of that size (weight 10 each) and the classic one (arenas.classic-weight, 10), which is then built to that size: small up to radius 12, medium up to 16, large beyond. With no built arena of a size, games of that size play on the classic one (or, with classic-weight 0, the nearest size that has one). A sign that doesn’t say its size gets one from its floor, by the same radii. /mace arena <name> picks the next game’s arena, /mace arena small|medium|large its size. Floor and shape modifiers are never rolled on a built arena, since it has its own.

/mace, aliases /mr and /maceroulette.

Command Who What it does
/mace join players Joins or leaves the queue (the lime dye does the same).
/mace vote [roulette|ffa] players Votes for the next mode (the nether star opens the vote).
/mace train, /mace watch players The training spot; watch the game that is on.
/mace leave players Back to the Mace lobby; from the lobby, out (exit.server or exit.command, like the bed).
/mace stats [player], /mace top [wins|kills|hit-rate|best-streak] players
/mace start [roulette|ffa] [force], /mace stop staff Start now with the queued players (force: even one), or stop the game.
/mace mode <roulette|ffa>, /mace modifier <ids...|random|none> staff The next game’s mode and modifiers.
/mace pause, /mace resume staff Stops games starting (the queue stays, the countdown stops) until resumed; /mace start still starts one.
/mace arenas [reload], /mace arena <name|classic|random|small|medium|large> staff The built arenas with their sizes (reload reads the folder again), and the next game’s arena or size.
/mace play [copy], /mace exit, /mace close [copy] ShottyEvents Its join, leave and stop lines. From the console: mace enter <player> [copy].
/mace resetstats <player>, /mace reload staff

Permissions: shottymace.play (everyone), shottymace.admin (operators).

events:
maceroulette:
name: "<gradient:#ff5f5f:#ffb35f><bold>Mace Roulette</bold></gradient>"
description: "Smash or be smashed on a shrinking floor"
min-players: 2
twists: [] # Mace Roulette rolls its own modifiers
worlds: [shottymace]
instances: true # a private lobby plays its own copy
join:
commands: ["player: mace play {instance}"]
leave: ["player: mace exit"]
start: []
stop: ["console: mace close {instance}"]
reset: []

It has no start lines, so it repeats by itself until ShottyEvents closes it (vote.loop-minutes, or when empty). A win runs rewards.commands: event win {player} --players {players} --event maceroulette.

Give the world (and its copies) a Multiverse-Inventories group of its own that shares everything, so nothing from the hub comes in and nothing from Mace goes out. ShottyMace loads before Multiverse-Inventories so the world exists when the groups are read. A player is moved first and their inventory cleared after, and on the way out only the Mace inventory is ever cleared. Anyone who logged out in the Mace world is sent back out when they log in.

With standalone: true Mace Roulette has the server to itself, without ShottyEvents: everyone who joins arrives on the Mace lobby platform and is queued. Behind a proxy, exit.server sends players who leave (the bed, /mace leave in the lobby) to another server of the network; one the proxy can’t take is let back into the lobby. Without exit.server there is no bed.

standalone: true
exit:
server: "lobby"
rewards:
commands:
- "cosmeticeffect win {player}" # the winner's win effect only: nothing paid, no win counted

To pay wins and count them across the network instead, use ShottyCore’s gamewin maceroulette {player} {money} Mace Roulette, or your economy’s own command.

Section What it sets
world The world everything is built in.
theme Your own colours for Minecraft’s named ones (gold: "#e7b53c" …), for this file and the plugin’s own texts.
standalone true: the server is Mace Roulette’s alone; everyone who joins goes straight in.
exit.command, exit.server Typed as the player to leave Mace (event leave; without ShottyEvents they go to the main world’s spawn), or the network server to send them to instead.
lobby, arena, training Where each is and what it is built from.
queue Players to start and at most, countdowns, auto-join and re-queue.
game How the mode is picked (vote, random, roulette, ffa; anything but vote takes the vote away: no nether star, no votes on the sidebar, no /mace vote in help; roulette or ffa also keeps the other mode out of /mace stats), countdowns, and where players who are out watch from.
roulette, ffa Each mode’s wind charges, turn length, damage, healing, shrinking and time limit.
modifiers On or off, how many per game, the chance of none, and the list.
rewards The commands a win runs, from the console: {player}, {players}, {beaten}, {mode}, and {money} (per-player-beaten for each player beaten, at most max) for a command that pays by itself, such as gamewin maceroulette {player} {money} Mace Roulette. A command no plugin on the server has is skipped (said once in the log).
arenas classic-weight, and per built arena (by folder name) name, credit, radius, reach, weight, min-players, size and enabled; sizes (which size a game plays on, and how a sign without one is sized).
knockouts The commands a knockout by another player runs, from the console: {killer}, {player}. By default the knocker’s kill effect.
leaderboard How long each page shows.
messages Every message, in MiniMessage. messages.board.title and messages.board.footer are the sidebar’s title and its last line (such as your server’s address; empty, none).

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