explock - No more explosions [1.3.2 - 1.21.x] icon

explock - No more explosions [1.3.2 - 1.21.x] -----

lock, utilities, world, tnt, explosion, config, customizable, messages, gui



Hey!

Explock is a plugin that blocks explosions on the server, having easy enable/disable explosion lock on the server under the command.

It has several commands to help you use it.

/explock help - Show command list
upload_2022-6-21_14-49-25.png

/explock info - Shows explosion block status information

upload_2021-12-4_21-42-10.png

/explock reload - Reload the plugin (config, messages)

/explock turn - Turn on/off explosion lock

upload_2020-10-24_15-19-24.png

/explock update - Show info about newest version

/explock plugin - Show info about plugin.

/explock gui - Opens the in-game settings GUI

Permissions list:

explock.* - All permissions
explock.help - Access to /explock help
explock.reload - Access to /explock reload
explock.info - Access to /explock info
explock.update - Show info about updates on join, access to command /explock update
explock.turn - Access to /explock turn
explock.gui - Access to /explock gui
explock.save-config - Access to /explock save-config [DEV-MODE]

You can enable sending messages to the console about blocking an explosion in the configuration.

Code (YAML):

enable
: true #enable/disable explosion lock (true/false)
sendCancelMessage
: false #sending a message to the console when locked explosion (true/false)
updateChecker
: true #send message to console on load (true/false)
cancelExplosionDamage
: true #cancel explosion damage (true/false)
keepItemsOnExplosion
: false #cancel default items removal on explosion (true/false)
lockedEntities
:
- PRIMED_TNT
- MINECART_TNT
#list of blocked explosions (entities)
enable-world-filter
: false #enable/disable world filter (true/false)
enabledWorlds
:
- world
#list of worlds where explosions will be locked
lockBlocks
: false
#lock Beds explosion in nether and Respawn Anchor in normal world (true/false)
updateInfoToPlayer
: true
#send update info on join to player with permission. (true/false)
 

NOTE: In config you can add blocked entities. available: PRIMED_TNT, MINECART_TNT, CREEPER, ENDER_CRYSTAL, WITHER, WITHER_SKULL. Leave empty to lock all. You can also enable blocks explosion lock (bed in nether and anchor in normal world) in config.

You can easily change the messages sent by the plugin.
Code (YAML):

Prefix
: ' &8»&r '
None
: None
All
: All
Disabled
: '&cDisabled'
Config
:
  reload
: Loading config ...
  loaded
: '&aSuccessfully reloaded'
Sender
:
  noPermission
: '&cYou don''t have permission to this.'
explosionLockOff
: '&7Explosion lock is &coff.'
explosionLockOn
: '&7Explosion lock is &aon.'
cancelMessages
:
  'Off'
: '&7Messages about explode cancel are &coff&7.'
  'On'
: '&7Messages about explode cancel are &aon&7.'
explosionLockEnabled
: '&7Successfully &aenabled &7explosion lock.'
explosionLockDisabled
: '&7Successfully &cdisabled &7explosion lock.'
cancelExplosionDamage
:
  'Off'
: '&7Explosion damage cancel is &coff&7.'
  'On'
: '&7Explosion damage cancel is &aon&7.'
updateChecker
:
  'Off'
: '&7Update checker is &coff&7.'
  'On'
: '&7Update checker is &aon&7.'
explosionCancelMessage
: '&4Explosion canceled.'
lockedEntities
: '&7Locked entities : '
wrongCommand
: '&cWrong command! Type /explock help to get command list.'
blockExplosionLockInfo
:
  'Off'
: '&7Blocks explosion lock is &coff'
  'On'
: '&7Blocks explosion lock is &aon'
updateInfoToPlayer
:
  'Off'
: '&7Update info to player on join is &coff'
  'On'
: '&7Update info to player on join is &aon'
worldFilter
:
  'Off'
: '&7World filter is &cdisabled'
  'On'
: '&7World filter is &aenabled'
  List
: '&7Explosion lock in worlds : '
keepItemsOnExplosion
:
  'Off'
: '&7Keeping items on explosion is &cdisabled'
  'On'
: '&7Keeping items on explosion is &aenabled'
modules
:
  gui
:
    explosionDamageDisabled
: '&7Successfully &cdisabled &7explosion damage lock'
    explosionDamageEnabled
: '&7Successfully &aenabled &7explosion damage lock'
    updateCheckerDisabled
: '&7Successfully &cdisabled &7update checker'
    updateCheckerEnabled
: '&7Successfully &aenabled &7update checker'
    blockExplosionDisabled
: '&7Successfully &cdisabled &7block explosion lock'
    blockExplosionEnabled
: '&7Successfully &aenabled &7block explosion lock'
    sendUpdateInfoToPlayerDisabled
: '&7Successfully &cdisabled &7update messages to
      players'
    sendUpdateInfoToPlayerEnabled
: '&7Successfully &aenabled &7update messages to
      players'
    worldFilterDisabled
: '&7Successfully &cdisabled &7world filter'
    worldFilterEnabled
: '&7Successfully &aenabled &7world filter'
    keepingItemsDisabled
: '&7Successfully &cdisabled &7keeping items on explosion'
    keepingItemsEnabled
: '&7Successfully &aenabled &7keeping items on explosion'
    savedSettings
: '&7Config saved!'

[CENTER ]

Lock entity explosions
Lock blocks explosion
Entity lock filter
World filter
Update checker
Lock explosion damage
Lock explosion item remove
Canceled explosion info to console
Change plugin messages
Ingame GUI settings
Enable BETA/DEV-MODE
All is configurable!

upload_2022-7-16_16-34-46.png
[​IMG]

From version 0.6 you can enable BETA and DEV-MODE.
Both of these features give you early access to some of new features.

How to enable BETA/DEV-MODE?
Add line dev-options: '' to config.yml file.
To enable BETA: Add beta.enable between ' '
To enable DEV-MODE: Add devmode.enable between ' '
Example:
Code (YAML):
...
updateInfoToPlayer
: true
dev-options
: 'beta.enable; devmode.enable'
To check if the mode is enabled, type /explock info. There should be information about developer options (at bottom)
[​IMG]
Note that beta & dev-mode options may contain oversights.
If you see any, please report them to me. Contact information below.

The plugin will probably be developed by me. Please, don't write what doesn't work in your opinion. You can report a bug or consult question our discord, there you will also find configuration files for different languages and helpful informations.

discord.png

Click on upper image or click here

You can also write to me in a private message (in this forum), but I prefer discord.
Note: plugin on version 1.21 should work properly. If you notice any errors or inconveniences, please let me know.

Resource Information
Author:
----------
Total Downloads: 6,874
First Release: Jun 21, 2020
Last Update: Jul 2, 2024
Category: ---------------
All-Time Rating:
11 ratings
Find more info at discord.gg...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings