RUST Night Lantern v2.1.1

No permission to download
You can download a maximum of 0 files within 24 hours
Night Lantern automatically turns ON lanterns/ovens/searchlights after sunset and then turns them OFF after sunrise.

Sunset and sunrise hours can be set in configuration file; default values are 7.5 and 18.5. These values determine when lights should be turned on and off.

Enable which light types you would like to have automated by changing "This type is enabled" for the various types in the configuration.

Choose to make lights consume fuel, or run free of charge by changing "This type consumes fuel" for the various light types in the configuration.

Allow players to toggle what types of lights they want to be automated by changing "This type can be toggled by the owner" in the config. This only affects lights they have placed themselves.

Option to start cooking items in a oven when it is enabled by the plugin "This type starts cooking items when toggled by plugin". This is only used when "This type consumes fuel" is disabled

Option to consume fuel if a player has toggled a light source during the automated period "This type consumes fuel when toggled by a player". If enabled and a player toggles the oven, then the oven will start consuming fuel

Option to require that only players with the correct permission can toggle their own lights type by changing "This type requires permission to be toggled by the owner" in the configuration.

When a player toggles on/off a light type all of their lights of that type will also be turned on/off (if within the automation time span).

Permissions​

This plugin uses the permission system. To assign a permission, use oxide.grant <user or group> <name or steam id> <permission>. To remove a permission, use oxide.revoke <user or group> <name or steam id> <permission>.
  • nightlantern.global- Required to toggle auto-lights across the entire server
  • nightlantern.campfire - Required to toggle automation on campfires you own
  • nightlantern.firepit - Required to toggle automation on firepits you own
  • nightlantern.fireplace - Required to toggle automation on fireplaces you own
  • nightlantern.furnace - Required to toggle automation on furnaces you own
  • nightlantern.largefurnace - Required to toggle automation on large funacaes you own
  • nightlantern.lanterns - Required to toggle automation on lanterns you own
  • nightlantern.jackolantern - Required to toggle automation on jack'o'lanterns you own
  • nightlantern.tunalight - Required to toggle automation on tuna can lamps you own
  • nightlantern.searchlight - Required to toggle automation on searchlights you own
  • nightlantern.refinery- Required to toggle automation on refineries you own
  • nightlantern.cursedcauldren- Required to toggle automation on cursed cauldrens you own
  • nightlantern.chineselantern- Required to toggle automation on chinese lanterns you own

Chat Commands​

  • /lantern global - Toggle lights and automation on/off across the whole server
  • /lantern campfire - Toggle automation on campfires you own
  • /lantern firepit - Toggle automation on firepits you own
  • /lantern fireplace - Toggle automation on fireplaces you own
  • /lantern furnace - Toggle automation on furnaces you own
  • /lantern largefurnace - Toggle automation on large funaces you own
  • /lantern lanterns - Toggle automation on lanterns you own
  • /lantern jackolantern - Toggle automation on jack'o'lanterns you own
  • /lantern tunalight - Toggle automation on tuna can lights you own
  • /lantern searchlight - Toggle automation on searchlights you own
  • /lantern refinery - Toggle automation on refineries you own
  • /lantern cursedcauldren - Toggle automation on cursed cauldrens you own
  • /lantern chineselantern - Toggle automation on chinese lanterns you own

Configuration​

The settings and options can be configured in the NightLantern file under the config directory. The use of an editor and validator is recommended to avoid formatting issues and syntax errors.
Code:
Please, Log in or Register to view codes content!

For Developers​

Hooks​

Code:
Please, Log in or Register to view codes content!
Author
Box2
Downloads
0
Views
20
First release
Last update
Rating
0.00 star(s) 0 ratings

Similar resources

0.00 star(s) 0 ratings
Downloads
0
Updated
0.00 star(s) 0 ratings
Downloads
0
Updated
XF 2  Day Night Switcher 1.0.0 (RC 3) GP15.00
Этот аддон автоматически меняет стиль форума днем и ночью
0.00 star(s) 0 ratings
Downloads
0
Updated
Обычная ре-текстуированная модель ножа на "ночную"
0.00 star(s) 0 ratings
Downloads
0
Updated
Плагин позволяет организовать на сервере работу ночного режима со сменой карт по расписанию
0.00 star(s) 0 ratings
Downloads
0
Updated
Back
Top
Development Community