Sueta

LightLevel

1.0.0

Visualize the light level of blocks around you

·Plugin

This plugin shows players the light level of blocks around them while they are holding a torch.

Permissions

  • lightlevel.use - Allows players to use the plugin

Config

radius: 8

Script Config
What is this?

// Determines the color of the light particles
// Should return the color's RGB value
function particleColor(lightLevel) {
     if(lightLevel > 12) {
        return 65280;// LIME
     } else if (lightLevel >= 12) {
        return 32768;// GREEN
     } else if (lightLevel >= 8) {
        return 16776960;// YELLOW
     } else {
        return 16711680;// RED
     }
}

Links

SlZOd2EkUm9kI1J3YW1GeUooVWtXa2QzZFdGPk4rSmFWelV3WVZoYWJHUiNSbk5hVnpVdytHMDVlVnAzUCswa0okUk1NMEp6WkZka2NHSnBPRDBrSiRSalIzZypXakpzZFZ7VmUje2FNbWd3VkVkV01scD5kMjFrYlZaNVl6SnNkbUpxTUcqa2JWWjVZekpzZG1KcFYrMGtSMlYwSlE9PQ==

Similar projects

Plugin →