PortableLight

With PortableLight a torch becomes a Portable Lamp which can bring light into the darkness.
<p>The Default icon of the PortableLight plugin.</p>

The Default icon of the PortableLight plugin.

Description

(Recent version works with the 1.8-R1 CraftBukkit version only)

PortableLight


Use the latest version (v1.5a) for the best performance with CB-1.8-R1


Thank you for over 3,000 downloads! <3 <3 <3

What is 'PortabLight'?

It is a Plugin which allows items to act as a lamp while being hold by a player.

Features&Commands

  • Items act as lamp (with permission: 'portablelight.use' or as op)

Planned Features&Commands

(I'm currently working on them)

  • Better performance

Recently updated

  • Release | CB-1.7.10-R0.1-20140817.180155-16.jar | PortableLight-v1.4a.jar
    • Rewrote plugin code completely
    • Added basic api to add/remove illuminating items
    • Added config file 'plugins/PortableLight.properties' to add/remove illuminating items (use the list 'AllowedMaterials' to define items)
    • Note that this version hasn't been published due to dev.bukkit.org issues.
  • Release | CB-1.8-R1 | PortableLight-v1.5a.jar
    • Updated to version 1.8 (from BuildTools-1.8.20141228.jar)
    • Fixed incorrect oldLL to use oldLLt

Installation

  1. Download the plugin
  2. Place it in your 'plugins' directory
  3. Create a file called 'PortableLight.properties' in your 'plugins' (please note that the torch also needs to be added to the 'AllowedMaterials' inside the properties file!)
  4. Start your server
  5. Now the plugin is ready to use (no configuration needed!)
  • You can un-/register items by changing the 'AllowedMaterials' property in './plugins/PortableLight.properties' ( - all material names are seperated by a comma ( , )).
  • You can un-/register items by accessing the API programmatically through the 'PortableLight' class ( - remember to add PortableLight as a dependency in your 'plugin.yml'). Included methods:
    • .registerMaterial(Material material) - - Register new material
    • .registerMaterials(Material... materials) - - Register new materials
    • .unregisterMaterial(Material material) - - Unregister registered material
    • .unregisterMaterials(Material... materials) - - Unregister registered materials
    • .isMaterialRegistered(Material material) - - Determine if a material is registered
Quote from an exmaple PortableLight.properties:
# List of materials that will illuminate (seperated by commas; whitespaces are ignored), e.g.
# AllowedMaterials=<MATERIAL>,<MATERIAL>
AllowedMaterials=TORCH,GLOWSTONE_DUST

You can find a list of all available materials here.

Media

Youtube Video:

Bukkit Plugin Showcase #2: PortableLight (v1.3c)

Suggestions?

  • I'm happy about every suggestion :)

Bugs

  • The current version might have bugs, because it uses an untested method to determine the lightlevel, which causes a framedrop on the client
  • The current version produces an error when there is no PortableLight.properties file inside the './plugins' directory and creates a folder named 'PortableLight.properties' instead. Fix: Create the PortableLight.properties file manually (i.e. touch ./plugins/PortableLight.properties in the server root directory)
  • No other bugs at the moment

The PortableLight Team

profile avatar
  • 6
    Projects
  • 31.5K
    Downloads
Donate

More from _ForgeUser8978456View all

  • Tent project image

    Tent

    • 9.1K
    • Bukkit Plugins

    THis plugin allows you to build a tent quickly!

    • 9.1K
    • January 13, 2015
    • Bukkit Plugins
    • +1
  • MovementFx project image

    MovementFx

    • 4.9K
    • Bukkit Plugins

    MovementFx add more movement abilities to your server!

    • 4.9K
    • August 11, 2014
    • Bukkit Plugins
    • +1
  • ServerUpdater project image

    ServerUpdater

    • 1.0K
    • Bukkit Plugins

    Allows you to schedule an update of the main server file to the latest recommended/beta/development build.

    • 1.0K
    • July 29, 2014
    • Bukkit Plugins
  • DetailedServerInfo project image

    DetailedServerInfo

    • 1.1K
    • Bukkit Plugins

    DetailedServerInfo allows players with the permission dsi.get or server operators to get detailed informations of the server.

    • 1.1K
    • July 20, 2014
    • Bukkit Plugins
  • Tent project image

    Tent

    • 9.1K
    • Bukkit Plugins

    THis plugin allows you to build a tent quickly!

    • 9.1K
    • January 13, 2015
    • Bukkit Plugins
    • +1
  • MovementFx project image

    MovementFx

    • 4.9K
    • Bukkit Plugins

    MovementFx add more movement abilities to your server!

    • 4.9K
    • August 11, 2014
    • Bukkit Plugins
    • +1
  • ServerUpdater project image

    ServerUpdater

    • 1.0K
    • Bukkit Plugins

    Allows you to schedule an update of the main server file to the latest recommended/beta/development build.

    • 1.0K
    • July 29, 2014
    • Bukkit Plugins
  • DetailedServerInfo project image

    DetailedServerInfo

    • 1.1K
    • Bukkit Plugins

    DetailedServerInfo allows players with the permission dsi.get or server operators to get detailed informations of the server.

    • 1.1K
    • July 20, 2014
    • Bukkit Plugins