Skip to content

Editing config

gasnicowydivolper edited this page Mar 12, 2024 · 1 revision

Editing the Config

RandomLight has a very extensive config.

Its big advantage is full configurability, below we present how to do it

Default Configuration:

# RlLight plugin by gasnic
# Support: https://dc.mythicalshop.pl
# Versions: 1.17-1.20

messages:
  playeronly: "this command cannot be used as console."
  nopermission: "you do not have permission to use this command."
  maxradius: "You must change the radius in config!"
  reload: "reloaded config."

# here you can set your own message names
permissions:
  start: "rlight.start"
  reload: "rlight.reload"

# here you can set your own permission names
maxRadius: 100
# maxRadius is the maximum range at which the plugin will place light blocks

#Permissions: (You can change that)
# rlight.start
# rlight.reload

There's a lot going on in our config; we can personalize messages, permissions, and the maximum range.

Permissions are handled by the permissions category. To change them, simply modify the available values, start and reload.

If we want to change messages, we need to use the messages category, where we change the values: playeronly, nopermission, maxradius, and reload.

Meanwhile, maxRadius is used to determine the maximum operating range of the plugin. If you want the value to be larger, increase it.