LifeEconomy-Shop
A LifeEconomy add-on! This adds shop support.
LifeEconomy-Shop
🩸 LifeEconomy-Shop: The Blood Shop
The GUI shop add-on that completes your LifeEconomy experience. Pay with your life, literally.
---
⚠️ Requirement
> [requires] > This plugin is an requires and requires the core plugin, requires, to be installed on your server to function. > > LifeEconomy enables a unique "Heart" economy where player health is the currency. LifeEconomy-Shop utilizes its API to power the entire shop system.
---
⚙️ Key Features
A Shop Worth Dying For...
* Permission Control: Creates a GUI shop where the currency is your players' Permission Control: (Health), adding high stakes to every purchase. * Permission Control: Access the shop instantly with the easy-to-use command: `/lifeshop` or `/ls`. * Permission Control: Items execute any configured console command upon purchase (e.g., `/give`, `/eco take`, `/title`), allowing for infinite possibilities. * Permission Control: Configure item slots, names, lore (including prices), materials, and custom sounds for purchases and failed attempts. * Permission Control: Built with modern standards, including Permission Control: support, for high-performance servers. * Permission Control: Restrict shop access and administration with dedicated permissions.
---
🛒 Shop Configuration (YAML Example)
The shop is fully customizable. Here is a snippet demonstrating how easy it is to set item prices and commands. Remember, 2.0 health = 1 Heart.
```yaml currencyName: "Heart" #Better if singular
#Shop module /lifeshop or /ls gui: cant-afford-sound: "ENTITY_ALLAY_HURT" buy-success: "ENTITY_PLAYER_LEVELUP" name: "<red><b>Blood Shop" #gui title bar rows: 1 items: example: slot: 3 #indexed, so slot counting starts from 0 name: "<red><b>Blood" #item name material: "REDSTONE" #item material, should match vanilla minecraft materials enchantments: [] enchant-glint: true #fake enchant glint if you dont want any enchantments but want a glint hide-enchants: false #remove enchantment from lore lore: - "<red>Cost: 10 Hearts" commands: - "give %player% diamond 100" #or give %player% diamond 1 price: 20.0 #Price of this item in health (20 = 10 hearts). *.0 is required! this has to be a double, not an integer example2: slot: 5 name: "<blue><b>Diamond What" material: "DIAMOND" enchantments: [] enchant-glint: true hide-enchants: false lore: [] commands: - "give %player% gold_ingot 1" price: 2.0 #(2 = 1 heart) ```
---
🔨 Commands & Permissions
| Command | Aliases | Description | Required Permissions | | :--- | :--- | :--- | :--- | | `/lsreload` | `/ls` | Opens the main Heart Economy Shop GUI. | `lifeshop.shop` (Default: OP) | | `/lsreload` | `/lsr` | Reloads the plugin configuration files. | `lifeshop.reload` (Default: OP) |
---
🩸 Get Started
1. Download and install the required core plugin: LifeEconomy-Shop. 2. Download and install LifeEconomy-Shop. 3. Configure your `config.yml` with your desired items, prices, and commands. 4. Run `/lsreload` (or restart) and start selling!