Files
Saber-Factions/src/main/resources/shop.yml

56 lines
3.1 KiB
YAML

#######################################################################################
#######################################################################################
#######################################################################################
##### #####
##### SaberFactions Shop Configuration File #####
##### Created By Driftay #####
##### #####
#######################################################################################
#######################################################################################
#######################################################################################
#<-------------------------------------->NOTES<-------------------------------------->#
#All Color Codes Can Be Used!
#Refer to: https://wiki.ess3.net/mc/
#[Placeholders]
# %points% - Only can be used in prefix - returns the cost of an item purchased
# {cost} - returns the cost of an item
# %player% - Only can be used in cmds - returns the players name value
#<-------------------------------------->NOTES<-------------------------------------->#
prefix: '&4&lFactionShop&8ยป &7Purchased &f%item% &7for &b%points% Points&7!'
items:
'1':
slot: 1
block: STONE #Validated Through XMaterial Class Located At: https://github.com/SaberLLC/Saber-Factions/blob/1.6.x/src/main/java/com/massivecraft/factions/util/XMaterial.java
name: '&aShop Item 1' #Display name of the item wanted in shop.
lore:
- '&cFully Customizable Lore!'
- '&b&l{cost} &7Points'
cmds: #You can have more then 1 command in this as it is a list of commands!
- broadcast %player% bought Test Shop!
cost: 5 #The number of faction points it will cost to buy this item.
glowing: true #Do we want it to glow or not?
'2':
slot: 2
block: STONE #Validated Through XMaterial Class Located At: https://github.com/SaberLLC/Saber-Factions/blob/1.6.x/src/main/java/com/massivecraft/factions/util/XMaterial.java
name: '&aShop Item 2' #Display name of the item wanted in shop.
lore:
- '&cFully Customizable Lore!'
- '&b&l{cost} &7Points'
cmds: #You can have more then 1 command in this as it is a list of commands!
- broadcast %player% bought Test Shop!
cost: 5 #The number of faction points it will cost to buy this item.
glowing: true #Do we want it to glow or not?
'3':
slot: 3
block: STONE #Validated Through XMaterial Class Located At: https://github.com/SaberLLC/Saber-Factions/blob/1.6.x/src/main/java/com/massivecraft/factions/util/XMaterial.java
name: '&aShop Item 3' #Display name of the item wanted in shop.
lore:
- '&cFully Customizable Lore!'
- '&b&l{cost} &7Points'
cmds: #You can have more then 1 command in this as it is a list of commands!
- broadcast %player% bought Test Shop!
cost: 5 #The number of faction points it will cost to buy this item.
glowing: true #Do we want it to glow or not?