[1.7 - 1.8] Trench chunks with TrenchTNT!
Introduction:
Annoyed with how long it takes to trench in Factions? Or maybe you want to clear out a big area or mountain! No matter what you need to dig, TrenchTNT is the solution! With TrenchTNT, players can destroy entire chunks in seconds. Everything is configurable such as the messages, the items, the GUI, the depth, even the explosion volume and pitch! TrenchTNT is also packed with a configurable block blacklisting system as well. This means that if there are certain blocks you do not want to trench, they will be ignored! This is perfect for Factions and works well with WorldGuard.

How it works:
TrenchTNT works by opening a GUI when a player places a special piece of TNT on the ground. The player has the option to Detonate the TNT, or Defuse it. By Detonating the TNT, the chunk will be trenched and the piece of TNT removed from the players inventory. However, if the player Defuses the TNT, the GUI closes and nothing happens. Also, TrenchTNT now supports FactionsUUID, MassiveCraft Factions and FactionsOne! You may now configure whether or not TrenchTNT works in the Wilderness, and you may also make it so you cannot use TrenchTNT if an enemy is nearby. A usage warmup has now been added!

Commands:
/trenchtnt: Main TrenchTNT command.
/trenchtnt give <player> <amount>: Give TrenchTNT.
/trenchtnt reload: Reload TrenchTNT.

Aliases:

/tt

Permissons:

trenchtnt.*: Give all TrenchTNT permissions.
trenchtnt.all: Same as above.
trenchtnt.trenchtnt: Main TrenchTNT command.
trenchtnt.give: Give TrenchTNT.
trenchtnt.reload: Reload TrenchTNT.

Configuration:
Code:
# TrenchTNT Config
# Created by: Panoramic
# 
# Variables for use in certain messages and title:
#  {item} - the name of the item.
#  {player} - the name of the player.
#  {amount} - the amount of the item.
# 
# bypass-ops: should ops bypass the restrictions?
# trench-depth: how far down to trench (255 = to bedrock).
# explosion-volume and explosion-pitch control the sound of the explosion.
# announce-use: should the server announce when a player uses Trench TNT?
# wilderness-use: should Trench TNT be used in the Wilderness (for Factions)?
# disable-when-enemies-nearby: should Trench TNT be disabled when an enemy is nearby?
# enemy-radius: radius of enemy detection.
# warmup-enabled: enable/disable the warmup time.
# one-tnt-at-a-time: players must wait for their other tnt to detonate before using another.
# warmup-step-time: how many seconds to wait in between warmup messages.
# show-warmup: display a warmup message to the player.
# blacklisted-blocks: a list of blocks to ignore when trenching.

bypass-ops: true

trench-depth: 255

explosion-volume: 10.0
explosion-pitch: 0.75

announce-use: true

wilderness-use: false

disable-when-enemies-nearby: true
enemy-radius: 32

warmup-enabled: true
one-tnt-at-a-time: true

warmup-step-time: 1
show-warmup: true

blacklisted-blocks:
- MOB_SPAWNER

item:
  name: '&b&lTrench TNT'
  material: TNT
  lore:
  - '&eUse this to trench chunks of land!'
  enchanted: true

gui:
  title: '{item} &f&lDetonator'
  detonate-button:
    name: '&a&lDetonate!'
    material: STAINED_GLASS_PANE:5
    lore:
    - '&7Click here to trench the chunk!'
  defuse-button:
    name: '&c&lDefuse!'
    material: STAINED_GLASS_PANE:14
    lore:
    - '&7Click here to cancel!'

messages:
  announce-use: '&7&l>> &f&l{player} &r&bhas used &r{item}&r&b!'
  reload: '&bReloaded the configuration.'
  give: '&bGave &f&l{player} &7&l{amount} &r&bof &r{item}&r&b.'
  invalid-player: '&cError: invalid player &f&l{player}&r&c.'
  invalid-amount: '&cError: invalid amount &7&l{amount}&r&c.'
  no-perms: '&cError: you don''t have permission.'
  no-place: '&cSorry, you can''t place that here.'
  enemies-near: '&cYou cannot use this when enemies are nearby!'
  one-tnt-at-a-time: '&cYou may only use one &r{item}&r&c at a time.'
  warmup:
  - '&e&l5'
  - '&e&l4'
  - '&e&l3'
  - '&e&l2'
  - '&e&l1'
  warmup-end: '&e&lBOOM!'
  help:
  - '&7&m----------[&r &b&lTrenchTNT &f&lHelp&r &7&m]----------'
  - ''
  - '&7&l* &r&3/trenchtnt&7: Main TrenchTNT command.'
  - '&7&l* &r&3/trenchtnt give <player> <amount>&7: Give TrenchTNT.'
  - '&7&l* &r&3/trenchtnt reload&7: Reload TrenchTNT.'

How to install:
Simply download the plugin and drag it into your server's plugins folder, then reload/restart your server.

Screenshots:

upload_2017-10-28_18-30-5.png


upload_2017-10-28_18-30-22.png


upload_2017-10-28_18-30-42.png


upload_2017-10-28_18-31-16.png


upload_2017-10-28_18-31-44.png


upload_2017-10-28_18-55-12.png


Need help?
Please contact me on Discord if you have any questions or are interested in custom plugin development: Panoramic#1652
  • upload_2017-10-28_18-30-5.png
    upload_2017-10-28_18-30-5.png
    47.9 KB · Views: 1,164
  • upload_2017-10-28_18-30-22.png
    upload_2017-10-28_18-30-22.png
    8.8 KB · Views: 1,163
  • upload_2017-10-28_18-30-42.png
    upload_2017-10-28_18-30-42.png
    7.9 KB · Views: 1,162
  • upload_2017-10-28_18-31-16.png
    upload_2017-10-28_18-31-16.png
    82.1 KB · Views: 1,173
  • upload_2017-10-28_18-31-44.png
    upload_2017-10-28_18-31-44.png
    133.9 KB · Views: 1,173
  • upload_2017-10-28_18-55-12.png
    upload_2017-10-28_18-55-12.png
    1.9 MB · Views: 1,189

Latest updates

  1. Bug Fixes | FactionsOne Support | More Options

    Fixed a major bug where TNT wouldn't place properly. Added support for FactionsOne. Added config...
  2. Enemies nearby!

    Added an option to disallow TrenchTNT when enemies are nearby. The radius of detection is...
  3. Factions Support Update!

    Added support for BOTH FactionsUUID and MassiveCraft Factions. What this means is you can now...

Latest reviews

Great plugin! I've been looking for this for quite some time, thanks again for your time.

Author

Sunyata

Owner
Author
Sunyata
Downloads
38
Type
Digital product
License duration
Unlimited
Price
4.99 USD
Views
2,549
First release
Last update
Rating
5.00 star(s) 1 ratings
Top
You need to upgrade!
Our dark style is reserved for our Premium members. Upgrade here.