Skip to content

Enhancement: Add RAD_MAX to config file #9

Description

@TonyGravagno

The maximum scan radius is set in EternalLightConfig.java. On a hefty server, like a modern PC with only 1-2 players, the default hardcoded limit of 20 is frustrating. Yes, I can change that and build from source but there's a better way to do this.

By reading the RAD_MAX from the config file, like the other fields, every admin will have the ability to decide what fits their environment.

This relates to #8 where we might want a 50 block radius for our direct line of sight, and we don't care what is above or below us. We certainly would not want a full 50 block radius in a cavern or rugged terrain, but in a more enclosed area where we are not going to scan a full sphere, 50 blocks straight in the direction we are looking isn't bad at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions