[Weapon]
AK-47
<number of ak-47s to buy>
<the price of this purchase>
Configuration
Code (YAML):
# Warning! Changing this value will break all previously existing sign shops! # you will have to break and replace them to get them to work again Identifier: "[Weapon]"
# no variables... No_Permission_Message: "<red>You don't have permission to do that!"
# variables: # %weapon% -> The title of the weapon purchased # %price% -> The cost of the purchase, to 2 decimal places # %count% -> The number of items purchased Buy_Message: "<green>You purchased <gray>%count% %weapon%(s) <green>for <gray>$%price%"
# no variables... Not_Enough_Money_Message: "<red>You do not have enough money for that!"
Permissions weaponmechanicssignshop.create Allows you to create shops (Defaults to OPs) weaponmechanicssignshop.use Allows you to buy from shops (Defaults to all players)
Setup Make sure to create a WorldGuard region around your signs so people can't break your sign shops! Also, you should deny shooting so people don't accidently shoot the guns they just purchased.