Skip to content

Commit

Permalink
add shield example to default file
Browse files Browse the repository at this point in the history
  • Loading branch information
ryderbelserion committed Jul 22, 2024
1 parent 94b15a6 commit 4587aa3
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion src/main/resources/crates/CrateExample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,4 +253,27 @@ Crate:
- "eco give %player% 1000"
# Override the global message.
Messages:
- "<gray>You won <reset>%reward%."
- "<gray>You won <reset>%reward%."
'6':
# The name of the item to display in the gui.
DisplayName: "<green>Fancy Shield"
# The enchants to display in the gui.
DisplayItem: 'shield'
# A list of patterns: https://jd.papermc.io/paper/1.21/org/bukkit/block/banner/PatternType.html
Patterns:
- 'HALF_HORIZONTAL:RED'
- 'RHOMBUS_MIDDLE:BLACK'
- 'STRIPE_TOP:RED'
- 'STRIPE_BOTTOM:WHITE'
- 'STRIPE_MIDDLE:BLACK'
- 'CIRCLE_MIDDLE:WHITE'
# Prize settings
Settings:
# The custom model data of the item, -1 is disabled.
Custom-Model-Data: -1
# The amount to display in the gui.
DisplayAmount: 1
# The max range i.e. 15/100 = 15% chance to win.
MaxRange: 100
# The chance to win i.e. 15%
Chance: 15

0 comments on commit 4587aa3

Please sign in to comment.