Compatibility
Minecraft: Java Edition
Platforms
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
Explock is a plugin that allows blocking various explosions with plenty of configuration options and option for changing settings in the game
It has several commands to help you use it.
Commands
/explock help
- Show command list
/explock info
- Shows explosion block status information
/explock reload
- Reload the plugin (config, messages)
/explock turn
- Turn on/off explosion lock
/explock update
- Show info about newest version
/explock plugin
- Show info about plugin
/explock gui
- Opens the in-game settings GUI
Permissions
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.
config.yml
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.
messages.yml
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!'
Features
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!
In-game GUI
You can report a bug or consult question our discord, there you will also find configuration files for different languages and helpful informations.
Click on upper image or click here
Mainly supports the latest versions, but should work from 1.3.2 to 1.19.x