Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
ryderbelserion committed Jan 30, 2025
2 parents 5f0be8f + 482db86 commit bddfee9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion docs/plugins/crazycrates/commands/permissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ Each flag besides `-mt/--migration_type` is optional, and the order in which you
| `/crazycrates preview <crate> [player]` | `crazycrates.preview` | Opens the preview of a crate for a player. | op |
| `/crazycrates save <schematic file name>` | `crazycrates.save` | Save the new schematic file to the schematics folder. | op |
| `/crazycrates mass-open <crate> <virtual/physical> <amount>` | `crazycrates.massopen` | Mass opens crates. Defaults to 10 but can be changed in the crate config files. | op |
| `/crazycrates editor -c/--crate <crate_name> or -e/--exit` | `crazycrates.editor` | Adds you to a mode that lets you set/remove crates in the world. | op |
| `/crazycrates tp <location>` | `crazycrates.teleport` | Teleport to a crate. | op |
| `/crazycrates debug <crate>` | `crazycrates.debug` | Gives all the prizes to you so you can see if your crate works. | op |
| `/crazycrates open <crate>` | `crazycrates.open` | Tries to open a crate for yourself if you have a key. | op |
| `/crazycrates set <crate>` | `crazycrates.set` | Set a block you are looking at as the specified crate. | op |
| `/crazycrates convert` | `crazycrates.convert` | Tries to convert supported plugin's crate files into crazy crate's crate files. | op |
| `/crazycrates reload` | `crazycrates.reload` | Reloads the configuration and data files. | op |
| `/crazycrates admin` | `crazycrates.admin` | Opens the Admin Keys GUI. | op |
Expand Down
17 changes: 11 additions & 6 deletions docs/plugins/crazyvouchers/guides/examples/player-head-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,22 @@ voucher:
lore:
- '&7Use this voucher to get fancy trims.'
- '&7&l(&6&l!&7&l) &7Right click to redeem.'
player: 'Rukkhadevata'
#player: 'https://textures.minecraft.net/texture/1ee3126ff2c343da525eef2b93272b9fed36273d0ea08c2616b80009948ad57e'
player: '1ee3126ff2c343da525eef2b93272b9fed36273d0ea08c2616b80009948ad57e'
# Only uncomment this if using HeadDatabase by Arcaniax
# skull: '61151'
# If the item should glow or not.
glowing: true
# Hide item flags
flags:
- 'HIDE_ATTRIBUTES'
- 'HIDE_ENCHANTS'
# All options when they right-click it.
options:
# The message sent when they right-click it.
message: '&7Congratulations, you have yourself a fancy head.'

# The items to give when claiming the voucher.
items:
- 'Item:PLAYER_HEAD, Player:https://textures.minecraft.net/texture/1ee3126ff2c343da525eef2b93272b9fed36273d0ea08c2616b80009948ad57e, Name:&cA fancy head, Lore:&eA fancy lore,&7with lines, Amount: 3, Glowing: true'
- 'Item:PLAYER_HEAD, Player:Rukkhadevata, Name:&cA fancy head, Lore:&eA fancy lore,&7with lines, Amount: 3, Glowing: true'
```
# Only uncomment this is using HeadDatabase by Arcaniax
#- 'Item:PLAYER_HEAD, Skull:61151, Name:&cA fancy head, Lore:&eA fancy lore,&7with lines, Amount:3, Glowing:true'
- 'Item:PLAYER_HEAD, Player:1ee3126ff2c343da525eef2b93272b9fed36273d0ea08c2616b80009948ad57e, Name:&cA fancy head, Lore:&eA fancy lore,&7with lines, Amount:3, Glowing:true'
```
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,17 @@ sidebar_label: Custom Heads
sidebar_position: 3
---
### An example of how to have a custom head as a prize/display item.
Custom Heads only work on [Paper](https://papermc.io) or [Purpur](https://purpurmc.org) as Purpur is a fork of Paper. We do not support Spigot anymore however Paper ( drop in replacement ) and forks above can be a drop in replacement.

#### Warning: always remember to do some research into forks outside of Paper/Purpur including their configurations
```yml
Prizes:
1:
DisplayName: '&cAn example player head.'
DisplayItem: 'PLAYER_HEAD'
DisplayAmount: 1
Player: 'https://textures.minecraft.net/texture/1ee3126ff2c343da525eef2b93272b9fed36273d0ea08c2616b80009948ad57e'
Player: '1ee3126ff2c343da525eef2b93272b9fed36273d0ea08c2616b80009948ad57e'
MaxRange: 100
Chance: 5
Items:
- 'Item:PLAYER_HEAD, Player:https://textures.minecraft.net/texture/1ee3126ff2c343da525eef2b93272b9fed36273d0ea08c2616b80009948ad57e, Amount:1'
- 'Item:PLAYER_HEAD, Player:1ee3126ff2c343da525eef2b93272b9fed36273d0ea08c2616b80009948ad57e, Amount:1'
```
#### You can also do the following if you don't want a custom texture from https://minecraft-heads.com/
Expand All @@ -36,4 +33,4 @@ Custom Heads only work on [Paper](https://papermc.io) or [Purpur](https://purpur
Chance: 5
Items:
- 'Item:PLAYER_HEAD, Player:Badbones69, Amount:1'
```
```

0 comments on commit bddfee9

Please sign in to comment.