Glowstone Lanterns

4 minute read    Published: 2011-07-09

Source code: GitHub
Current version: v1.0.1

Note: this project is discontinued, and will likely no longer receive support or updates.

Glowstone Lanterns header

With this plugin Glowstone Lanterns you can make lanterns, when it's going dark the glass of the lanterns will change in glowstone and when it's daytime it will change in glass again. The great thing is that you don't need to place a full lantern but only a glass/glowstone block, so you can use it for everything. This plugin is very useful for a large city to light it up, that looks really cool that the lanterns will change in glowstone! You can also place prebuilt lanterns, so that's really useful if you want to plase a lot of lanterns in a little time. You can enable glowstone lanterns with /gl, when you place a glass or a glowstone block it is marked as a glowstone lanterns, this block will change to glowstone if it is night and to glass if it is daytime. If you use /gl l l you will enable prebuilt glowstone lanterns, if you place a glass or a glowstone block there will appear the prebuilt glowstone lantern you selected right there. There prebuilt lanterns are in external files, so you can make your own prebuilt lanterns and share them with other people.

Video

In the video underneath you can see how the plugin works: (outdated video)

Features

  • Permissions support
  • Multi world support
  • Place prebuilt lanterns that are saved in external files, you can make them and share them with other people
  • Possibility to make your own custom prebuilt lanterns
  • Players can only destroy lanterns if he have permission
  • Put lanterns on when it rains
  • And a lot more!

Download

Installation

  1. Download the plugin
  2. Add the GlowstoneLanterns.jar file and the folder Glowstone Lanterns from the downloaded .zip file to the /plugin folder of the Minecraft server. Also add the included folder Glowstone Lanterns to your plugins folder.
  3. Add the permission nodes if you have a permissions system.
  4. Set some settings in the config file.
  5. Start your server and enjoy the plugin :)

Commands

Glowstone Lanterns commands can be invoked by typing /glowstonelanterns, /glowstonelantern or /gl in the in-game chat, or in the server console.

CommandAction
/glEnable glowstone lanterns
/gl lantern <id>Enable prebuilt glowstone lanterns
/gl lanternDisable prebuilt glowstone lanterns
/gl list lanternsList the prebuilt lanterns
/gl helpView the help with all commands
/gl infoView info (see if glowstone lanterns is enabled)
/gl saveSave the glowstone lanterns list
/gl reloadReload the lanterns list
/gl versionView current running version number

Permissions

Permission nodeAction
glowstonelanterns.glAllow users to place glowstone lanterns
glowstonelanterns.destroyLanternsAllow users to destroy glowstone lanterns
glowstonelanterns.infoAllow users to use the info command
glowstonelanterns.reloadAllow users to use the reload command
glowstonelanterns.saveAllow users to use the save command

Source code

Because I like programming and I want to share my code so other developers could fix an issue directly if they found a problem for example, I share the source code of my project. It's available on GitHub.

Changelog

Version 0.6 (14-10-2012)

  • Delayed lantern changes
  • Auto generating config files
  • Updated bukkit API
  • Improved the permissions manager
  • Added PermissionsEx support
  • Added Essentials Group Manager support
  • Updated Default Permissions support
  • Renamed package from me.timvisee to com.timvisee

View all the changes here (old website)

Please donate some money so I can buy some coffee to make better plugins and host the website, I would really like it if you give an donation and I probably put you on the sponsor list :-)

Donate

Comment

Please comment and ask on the official Bukkit forums, if you have a question you can also contact me; Glowstone Lanterns page on dev.bukkit.org.