- Tested Minecraft Versions:
- 1.10
- Source Code:
- https://github.com/BeYkeRYkt/LightSource
- Contributors:
- BeYkeRYkt
For works, need this library: LightAPI
RESOURCE IS DEAD!
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.
- Create dynamic lights.
- Custom items that create light.
- Improvement item customization with new "flag" system
- Timer burning & Infinite sources. In the future.
- Mobs and items can emit light. (can be disabled in the settings)
- Open source.
- Download LightAPI and LightSource.
- Place them in your 'plugins' directory
- Start your server
- Stop your server
- Change the configuration of the plugin, if needed
- Start your server and have fun!
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
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
- /ls - main commands contains information about plugin
- /ls create [0-15] - Create static light
- /ls delete - delete static light
- /ls update - start checking update
- /ls info [flag name] - getting infomation about flag
- ls.updater - for checking updating
- ls.creatinglight - for /ls [create/delete] command
- When you'll frequently update the chunks, the server begins to lags.
- In some places, there may be problems with the lighting chunks.
- In version 1.8 client can be gone some items. Fixed unfortunately do not know.
- Sorry my english
- Example flag executor.
- empty ?
If you find any bugs, I ask you to write about it in this thread.
More information from mcstats

LightSource 3.1.0
The creation of dynamic light sources!
-
1215ND, C0degh0st, barsukozavr and 4 others like this.
Recent Reviews
-
Gustavo_Player
- 5/5,
Here, take this one, it works fine: https://www.spigotmc.org/resources/dynamic-lights.78766/
-
kumasro
- 5/5,
Caused by: java.lang.NullPointerException
at ru.beykerykt.lightapi.LightAPI.createLight(LightAPI.java:208) ~[?:?]
at ru.beykerykt.lightapi.LightAPI.createLight(LightAPI.java:184) ~[?:?]
at ru.beykerykt.lightsource.LightSource.onCommand(LightSource.java:220) ~[?:?] -
Zfee
- 1/5,
[04:17:33 INFO]: Zfee issued server command: /ls create 15
[04:17:33 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'ls' in plugin LightSource v3.1.0
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.12.jar:git-Spigot-99c2a37-9a82fa7]
at us.Myles.PWP.FakeSimpleCommandMap.dispatch(FakeSimpleCommandMap.java:95) ~[?:?]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:645) ~[spigot-1.12.jar:git-Spigot-99c2a37-9a82fa7]
at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1385) [spigot-1.12.jar:git-Spigot-99c2a37-9a82fa7]
at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1220) [spigot-1.12.jar:git-Spigot-99c2a37-9a82fa7]
at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-1.12.jar:git-Spigot-99c2a37-9a82fa7]
at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-1.12.jar:git-Spigot-99c2a37-9a82fa7]
at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.12.jar:git-Spigot-99c2a37-9a82fa7]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_112]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_112]
at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [spigot-1.12.jar:git-Spigot-99c2a37-9a82fa7]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:747) [spigot-1.12.jar:git-Spigot-99c2a37-9a82fa7]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:405) [spigot-1.12.jar:git-Spigot-99c2a37-9a82fa7]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:678) [spigot-1.12.jar:git-Spigot-99c2a37-9a82fa7]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:576) [spigot-1.12.jar:git-Spigot-99c2a37-9a82fa7]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]
Caused by: java.lang.NullPointerException
at ru.beykerykt.lightapi.LightAPI.createLight(LightAPI.java:208) ~[?:?]
at ru.beykerykt.lightapi.LightAPI.createLight(LightAPI.java:184) ~[?:?]
at ru.beykerykt.lightsource.LightSource.onCommand(LightSource.java:220) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.12.jar:git-Spigot-99c2a37-9a82fa7]
... 15 more -
Naoxia
- 3/5,
This can work at Spigot 1.11.2! But ...
Was originally working properly
Until i changed the name of the torch ...
Was originally working properly
Until I close to a torch that dropped on ground has different name...
When I take those items away and restart the server , it can work again -
pierre_the_geek
- 1/5,
Doesn't work.
[11:46:23 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'ls' in plugin LightSource v3.1.0
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-550ebac-7019900]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-550ebac-7019900]
at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServer.java:646) ~[spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-550ebac-7019900]
at net.minecraft.server.v1_8_R1.PlayerConnection.handleCommand(PlayerConnection.java:1115) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-550ebac-7019900]
at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:950) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-550ebac-7019900]
at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:26) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-550ebac-7019900]
at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:53) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-550ebac-7019900]
at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-550ebac-7019900]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:473) [?:1.7.0_131]
at java.util.concurrent.FutureTask.run(FutureTask.java:262) [?:1.7.0_131]
at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:696) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-550ebac-7019900]
at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-550ebac-7019900]
at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:634) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-550ebac-7019900]
at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:537) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-550ebac-7019900]
at java.lang.Thread.run(Thread.java:745) [?:1.7.0_131]
Caused by: java.lang.NullPointerException
at ru.beykerykt.lightapi.LightAPI.createLight(LightAPI.java:208) ~[?:?]
at ru.beykerykt.lightapi.LightAPI.createLight(LightAPI.java:184) ~[?:?]
at ru.beykerykt.lightsource.LightSource.onCommand(LightSource.java:220) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-550ebac-7019900]
... 14 more -
PumpMelon
- 4/5,
I would be giving this a 5-star if it worked, which it had been working up until yesterday but now it is inconsistent and doesn't always show light for my light sources. When I remove / re-upload the jar it works, but then when I go to change some of the sources in the sources.yml it stops working on me. It is a great plugin when it is working, thanks.
-
-
iSlimer
- 1/5,
This didn't work....when I did /ls, I could take blocks from the gui that had.. Disappointed. Please Fix
-
silverforte
- 3/5,
Light sources do not stay lit. Have tried everything but they go out after a couple minutes. Nothing in the settings explains how to prevent this and i see no bug reports pertaining to this issue.
-
nine
- 5/5,
Your plugin is great! But hope, can you add a node to a torch light? PS. Korean additional requests .. hahaha