Rewards

8files
2min read
Sheet 41 of 53 · Server Admin

Filesprogression/missions.yml · features/island.yml · progression/milestones.yml · features/prestige.yml · +4

Fileprogression/missions.ymlFilefeatures/island.ymlMissions, daily rewards, milestones, prestige tiers, OneBlock phases, season placements, the Server Event, visitor rewards and the island dragon all read the same reward object. Anything you can put on a mission reward you can put on a season win, written the same way.

The shorthand

Most of the time a reward is just a number. Write it inline and IgniteSky pays it as money. Whether that goes to the player or into the island bank depends on where the reward sits (see Where it applies):

reward: 5000

Use the object form below when you want more than cash.

The full object

reward:
  money: 10000                     # personal money to the player (Vault); falls back to the bank if offline / no economy
  bank: 5000                       # deposited into the island bank
  commands:                        # run from console on payout
    - "give {player} diamond 8"
    - "broadcast {owner} finished a mission!"
  items:                           # given to the player (overflow drops at their feet)
    - { material: DIAMOND, amount: 8, name: "<aqua>Bonus", lore: ["<gray>Well earned."] }
  effects:                         # played to the player on payout (skipped if offline)
    sound: ENTITY_PLAYER_LEVELUP
    volume: 1.0
    pitch: 1.2
    title: "<gold>Reward!"
    subtitle: "<gray>Nicely done"
    actionbar: "<green>+8 diamonds"
    particle: TOTEM_OF_UNDYING
    particle-count: 30

Every field is optional, so an effects-only reward with no money is fine.

Fields

FieldMeaning
moneyPersonal money paid to the player through Vault. With no player (offline / island-only payout) or no economy, it falls back to the island bank.
bankDeposited straight into the island bank, up to the bank limit. Whatever does not fit is paid to the player instead.
commandsConsole commands run on payout. Placeholders below.
itemsStacks given to the player. Each is material, amount, optional MiniMessage name and lore. Overflow drops at the player's feet.
effectsA sound, title/subtitle, action bar and particle burst played to the player. Needs a player, so it is skipped for offline payouts.

Placeholders in commands

{player}, {owner}, {island} are filled whenever there is a player or island to fill them from. Each site adds its own: {mission}, {streak} (daily rewards), {level} (milestones), {tier} and {badge} (prestige), {phase} (OneBlock), {rank} (seasons), {visitor} (visitor rewards).

Where it applies

SiteFileBare number meansNotes
Missionsprogression/missions.ymlpaid to the claimerfull player context
Daily rewardsfeatures/island.yml (daily-rewards)paid to the playerfull player context
Milestonesprogression/milestones.ymlisland banktargets the owner if online
Prestigefeatures/prestige.ymlisland bankfull player context (the ascending player)
OneBlock phasesmodes/oneblock.ymlisland bankno player context: money to bank, items skipped
OneBlock jackpotmodes/oneblock.yml (jackpot-reward)island bankpaid to the player who broke the block
Seasonsconfig.yml (seasons.rewards)island banktargets the owner if online
Server Eventfeatures/quests.ymlpaid to the playerno island: bank is skipped
Visitor rewardfeatures/social.yml (visitors.visit-reward)island bankno player context
Island dragonconfig.yml (dragon.reward)island banktargets the owner if online

Since they all share one object, a new reward field works in every one of these at once.

Loading the index

Enter openUp Down moveEsc close