Earlier Versions
| Name | Size | Uploaded | Game Version | Downloads | |
| HatPlugin.jar beta | 28.64 KB | Apr 28, 2018 | 1.12 | 195 | Download |
| HatPlugin.jar beta | 28.81 KB | Apr 26, 2018 | 1.12 | 34 | Download |
Description
Overview
This is a basic plugin to allows servers to sell hats to users. Different hats can be available to different users.
Vault (and an economy plugin) is required for this plugin to load.
Configuration
# name of hat basic-hat: type: STONE # hat material display: "&aBASIC HAT" # the display name of the hat; this will be used as the name of the hat item in the player's inventory (where basic-hat will be used to identify the hat). advanced-hat: # another hat example (with all configuration options). type: STONE display: "&aADVANCED HAT" permission-needed: false #if set to true, players will need the "hats.advanced-hat" permission in order for this hat to be available. If the hat is free, the player will not be able to use the hat. If the hat costs money, the player will not be able to buy the hat. lore: - "&aA hat example using all configuration options." - "&bPlayers with the permission hats.advanced-hat.discount" - "&bwill receive this hat for a different price (the price is" - "&bdependent on the advanced-hat.discount-cost configuration" - "&boption)." subtype-id: 3 # The subtype-id. This is also the item durability (for tools). cost: 15 # the default cost for this item. Set to 0 to make this hat free. discount-cost: 5 # the discount cost for this item. Players with hats.advanced-hat.discount-cost will be charged the amount below for this hat, instead of the default. Set to 0 to make this hat free for those players.
Commands
/hats – open a list of hats. If a player does not have any hats, they will be unable to open the hat selection inventory.
/hatshop – open a list of hats the player can buy. If there are no hats to buy.. see above
Get 0.05 TON 💎
Download

Add a comment