CityLanterns: Smart Street Lighting Automation for Minecraft Servers

CityLanterns plugin for Minecraft automates street lamps with groups, day/night schedules, and thunder reactions. Simple commands and WorldEdit support for large builds.

Download CityLanterns

Original name: CityLanterns

FileVersionLoaderSize
CityLanterns.jar12 КБDownload
CityLanterns-2.0.jar37 КБDownload
CityLanterns-BETA.jar39 КБDownload
CityLanterns-2.1.1.jar54 КБDownload

CityLanterns: Smart Street Lighting Control for Minecraft

Running a bustling Minecraft server city comes with a unique set of challenges. As your urban landscape expands and players crave deeper atmospheric immersion, the small details start to matter more. One of those details is the humble street lamp. Manually flipping levers or building sprawling redstone circuits for every light post is tedious, inefficient, and frankly, a relic of the past. This is where CityLanterns: Smart Street Lighting Control for Minecraft steps in, offering a sleek, automated solution that transforms ordinary redstone lamps into a responsive, intelligent lighting network for your world.

Core Functionality: A Smarter Way to Light Your Streets

CityLanterns is designed to eliminate the headaches of manual lighting management. Instead of complex wiring, it introduces a logical system based on groups and schedules. You can assign redstone lamps to distinct groups, each with its own set of behavioral rules. A central group might illuminate at sunset, while lamps on the city outskirts only flicker to life at midnight. You can even program a reaction to thunderstorms, causing certain lights to flash or activate during lightning strikes. All of this is controlled through simple in-game commands and clean configuration files, making it accessible for both novice builders and veteran server admins.

Group-Based Control and Scheduling

The heart of this add-on lies in its flexible group system. You can create groups like "main", "docks", or "market", then assign specific lamps to them using a dedicated tool. After grouping, you define the activation schedule for each. The system supports three key gameplay events: day, night, and thunder. For each event, you can specify a numeric delay in ticks or a simple boolean value (true/false) to determine the lamp's state. This granularity allows for highly realistic scenarios: streetlights dimming at dawn, park lamps turning on a bit later, and emergency lighting activating only during severe storms. This level of control ensures your city feels alive and responsive to the world around it.

Selecting Lamps and Using the Wand

Binding a lamp to a group is straightforward. You start by using the command /citylanternsselect (or its shorter alias /cls). This gives you a special selection tool in your inventory. A right-click on a redstone lamp will show you which group it's currently assigned to, while a left-click will add or remove it from your selected group. If you don't specify a group, the lamp defaults to "main". This intuitive system prevents confusion and lets you reassign dozens of lamps on the fly.

For those working on massive projects, there's an even more powerful option. By adding the we argument to the selection command, you can mass-assign every lamp within your current WorldEdit region to a specified group. This feature is a massive time-saver, especially when working on large districts or entire cities.

Commands and Permissions Overview

CityLanterns comes with a minimalist but effective set of commands, all accessible to server operators by default. Permissions are flexible and can be integrated with any permissions plugin.

  • /citylanternsselect [group] [new|we] — Gives you the selection tool or mass-binds lamps in a WorldEdit region. Permission: citylanterns.select.
  • /citylanternsgroups [group] — Lists all existing groups or shows detailed info about a specific one. Permission: citylanterns.groups.
  • /citylanternssettings [group] day|night|thunder value — Modifies a group's settings directly from chat, without touching the config file. Permission: citylanterns.settings.
  • /citylanternsreload [force] — Reloads all lamps and settings. The force flag fully resets the cache and re-reads data from storage. Permission: citylanterns.reload.

The /citylanternssettings command is particularly useful for admins who need to adjust lighting on the fly for events or changing in-game time, all without a server restart. This is a highly valued feature on roleplay and creative building servers.

Installation, Compatibility, and Performance

This plugin is built for CraftBukkit and its forks, supporting Minecraft versions from 1.4.7 all the way up to 1.7.9 and newer builds. Installation is standard: you place the downloaded jar file into your server's plugins folder and restart the server or run /reload. It's a simple process that gets you up and running in minutes.

Performance is a key consideration for any server plugin. Starting with version 1.5, the developer added a small delay between lamp state changes to prevent lag spikes when mass-updating blocks. Furthermore, lamps closer to players are updated first, making the lighting transition appear more natural and less jarring to the eye. This mechanic shines in large cities where hundreds of lamps might switch states simultaneously. The configuration file is also well-commented, making it easy for even novice admins to understand and tweak group parameters.

It's also worth noting that CityLanterns sends anonymous statistics via MCStats. If you prefer complete privacy, you can easily opt out by setting the opt-out parameter to true in the PluginMetrics/config.yml file.

Use Cases and Scenarios

The versatility of CityLanterns makes it a perfect fit for a variety of server types. On a roleplay server, you can create distinct lighting moods for different districts. The wealthy residential area might have warm, always-on lights, while the industrial sector only activates during thunderstorms. For a survival server, you could set up a warning system where lights flash when a storm is approaching, giving players a visual cue to head indoors. On a creative or building server, the WorldEdit integration allows for rapid prototyping of lighting schemes without the need to manually select each block.

For players using modded launchers, managing plugins is often a hurdle. However, a modern launcher can simplify the process of installing and switching between different game versions, making it easier to test server-side solutions like CityLanterns on a local machine before deploying them to a live server. This workflow is ideal for admins who want to fine-tune their lighting configurations in a controlled environment.

Final Thoughts

CityLanterns is a compact yet incredibly useful plugin for any server where atmosphere and automation are priorities. It doesn't bog down the core, is easy to configure, and provides builders with a powerful tool for creating living, breathing cities. The combination of group management, weather reactivity, and WorldEdit integration makes it an essential addition for administrators who value order and beauty in their game world. If you're ready to elevate your server's ambiance, you can easily download CityLanterns: Smart Street Lighting Control for Minecraft and start building smarter. The instructions on how to install are straightforward, and once it's running, your streets will never be needlessly dark again.