HomeJavaModsLightSource
LightSource
[​IMG]

For works, need this library: LightAPI

[​IMG]
LightSource is designed to replace the outdated plugin BkrTorchLight. This plugin gives you the ability create dynamic light sources. Starting with the 3.0.0 a plugin forwarded towards lightness.

[​IMG]
[​IMG]
[​IMG]
Spoiler: config.yml
Code (Text):

# LightSource v3.0.0 Configuration
# by BeYkeRYkt
version: 1 //version configuration
add-to-async-lighting-queue: false //Using asynchronous light calculation from LightAPI
updater:
  enable: true
  repo: BeYkeRYkt/LightSource
  update-delay-ticks: 40
  view-changelog: false
sources:
  update-delay-ticks: 10 //The delay between updates
  search:
    search-players: true
    search-entities: true
    search-items: true
    search-radius: 20
    search-delay-ticks: 5 // The delay between searching updates
 
Spoiler: sources.yml
Code (Text):

redstonetorch:
  material: REDSTONE_TORCH_ON
  lightlevel: 9
  flags:
  - update:false:true
  - delete_light:false
testItem:
  material: BEDROCK //Get Material name from Bukkit materials list
  lightlevel: 10 //light level
  displayname: DEV_TEST //display name for item
  flags: // Starting with 3.0.0 was introduced the system of "flags"
// The string looks like this:
// [flag name] : [args1] : [args2] : [infinity args and etc]
// some of the information you can get by using the command /ls info [flag name]
  - entity:PLAYER:DROPPED_ITEM
  - permission:lightsource.testItem
  - world:world:world_nether:world_the_end
  - update:true:true
  - play_effect:ENDER_SIGNAL:0:1
  - play_effect:HEART:0:1
  - play_effect:MOBSPAWNER_FLAMES:0:1
  - delete_light:true
 

[​IMG]
[​IMG]
[​IMG]
[​IMG]
[​IMG]
License is MIT.
https://github.com/BeYkeRYkt/LightSource

If you find any bugs, I ask you to write about it in this thread.

[​IMG]

[​IMG]

[​IMG]

[​IMG]

[​IMG]


More information from mcstats

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

LightSource is a free Minecraft Java mod. Compatible with Minecraft 1.10. Downloaded 12,567 times (via Spigot). Download it and open it directly in the game.

Explore more