Skip to content

Reward files

Ben edited this page Sep 21, 2016 · 20 revisions

Breakdown of reward files.

Requirements to give reward possiblities:

  • Permission
  • World
  • Chance

Possible Rewards/Effects that can be defined:

  • Items (with random item amounts possible)
  • Money (with random money amounts possible)
  • Commands
  • Potion Effects
  • Title
  • BossBar
  • ActionBar
  • Sound
  • Particle Effect
  • Custom Message (or default message in Format.yml)

Advanced:

  • Randomly pick a reward file to give on chance, Also option if chance is unlucky give fallback reward
  • Delay when to run reward file (useful for giving players permission, then removing x hours later)
  • Run reward file at specific time

See ExampleReward for examples on the above!

Examples