| description | Guide to server-wide and personal multiplier events, automated event scheduling, additive stacking logic, and BossBar alerts. |
|---|
eGens features a dynamic event engine designed to drive player retention. Server operators can run automated or on-demand multiplier events that temporarily boost generation speeds, drop yields, or sell prices server-wide or for individual players.
Configured in plugins/eGens/events.yml:
| Event Identifier | Effect | Stacking Calculation |
|---|---|---|
sell_multi |
Multiplies money earned from /sell and Sell Wands. |
Additive: |
drop_amount |
Generators spawn additional items per drop tick. |
Additive: |
drop_tier |
Temporarily promotes generator loot to the next tier up. | Idempotent: Any active event enables it |
speed_boost |
Reduces the tick interval between generation cycles. | Max Multiplier: Prevents thread overloads |
mixed_up |
Generators randomly roll loot from any unlocked tier. | Idempotent: Any active event enables it |
In config.yml, you can configure automatic event triggers on a set schedule:
events:
enabled: true
auto-trigger:
enabled: true
interval-minutes: 60
pool: [sell_multi, drop_amount, drop_tier, speed_boost, mixed_up]Every 60 minutes, the plugin randomly draws an event from the pool, announces it server-wide via chat, plays a chime, and broadcasts a colored countdown BossBar.
To keep the server economy balanced when running multiple events, eGens enforces additive stacking:
{% hint style="info" %}
Stacking Example:
If a global
- Global Stack Cap (
events.stack.max-global): Default1. Increase to2–5if you want admins to run simultaneous global events. - Speed Boost Clamping: Speed boosts evaluate using
max(m1, m2)to prevent excessive entity spawn rates on Folia region threads.
Players can be granted individual event boosters (e.g., from voting, rank crates, or store purchases) that run independently of global events.
# Global Event: 2x Sell Multiplier for 10 minutes (600s)
/egens event give global sell_multi 600 2.0
# Personal Event: 2x Drop Amount for Steve for 5 minutes (300s)
/egens event give personal Steve drop_amount 300 2.0Each player has a concurrent personal event slot capacity:
- Default:
1event at a time. - Rank Overrides: Grant
egens.personal.slots.<number>(e.g.egens.personal.slots.3allows 3 concurrent personal boosters). - Safety Bound: Clamped by
max-cap: 10inconfig.yml.