Sueta
FA

FastTNT

1.4.3

Craft TNT in a jiffy!

·Plugin

Functions
FastTNT trades sand, gunpowder, and an optional amount of money in for TNT.
Special sand or gunpowder (named, enchanted, etc.) is ignored.

Commands require the fasttnt.use permission, default true. Aliases are /ftnt, /tnt, and /ctnt.
/fasttnt [amount] - Craft up to [amount] or, if omitted, as many as possible TNT.
/fasttnt reload - Reload the configuration. Requires the permission fasttnt.reload, default op.

Configuration

# Acceptable sand types. -1 for any, 0 for normal sand only, 1 for red sand only
sand-type: -1
# Cost per TNT crafted. Requires Vault and a Vault-compatible economy.
cost-per-tnt: 0.0

lang:
  # Message sent when an invalid parameter is passed. Supports color codes.
  invalid: '&cUse /fasttnt [number] to craft an amount or no arguments for as many as possible.'
  # Message sent when TNT is crafted. Supports color codes. %tnt% is replaced with the number of TNT.
  success: '&aCrafted %tnt% tnt!'
  # Message sent when no TNT can be crafted. Supports color codes. %limit% is replaced with the limiting factor.
  failure: '&cYou do not have enough %cause% to craft any TNT.'
  # Replaces %cause% when sand is the limiting factor. Does not support color codes.
  sand: 'sand'
  # Replaces %cause% when gunpowder is the limiting factor. Does not support color codes.
  gunpowder: 'gunpowder'
  # Replaces %cause% when money is the limiting factor. Does not support color codes.
  money: 'money'
  # Message sent when user is lacking permission. Supports color codes.
  # Leave commented out or remove to use server default denial message.
  #noPermission: '&cYou need the permission &4fasttnt.use &cto use this command.'

Source
Available on GitHub. The original gist is here, and the original request is here.

Similar projects

Plugin →