This plugin fills a players inventory with obsidian for a set price.
---Commands---
---Required Plugins---
(Some Eco Plugin That Supports Vault)
---Additional Information---
This is a pretty bare bones plugin, it does not have permissions so anyone can use the commands, and if you want to have aliases for the command, you'll have to change that yourself in the plugin.yml file situated in the plugin jar file. (I should mention that I do plan to add these things to the plugin itself)
---Config Variables---
There's special variables to make the plugin messages more unique, such as:
$$$: how much money they player spent on obsidian, will be $0 if no obsidian was bought.
$ps: how much money per stack of obsidian.
serverTag: the server_tag that is specified in the config
Example on how to use them:
not_enough_space_message: serverTag You don't have any free space in your inventory
This will output:
"Default_Server_Tag You don't have any free space in your inventory"
"Default_Server_Tag" being what server_tag is in the config.yml file.
---Config Customization Information---
When using the '
&' symbol for modifying text and adding color, have
' ' around your sentences, example:
server_tag: '&4ServerName'
If you
don't, then the plugin will reset the config option to it's default state.
---Config Options---
enabled: this can either be [true] or [false], it enables if the plugin is enabled or disabled.
server_tag: change the default text to your server name
obsidian_stack_price: change this to how much you want to charge for 1 stack of obsidian.
transaction_success_message: when a successful command execution appears, this message will get sent to the player
not_enough_space_message: when the player doesn't have enough space in their inventory and they execute the command, this message will get sent to the player.
not_enough_money_message: when the player doesn't have enough money and they execute the command, this message will get sent to the player.