ImmersiveTorches icon

ImmersiveTorches -----

Create better torches using light blocks



ImmersiveTorches

Create better glowing torches without optifine

This plugin is under development. If you find any errors or have ideas feel free to contact me anywhere and i will help, thanks for using this plugin :3

WARNING: The plugin version 1.2.0 completely changed the configuration. Please save it, delete the one in your plugin folder and redo the config options.

If you want to help me in coding this plugin (Add new features bugfixes etc). Send me a message on discord or here. Im doing this project in my (very) limited free time.

The burning feature is not done yet. The plugin works the same way as 1.1.0 but with different config.

Code (YAML):


#
# If this is enabled save the blocks to a config file. Its kept on restarts, crashes and plugin reloads.
#
save-blocks-to-config
: true

#
# https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html !!
#
torch-blocks
:
 - SOUL_TORCH
  - TORCH
  - LANTERN
  - SOUL_LANTERN

# if this is false the blacklist perm wont work (Good on vanilla servers)
should-whitelist-work
: false
# if the player has this perm the torch wont work
whitelist-perm
: torch.dontuse

# Gets debug messages
debug-perm
: torch.debug

whitelist-worlds
:
  works
: false
  works-as-blacklist
: false
  worlds
:
   - "world"
    - "survival"

whitelist-gamemodes
:
  works
: true
  works-as-blacklist
: false
  modes
:
   - "adventure"
    - "survival"

torches
:
  SOUL_LANTERN
:
    works_under_water
: true
    under_water_level
: 7
    light_level
: 10
    burn
:
      enabled
: true
      # Can be a custom name you created or null
      message_config_option
: one # If no custom config is present default will be used
      # WIll take 1 health every x seconds
      burn_time
: 3601 # 1 hour and 1 seconds
      # Will have this many green squares and health that's taken every x seconds
      burn_health
: 5
    hand
: all


# This block is summoned at the players head | Do not change it because the player will suffocate
light-block
: LIGHT

# DEFAULT VALUES ZONE

# Default light level to be used if its not present in the config
default_light_level
: 15
default_underwater_light_level
: 15
default_hand
: all
default_burn_works
: true
default_works_underwater
: true

# Default burn time
default_burn_time
: 3601 # 1 hour and 1 second

# Default torch health
default_health
: 2

 

Code (YAML):

# help command
helpcommand
:
 - "&7 - - - - - - &f&l < Immersive Torches >&7 - - - - - - "
  - "&7&l- &f&l/&fitorch reload &7-> &freloads the config"
  - "&7&l- &f&l/&fitorch help &7-> &fget this message"
  - "&7 - - - - - - &f&l </ Immersive Torches >&7 - - - - - -"

config-reloaded
: "&cConfiguration reloaded in %s ms!" # %s = miliseconds it took to reload

not_enough_args
: "Not enough arguments provided. Needed %needed, you gave %gave (%command)"

command_messages
:
  debug_on
: "Debug mode turned on!"
  debug_off
: "Debug mode turned off!"

custom-burn-designs
:
  default
:
    loreLine
: "&cTorch health: &f%burn"
    placeholders
:
      burn
:
        # Will look something like this: &cTorch health: &a&l▩&a&l▩&a&l▩&c&l▩&c&l▩
        availablesquare
: "&a&l▩"
        usedsquare
: "&c&l▩"
    # Gets sent every time one torch health is lost
    burn_message
: "&2(&3ImmersiveTorches&2) &7: Your torch is slowly burning out! (Remaining health: %health)"
  one
:
    loreLine
: "&cTorch health (Soul Lantern): &f%burn"
    placeholders
:
      burn
:
        availablesquare
: "&a&l▩"
        usedsquare
: "&4&l▩"
    burn_message
: "&2(&3ImmersiveTorches&2) &7: Your torch is slowly burning out! (Remaining health: %health)"

 
Resource Information
Author:
----------
Total Downloads: 335
First Release: Feb 20, 2023
Last Update: Mar 24, 2023
Category: ---------------
All-Time Rating:
5 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings