World events
Thirteen server wide events that start on a timer with a slot machine reveal
World events are short server wide modifiers. They start by themselves every 20 to 40 minutes, as long as at least 3 players are online. They are on by default.
The slot machine reveal
When the timer picks an event at random, names spin past as titles before landing on the winner. It is on by default and the spin length is world-events.reveal.spins (14).
An admin can play the reveal by hand with /moneyrace admin worldevent roll, or start a chosen event with /moneyrace admin worldevent start <id> [minutes].
The thirteen events
| Event | What happens | Lasts |
|---|---|---|
| Double Money | Kill money is doubled | 10 min |
| Opposite Day | Tiers and bounty values flip, so low value players are worth the most | 10 min |
| Quick Maths | A sum appears in chat and the first right answer wins 250 | 5 min |
| Glow | Every player glows | 5 min |
| Anonymous | Names are hidden in kill messages and in tab | 5 min |
| Golden Harvest | Broken leaves can drop golden apples, 5 percent of the time | 10 min |
| Fragile Armour | Protection enchantments are capped at level 2 | 5 min |
| Heavy Fall | Fall damage is doubled | 5 min |
| Shieldless | Shields do not work | 5 min |
| Ore Rush | Ores drop double | 10 min |
| Hunger | Hunger drains faster | 5 min |
| Emerald Rain | Hostile mobs killed by players can drop up to 2 emeralds, 35 percent of the time. Each emerald is worth 50 when picked up | 10 min |
| Supply Drop | A chest lands somewhere in the world, marked by a particle beam. It holds loot and a banknote worth 1000 to 3000 | 15 min |
Durations are the defaults and can be changed per event.
Starting and stopping
| Command | What it does |
|---|---|
/moneyrace admin worldevent start <id> [minutes] | Start an event now |
/moneyrace admin worldevent stop [id] | Stop an event |
/moneyrace admin worldevent list | Show the events and what is running |
/moneyrace admin worldevent roll | Play the reveal and start the pick |
Admins can start more events than the timer allows. Every event undoes itself when it ends, when the plugin reloads or shuts down, and when a player quits or joins.
Settings
Everything is under world-events in events.yml.
| Key | Default | What it does |
|---|---|---|
enabled | true | Start random events on a timer |
interval.min-minutes, interval.max-minutes | 20, 40 | Gap between two random events |
min-online | 3 | Players needed online for a random event |
max-active | 1 | Events the timer runs at once |
reveal.enabled | true | Play the slot machine reveal |
announce | true | Tell everyone when an event starts and ends |
Each event has its own section under world-events.types.<id> with enabled, weight (how likely it is to be picked next to the others), duration-seconds, the display name and its own values.
Turn off an event you do not like
Set enabled: false under world-events.types.<id>, or lower its weight so it comes up less often.
Placeholders
%moneyrace_world_event% shows what is running and %moneyrace_world_event_time% the time left. See Placeholders.