Dimensions wiki
  • Get Started
  • Commands
  • General info
    • Worlds/Dimensions
    • How does it work?
  • Configuring Dimensions
    • Dimensions configuration
    • Portal configuration
    • Portal creator
      • Editing the portal
      • Extra options
      • Downloading the file
    • Addons
      • Free Addons
        • World guard flags addon
        • Patreon Cosmetics addon
        • Horizontal portals addon
        • ForceLink addon
        • LightAPI addon
      • Premium Addons
        • Unbreakable addon
        • HubWorld addon
        • Random location addon
        • Permissions addon
        • Biomes addon
        • DayLightSensor addon
        • Limited uses addon
        • Timed portals addon
        • Message on use addon
        • ChargeOnUse addon
        • Pasted portals addon
        • Custom lighter addon
        • Better portals addon
        • Commands on use addon
        • Stylish portals addon
        • Particles addon
          • Particles Editor
        • Bungee addon
          • Bungee setup
          • Velocity setup
          • Spigot/Paper setup
        • ModelEngine addon (BETA)
        • IgniteByEvent addon (BETA)
      • Third party addons
Powered by GitBook
On this page
  • What does it do?
  • How is it configured?

Was this helpful?

  1. Configuring Dimensions
  2. Addons
  3. Premium Addons

DayLightSensor addon

What does it do?

This addons gives you the ability to make portals only be activatable during a specific time of day (in game).

How is it configured?

Addon:
  DayLightSensor:
    StartAllow: '<input1>'
    StopAllow: '<input2>'
    DenyMessage: '<input3>'
  • <input1> = any integer

  • <input2> = any integer

  • <input3> = any string text you want to be shown to the player if the time is not in range

You can set StartAllow to the time you want the portals to start being able to be ignited and you can set StopAllow to the time you want the portals to stop being able to be ignited. If you set StartAllow to a higher integer than StopAllow then the portals will be able to be ignited after X & then before Y the next day.

NOTE: setting the same time to min and max disables the addon

PreviousBiomes addonNextLimited uses addon

Last updated 2 years ago

Was this helpful?