LightSource
[ Main ] [ Files ] [ Configuration ] [ Source ] [ API ]
FOR NEW VERSION GO TO SPIGOT FORUM!
Description:
LightSource is designed to replace the outdated plugin BkrTorchLight.This plugin gives you the ability create dynamic light sources.
Features:
- Create dynamic light.
- Support 1.8 & 1.7.10 (Maybe support Spigot Hack Protocol)
- Custom items that create light.
- Timer burning & Infinite sources.
- Async task for light runnable.
- Damage from the light item!
- API code.
- Easy GUI Menu!
- Mobs and items can emit light. (can be disabled in the settings)
- Open source.
- ONLINE ITEM EDITOR BETA ! (Only 2.1.0 and high)
- And more...
Installation:
1. Download the plugin
2. Place it in your 'plugins' directory
3. Start your server
4. Stop your server
5. Change the configuration of the plugin, if needed
6. Start your server and have fun!
Video:
Command:
- /ls - main commands or will open you GUI menu
- /light - Commands for static light
- /light create [0-15] - Create static light
- /light delete - delete static light
Permissions:
- ls.admin - Admins permission
Auto-Updating:
LightSource uses the Updater system to ensure that your plugin is always up-to-date with the latest protection. Updater is compliant with the update-checking guidelines imposed on all BukkitDev plugins which ensure all updates to your server are approved by BukkitDev Staff prior to being downloaded. If you wish to disable auto-updating, you may set the "Enable-updater" (see Configuration page) toggle in the config.yml to false
Metrics:
This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.
Suggestions?
I do not mind listening to your suggestions. :D
To-Do list:
Add support for lore items
- Optimize the code
-Create an invisible light source (hidden Light)
Bugs:
- When you'll frequently update the chunks, the server begins to lags.
* When you first start, the plug is not fully loaded. (Fixed 1.5)
- 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 :D
If reporting a bug or suggesting a feature, please file a ticket.
Whenever I type /ls or anyother command I get "an internal error occurred while attempting to perform this command"
nothing happens when i do the commands... Neither an error or a this command does not exist... Ill be glad if you fix that out! :)
Does not work on Bukkit 1.8.3 :(
[01:39:14] [Server thread/ERROR]: Error occurred while enabling LightSource v2.1.2 (Is it up to date?) java.lang.NoClassDefFoundError: net/minecraft/server/v1_8_R1/IWorldAccess at ykt.BeYkeRYkt.LightSource.LightAPI.<init>(LightAPI.java:35) [?:?] at ykt.BeYkeRYkt.LightSource.LightSource.onEnable(LightSource.java:32) [?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) [craftbukkit-1.8.3.jar:git-Bukkit-96c2c39] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:327) [craftbukkit-1.8.3.jar:git-Bukkit-96c2c39] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [craftbukkit-1.8.3.jar:git-Bukkit-96c2c39] at org.bukkit.craftbukkit.v1_8_R2.CraftServer.loadPlugin(CraftServer.java:341) [craftbukkit-1.8.3.jar:git-Bukkit-96c2c39] at org.bukkit.craftbukkit.v1_8_R2.CraftServer.enablePlugins(CraftServer.java:313) [craftbukkit-1.8.3.jar:git-Bukkit-96c2c39] at net.minecraft.server.v1_8_R2.MinecraftServer.r(MinecraftServer.java:408) [craftbukkit-1.8.3.jar:git-Bukkit-96c2c39] at net.minecraft.server.v1_8_R2.MinecraftServer.k(MinecraftServer.java:374) [craftbukkit-1.8.3.jar:git-Bukkit-96c2c39] at net.minecraft.server.v1_8_R2.MinecraftServer.a(MinecraftServer.java:329) [craftbukkit-1.8.3.jar:git-Bukkit-96c2c39] at net.minecraft.server.v1_8_R2.DedicatedServer.init(DedicatedServer.java:236) [craftbukkit-1.8.3.jar:git-Bukkit-96c2c39] at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:501) [craftbukkit-1.8.3.jar:git-Bukkit-96c2c39] at java.lang.Thread.run(Unknown Source) [?:1.8.0_31] Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_8_R1.IWorldAccess at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:67) [craftbukkit-1.8.3.jar:git-Bukkit-96c2c39] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) [craftbukkit-1.8.3.jar:git-Bukkit-96c2c39] at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.8.0_31] at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.8.0_31] ... 13 more
I'm having a problem with LS. It seems that every time I restart my server, the plugin turns on all the features that I had previously saved as 'false' both in the config and in game. Any fix for this so far or no?
Hi there so far im loving this plugin very useful. I have had one issue with it so far, whenever I set down the torch im holding (and im holding mulple torches) and i pick it back up it no longer stacks with the rest of my torches. Was it intended to do so? or is there a setting I need to ajust??
What does the "empty" itemlore do?
In combination with other villagershops the items are not recognised anymore because the metadata changed...
Hi there, firstly i love the plugin great job, also is there anyway to allow an npc holding a torch to give off light?, can this plugin hook into citizens to allow that?, thank you
Anyway to increase the effectiveness of this plugin? Such as selecting a region with world edit and setting the light either in a ring, square or a full region selection? Also if I were to use a few thousand of these light sources will it create a lot of lag? I have noticed double the RAM usage since i've started using it and I haven't even covered half of the area I want to use. So far I have about 400 light source placed. and I plan to place another 800-900
@angrybirds085
http://www.spigotmc.org/resources/lightsource.2521/
@BeYkeRYkt
Does this work in Bukkit/Spigot 1.8?
Update:
To date, the plugin will be updated to version 1.8 Spigot (with new features, etc.) and will be uploaded to the forum spigot. Thank you that you have read the text.
@pr4xt3roy
Use Worldedit Select the whole area and do replace 0 0
Hello BeYkeRYkt, awesome plugin you got there :)
The "Delete light" option of LightSource 1.7.0 does not seem to work on my 1.7.10 Spigot server.
Where are the light information saved exacly? Would I need to use MCEdit to remove them?
Or is there a way to remove them all so I can start over?
Edit: It says "Light successfully deleted!" but the light remains...
Thanks.
@dudeware
Up to 1.6.1 Command /light has been removed due to a change api code.
@BeYkeRYkt
What I mean is that for lightsource v.1.5 for CB 1.7.9 RO.1 the command /light does not work at all, and I was wondering when you were gonna add in the functionality to create hidden lightsources for CB RO.1
I take that back, better update my server to 1.7.10 :)
Please update and add the new content also for the 1.7.9 version :D
@dudeware
What do you mean?)
@Clazher
Add to 1.7.1. Already written a few lines.)
@BeYkeRYkt
Because is more fast use the /light create 15 than having to open the gui all the time
@BeYkeRYkt
I found out what went wrong and I have gotten it to work on my server (basically i had 1.7. 9 RO.1 instead of 1.7.9 RO.3 lol)
So I am just wondering when will you be adding in the ability to use /light for 1.7 and up? Thats the only reason why I wanted your plugin to be honest.