Configuration
View the Configuration Files for Pouches.
# CIFYPouches v1.0 Configuration
message:
prefix: '&b[&lP&b]'
main_command: '{0} &7You''re running &f{1} &7version &bv{2} &7by &f{3}&7.'
help_command_header:
- ''
- '{0} &7Listing commands:'
- '&7'
help_command_format: ' &b/pouches {1} &8- &7{2}'
help_command_footer:
- ''
- '{0} &7A total of &f{1} &7added.'
list_command_header:
- ''
- '{0} &7Listing pouches:'
- '&7'
list_command_format: ' &8- &b{1}'
list_command_footer:
- ''
- '{0} &7A total of &f{1} &7added.'
reload_command: '{0} &7Successfully reloaded plugin with &b{1} &7loaded.'
create_command: '{0} &7Successfully created the &b{1} &7pouch.'
give_command_self: '{0} &7You''ve given yourself {2}x &b{1} &7pouch.'
give_command_other: '{0} &7You''ve given &f{1} &7{3}x &b{2} &7pouch.'
error_no_permission: '{0} &7You don''t have permission to do that.'
error_player_only: '{0} &7That''s a player only command.'
error_invalid_command: '{0} &7That''s an invalid command, use &f/pouch help&7.'
error_invalid_player: '{0} &7That player couldn''t be found.'
error_invalid_pouch: '{0} &7That pouch couldn''t be found.'
error_already_opening: '{0} &7You''re already opening a pouch.'
error_already_exists: '{0} &7That pouch already exists.'
error_no_pouches_exist: '{0} &7No pouches exist, try &b/pouch create <id>&7.'
cannot_use_in_region: '{0} &7This pouch cannot be used in that region.'
cannot_use_in_world: '{0} &7This pouch cannot be used in that world.'
command_usage: '{0} &7Usage: &b/pouch {1}'
Pouches
Once you've created a pouch using /pouch create <id>
, you'll find its configuration file looking similar to below.
# CIFYPouches v1.0 Configuration
# Configure your 'example' pouch here.
id: example
item:
name: '&b&l(!) &b&nExample&b Pouch'
lore:
- '&7Open this crate to win money!'
- ''
- '&bRewards'
- ' &8- &7From: &f$1,000'
- ' &8- &7To: &f$2,000'
- ''
- '&3Tier 1'
glow: true
material: ENDER_CHEST
data: 0
rewards:
- '[broadcast] &b[&lP&b] &f%player% &7won &b$%amount% &7from a pouch!'
- '[console] eco give %player% %amount%'
settings:
permission: true
format: true
amount:
min: 1000
max: 2000
title:
unrevealed:
first: '&c&l&n&k'
second: '&a&l&n'
subtitle: '&7&o(( Opening pouch... ))'
revealed:
first: '&c&l'
second: '&a&l'
title: $%amount%
subtitle: '&7&o(( Congratulations! ))'
blacklist:
region:
- 'bad_region'
world:
- 'bad_world'
Using Custom Skulls
Pouches also provides the ability to specify a custom Base64 texture which is used to have non player heads, an example of this is listed below.
item:
name: '&eMoney Bag'
lore:
- '&7This is a magical pouch!'
glow: true
material: SKULL_ITEM
texture: 'eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZTM2ZTk0ZjZjMzRhMzU0NjVmY2U0YTkwZjJlMjU5NzYzODllYjk3MDlhMTIyNzM1NzRmZjcwZmQ0ZGFhNjg1MiJ9fX0='
data: 0
You can find these on a site such as "Minecraft Heads", copying the "texture" value into the above.
Last updated