DUXPLIMA Documentation

Event files

What each events/<key>.yml holds, the announcements, and the placeholders they can use.

Every event has a file, events/<key>.yml, written when you create the event in game. Items, the name and the length are easiest to change from the manage menu; rewards and announcements are written here. After editing, run /sr reload. On a network, edit it on the management server.

The file

id: "11111111-2222-3333-4444-555555555555"
event-key: "example-rush"
name: "Example Rush"
duration: "7d"
deliverables:
  - material: "DIAMOND"
    points: 10.0
  - material: "EMERALD"
    points: 25.0
rewards-explanation:
  - "<#FFC94D>First Place: <reward:1>"
start-broadcast: []
resume-broadcast: []
complete-broadcast: []
unpaid-broadcast: []
no-reward-broadcast: []
rewards:
  mode: "STATIC"
  ...
KeyWhat it is
idThe event's identity. Never change it
event-keyThe key, which must match the file name
nameThe name players see
durationThe length of a run, such as 7d or 12h30m. A change here applies from the next run
deliverablesThe items that count, each with its points per item
rewards-explanationThe lines the Rewards button shows
...-broadcastThe announcements, below
rewardsWhat each rank wins. See Rewards

An item added in game with a custom name or lore gets a snapshot line, which is how the plugin recognises that exact item. Add such items in game rather than by hand.

Announcements

Each announcement is a list of lines sent to every player online. Leave one empty ([]) and the default text from messages.yml is used instead.

KeySent when
start-broadcastA new run starts
resume-broadcastA paused run continues
complete-broadcastA run ends and the rewards are paid
unpaid-broadcastA run is stopped with Stop Unpaid
no-reward-broadcastA run ends with nobody to reward
PlaceholderWorks inShows
<event_name>AllThe event's name
<end_time>, <time_left>, <duration>Start and resumeWhen the run ends, how long is left, the run's length
<reward:N>All, and rewards-explanationThe display of rank N's reward
<winner_N>The three end announcementsThe player or players at rank N, 1 to 10
<winner_N_points>, <winner_N_items>The three end announcementsTheir points, and the items they deposited

Tied players appear together in <winner_N>, separated by winner-separator from messages.yml. An empty rank shows -. Text uses MiniMessage colours, like <#FFD166> or <bold>.

Deleting a file

Deleting a file does not delete the event: the plugin writes it back. To delete an event, use /sr delete.

Related: Rewards, Events and runs