CityLanterns: Smart Street Lighting Control for Minecraft

Bring Your City to Life with CityLanterns Minecraft builders know that lighting can make or break the atmosphere of a city build. Redstone lanterns are a favorite for their warm glow, but manually toggling them as day turns to night feels like a chore. That is where the CityLanterns plugin steps ...

Download CityLanterns

Original name: CityLanterns

FileVersionLoaderSize
CityLanterns.jar——12 КБDownload
CityLanterns-2.0.jar——37 КБDownload
CityLanterns-BETA.jar——39 КБDownload
CityLanterns-2.1.1.jar——54 КБDownload

Bring Your City to Life with CityLanterns

Minecraft builders know that lighting can make or break the atmosphere of a city build. Redstone lanterns are a favorite for their warm glow, but manually toggling them as day turns to night feels like a chore. That is where the CityLanterns plugin steps in, transforming static lighting into a dynamic, automated system that reacts to the in-game time and weather. Whether you are crafting a sprawling metropolis or a cozy village, this plugin gives you the power to schedule exactly when different groups of lanterns illuminate your world.

What Is CityLanterns?

CityLanterns is a server-side plugin for CraftBukkit and Spigot that allows you to group redstone lanterns and define custom on/off times for each group. Instead of all lanterns lighting up at sunset, you can have streetlights in the main district flicker on at dusk, alleyway lamps wait until midnight, and decorative thunder-reactive lanterns flash during storms. The plugin handles everything automatically, creating a living, breathing environment that feels truly alive.

Core Mechanics: Groups and Timers

At its heart, CityLanterns works by assigning individual redstone lanterns to named groups. Each group has its own configuration that dictates when the lanterns toggle on, when they toggle off, and how they behave during thunderstorms. The plugin constantly checks the in-game time and weather, activating the appropriate groups with minimal lag thanks to a built-in delay system that staggers block updates. This means even servers with hundreds of lanterns can run smoothly.

Selecting and Grouping Lanterns

Getting started with CityLanterns is refreshingly simple. The plugin provides a special selection tool that you can obtain with the /citylanternsselect command. Right-click any redstone lantern with this tool to see which group it belongs to, or left-click to add or remove it from the currently active group. You can specify a group name directly in the command, like /citylanternsselect market_district, or leave it blank to use the default “main” group.

For massive builds, the WorldEdit integration is a lifesaver. If you have a WorldEdit selection, running /citylanternsselect <group> we will instantly assign every redstone lantern inside that region to the specified group. This turns hours of manual clicking into a single command, letting you focus on the creative side of your project.

Configuring Group Behavior

Once your lanterns are grouped, you can fine-tune their behavior using the /citylanternssettings command. Each group supports three key triggers:

  • Day – The time (in ticks) when lanterns turn off. A value of 0 disables this trigger.
  • Night – The time when lanterns turn on. Typically set around 13000 ticks for sunset.
  • Thunder – A boolean (true/false) that makes lanterns toggle on during thunderstorms, overriding the normal schedule.

For example, you might set a “residential” group to turn on at 12500 ticks (just before sunset) and off at 23000 ticks (just after sunrise), while a “docks” group activates only at 18000 ticks (midnight) for a moody, late-night vibe. The config file also allows you to adjust the toggle delay to prevent server lag, a thoughtful touch for performance-conscious admins.

Commands and Permissions at a Glance

CityLanterns keeps administration straightforward with a handful of intuitive commands, all restricted to ops by default:

  • /citylanternsselect [group] [new|we] – Gives the selection tool or sets all lanterns in a WorldEdit region to a group. Permission: citylanterns.select
  • /citylanternsgroups [group] – Lists all groups or shows details for a specific one. Permission: citylanterns.groups
  • /citylanternssettings [group] day|night|thunder <value> – Adjusts group settings on the fly. Permission: citylanterns.settings
  • /citylanternsreload [force] – Reloads all lantern data from storage; adding “force” discards in-memory data and reads from disk. Permission: citylanterns.reload

These commands make it easy to tweak your lighting setup without ever touching a configuration file manually, though the plugin does generate a well-documented config.yml for those who prefer text editing.

For server owners juggling multiple plugins, keeping everything updated and organized can be a headache. Managing plugins like CityLanterns becomes a breeze when you use the foxygame.net launcher—a sleek, all-in-one platform that lets you download and install server-side mods directly from its intuitive menu, saving you time and hassle.

Performance and Compatibility

CityLanterns has been refined over many updates, with optimizations like staggered block updates that prioritize lanterns closer to players. This ensures that even on busy servers, the lighting transitions feel seamless. The plugin is compatible with CraftBukkit versions from 1.4.7 up to 1.7.9, and while it may require minor adjustments for newer server versions, its core logic remains solid. It also includes optional MCStats integration for anonymous usage data, which can be disabled in the PluginMetrics config if privacy is a concern.

Why CityLanterns Belongs in Your Server Toolkit

CityLanterns does one thing and does it exceptionally well: it gives builders and server admins precise control over ambient lighting without constant manual intervention. The group system is flexible enough to handle everything from simple day/night cycles to complex, weather-reactive lighting schemes that make your city feel like a living entity. The WorldEdit hook and straightforward command set lower the barrier to entry, so even novice server operators can set up sophisticated lighting in minutes.

If you have ever dreamed of a city where streetlights flicker on row by row as evening falls, or where a sudden thunderstorm sends a dramatic glow through the windows of every building, CityLanterns is the tool that turns that vision into reality. Download the plugin from the official Bukkit repository and start experimenting—your builds will never look the same again.