ExplosionRegen [Jack29] icon

ExplosionRegen [Jack29] -----

Regenerate blocks damaged from explosives from all sources



TnT Regen 2.6 Update - User Settings & Particle Presets
User Settings
  • New configuration option "other.enablePlayerSettings"
    • With this setting enabled, players can customize the particles they see or the sound that is played using either /rparticle or /rsound
    • When this option is enabled, players will have their own files which is used for their own preference.
  • Players will be required to have the permission "tntregen.command.<command> to open the GUI Inventory, where <command> is either rparticle or rsound.
    • Along with that permission, players will also be required to have this permission format:

      Particles: tntregen.command.rparticle.<explosionType>.<subType>.particle.<particle> (<particle> can also be used for any preset particles available).

      Sounds: tntregen.command.rsound.<explosionType>.<subType>.sound.<sound>
  • If the player does not have a permission for an explosion subType, they will instead see the server's default particles and/or hear the sound.
Preset Particles
  • Using the new particles.yml, you can create and/or edit an existing preset of particles.
  • These presets can be used just like how you would with the regular vanilla particles.
  • Using a preset will give more control on what particles are played, where is it played, and other options such as the amounts & offsets.
  • These can be available for both the server default & an option for a player when using /rparticle.
  • Players will be required to have the permission "tntregen.command.rparticle.<explosionType>.<subType>.presets" to have access to them in the /rparticle inventory.
  • There will be 2 examples included in the particles.yml which can be used, edited, or removed.
  • Below is a format structure used in the particles.yml for a preset.
    Code (YAML):
    <name> :
      # The name to display when viewing the /rparticle inventory.
      displayName
    : displayName
      # The blockRegen section & blockToBeRegen are optional to have in. Can use both.
      blockRegen (or blockToBeRegen)
    :
        particles
    :
          # These options for a particle is not required. If one of the options is not used, a default value is used instead (the values below are the default values).
          <vanilla_particle>
    :
            # The amount of this particle to show up.
            amount
    : 1
            # The amount of times this particle will play.
            count
    : 1
            # Configure the offset values for this particle.
            offset
    :
              x
    : 0.0
              y
    : 0.0
              z
    : 0.0
            # 'extra' is the additional value for this particle (usually speed)
            extra
    : 1
            # The location for the particles to spawn on. Accepted values: 'explosions' = the location of the explosion source, 'blocks' = Random location of a block that has yet to be regenerated, 'next' = The location of the next block set to be regenerated.
            spawnOn
    : blocks
            # Options under 'option' are used for additional settings. At the moment, it is used for a dust particle (Which as of 1.15.2, only applies to Redstone.
            option
    :
              # Available only for a dust particle. Sets the color of the dust. Accepts these formats: a name of the color (example: black, red, purple), 0,0,0 (RGB format)
              color
    : black
              # Available only for a dust particle'. Sets the size of the dust.
              size
    : 1
Other Changes
  • Made some adjustment to the /rparticle & /rsound command.
    • Removed the [page] sub command & added [server] sub command.
    • New format: <command> [server] [explosionType] [subType]
    • Now supports Tab Completion.
  • Made texts for items in both /rparticle & /rsound inventory more user friendly.
  • Fixed an issue where errors could show in the console if the slot clicked was empty or was an item from the bottom inventory.
  • Fixed a bug where the music discs would incorrectly replace the previous changed sound in the /rsound inventory.
Note: If you have any issues, suggestions, or want to share your feedback, you join my discord server specifically for my plugins. Alternatively you can also added me on discord as well to get in contact.
Server: https://discord.gg/ckehrXA
Discord: Jackalantern29 (NA)#2165
----------, Mar 2, 2020
Resource Information
Author:
----------
Total Downloads: 4,910
First Release: Sep 29, 2018
Last Update: May 16, 2021
Category: ---------------
All-Time Rating:
21 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings