Permissions: - trash.use (Permission to use
/trash command)
- trash.row.(number)
(Max. 6 Rows) - trash.reload
- trash.economy.free
Commands: - /trash
- /trash reload
Code (Text):
# ==========================================================
# Pablito's Trash Plugin - Configuration
# ==========================================================
# Plugin language (default: en)
# Language files must be in the 'lang' folder
# ==========================================================
language: 'en'
# ==========================================================
# Default number of rows for the trash inventory
# ==========================================================
default-rows: 3 # Número de filas por defecto en el inventario del /trash
# ==========================================================
# Here you can configure whether you are charged for using the trash.
# and how much each use costs. Also if you want the charge
# whether it is opened immediately or only if there are objects.
# ==========================================================
economy:
enabled: false # Enable or disable charging for /trash (Required Vault and Economy Plugin - ex. XConomy)
cost: 50.0 # Price in your server's currency
charge-on-open: false # true = charges on open, false = charges only if there are objects
# ==========================================================
# Permissions for the size of the trash can
# ==========================================================
# trash.row.1 -> 1 row
# trash.row.2 -> 2 rows
# ...
# trash.row.6 -> 6 rows (maximum allowed by Minecraft)
# ==========================================================
Code (Text):
# ==========================================================
# Prefix to be used in messages that include the %prefix% variable.
# ==========================================================
prefix: "&8[&aTrash&8] &7"
# ==========================================================
no-permission: "%prefix% You don't have permission to use this command."
reloaded-config: "%prefix% Plugin configuration has been reloaded."
only-players: "%prefix% This command can only be used by players."
economy-disabled: "%prefix% Economy is disabled, please disable the feature in config.yml."
not-enough-money: "%prefix% You don't have enough money to use the trash can. You need %amount%."
economy-charge-on-open: "%prefix% You have paid %cost% to use the trash can."
economy-charge-on-close: "%prefix% You have paid %cost% to empty the trash can."
not-enough-money-on-close: "%prefix% You didn't have enough money, your items have been returned to your inventory."
opened-trash: "%prefix% Trash can opened."
trash-gui-title: "&1Trash Can"
unknown-subcommand: "%prefix% &cUnknown subcommand. Use /trash to open the trash can or /trash reload to reload."
economy-free-access: "%prefix% You have accessed the trash can for free."
trash-gui-close-button: "&c&lClose"