LightAPI Fork icon

LightAPI Fork -----

Plugin support continuation




  • Scheduled tasks stopped working because the method name changed in version 1.17.1. Fixed getting the correct method name for both 1.17 and 1.17.1
----------, Jul 12, 2021

  • World.getMinHeight() does not exist in 1.16.4 (only in 1.16.5).
Thanks to Zenya4
----------, Jul 4, 2021

  • Added support for 1.17
  • Migrated from Java 1.6 to 1.8 (Java 1.8 is now required as a minimum version)
  • Added new API methods getMinLightHeight and getMaxLightHeight
  • Removed mcstats since the project died long ago
  • Added the config file to the plugin as a resource
  • Suppressed the warning "Could not find ... implementation. Trying CraftBukkit instead"
Thanks to @LOOHP and @Ynohtna (QuentiumYT)
----------, Jun 22, 2021

Added support for 1.16.4 (+update 1.16.3)
----------, Nov 4, 2020

Added support for 1.16.2
----------, Aug 16, 2020

  • Tested on spigot/craftbukkit 1.16.1
  • Also added api-version:1.13 to plugin.yml just to prevent warnings on server startup
----------, Jul 3, 2020

  • New method LightAPI.isSupported(World world, LightType lightType). Determines whether the world supports the specified type of lighting.
  • Fixed bug when creating/deleting light sources in a world that does not support the specified type of lighting.
----------, May 1, 2020

  • Added support for 1.15
  • The restriction on only registered servers by the plugin is removed. Now any CraftBukkit-based server (not only Akarin, Paper, Purpur, etc.) can try this plugin at his own risk :)
----------, Dec 18, 2019

  • The format and content of messages has been changed
  • The ability to turn off the coloring of the log has been added (parameter "colored-log")
To see new parameter you should delete the old config,yml so that a new one is created at server startup.
----------, Oct 2, 2019

Allows to create not only light from block, but also from sky. This is useful if you need to create a light source inside the cave, which will look like light under the open sky. The actual illumination, in this case, will depend both on the set light level and on the time of day.
----------, Sep 14, 2019

This is useful if you want to send chunk changes not to all nearby players, but only to a specific list. For example, in plugins, with frequent light changes, a list of ignored players can be configured (due to their slow computers). In this case, players will not see light changes until the chunks reload.
----------, Sep 3, 2019

Now all five 1.14 servers are supported:
  • CraftBukkit
  • Spigot
  • Paper
  • TacoSpigot
  • Akarin
Only CraftBukkit and Spigot are tested. All other server types need to be tested by yourself.
----------, Jul 27, 2019

This is global refactoring of LightAPI engine. Interface should be compatible with old versions.
  • Added support for 1.14+
  • Optimize multi-thread system
  • Optimize sending packets
----------, Jul 26, 2019


Attention!
  1. LightAPI 3.2.8 is for the latest build of spigot 1.13.2 (git-Spigot-140f654-b446cb5) . Update spigot 1.13.2 to the latest build version!
  2. Now spigot 1.13.1 and old builds of spigot 1.13.2 is not supported. Use version 3.2.7 with them
----------, Dec 14, 2018

  • Added support for 1.13.1
  • Added support for Akarin (a multi-threaded paper fork). Not tested.
----------, Aug 27, 2018

Added support for 1.13

Please edit your config.yml and set updater: repo: to Qveshn/LightAPI
This is necessary for correct validation of new versions the next time
----------, Jul 23, 2018

Bug: Sometimes plugin with spigot 1.12.2 throws exception IllegalArgumentException on server starts
Fix: Workaround with concurrent calls to definePackage in spigot PluginClassLoader (exception IllegalArgumentException during a call to PluginManager.registerEvents)
Created issue: https://hub.spigotmc.org/jira/browse/SPIGOT-3734

Edit:
@md_5 has fixed this bug. If you updated your spigot 1.12.2 to last version then you can skip this LigthAPI version and use 3.2.4 X.12.0
----------, Jan 3, 2018

There was a little bug when create/remove light above 128 y-coordinate. (usually at 193 and above). There was wrong information for client what parts of chunk must be updated.
I think I fixed it.
It would be nice if somebody will test this :)
----------, Dec 13, 2017

Resource Information
Author:
----------
Total Downloads: 54,345
First Release: Oct 11, 2017
Last Update: Jul 12, 2021
Category: ---------------
All-Time Rating:
39 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings