This is the Simple and light (no lag) plugin called Server Shop.
This plugin uses the Coin Card API to buy and sell things:
Dependency:
CoinCard
Vault
Extras:
Discord Bot
WebSite / API
You can host your own API if you want:
Coin System Project
Commands:
/shop
/shop reload
/shop sellall inv/hand
/shop category
Permission:
shop.use
shop.admin
shop.sellall
config.yml
Code (Text):
# CoinShop Configuration
# Server Card ID for collecting the coins from buy and sells
Server: e1301fadfc35
# Tax rate (0.1 = 10%)
BuyTax: 0.1
SellTax: 0.1
# Minimum and maximum price for items
Min: 0.00000001
Max: 1000.0
# Coin Decimals between 0 and 8, constrols things like 8= 0.00000001 and 0= 1 (changes the number lenght)
Decimals: 8
# Cooldown between transactions in milliseconds
Cooldown: 1010
PlayerCooldown: 1010
# Server Shop Setup
Shops:
# COMMANDS
COMMAND_BLOCK:
name: '&eCommand Example'
buyprice: 0.0000001
sellprice: 0.0000001
type: command
commands:
- give %player% Apple 1
# FOODS
APPLE:
buyprice: 0.0000001
sellprice: 0.0000001
type: item
GOLDEN_APPLE:
buyprice: 0.000001
sellprice: 0.000001
type: item
ENCHANTED_GOLDEN_APPLE:
buyprice: 0.00005
sellprice: 0.00005
type: item
MELON_SLICE:
buyprice: 0.0000001
sellprice: 0.0000001
type: item
# ...
Thanks for downloading!!!
