Sunfright

Sunfright

Inspired by the 404 challenge, this is a Spigot plugin that restricts your ability to be in sunlight.

Every time you spawn, you're given a leather helmet with Curse of Binding, Curse of Vanishing, and Fire Protection. This gives you some time to gather supplies before you can shield yourself from the sunlight, but if you try to take it off, it'll vanish. This leather helmet gives you around 5 minutes to gather everything you need to live a good life underground, or return home.

In order for the sun not to damage you, you must have equipped a helmet with Fire Protection which will take the damage instead of you. Levels of Fire Protection greater than 1 add an unbreaking effect, giving the helmet more resistance from the sun.

If you can afford it, I'd really appreciate your patreon support or a ko-fi.

Configuration

Currently there are only three configuration options, but more will be made available as the plugin evolves. If you think something should be configurable, please open an issue!

world
Default: world

This is the game world you would like the plugin to operate in.

damagePerSecond
Default: 2

The amount of damage you want the player to take from the sun. If they're wearing a helmet with Fire Protection, it will take half of this damage rounded up to the nearest whole number. One damage is equal to 1 half-heart.

enableRespawnHelmet
Default: true

Whether or not you get a helmet that protects you from the sun on respawn. It's setup in such a way that the helmet can only last 5 minutes in the sun and will disappear the instant you're safe from the sun.


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    424341
  • Created
    Dec 2, 2020
  • Last Released File
    Dec 2, 2020
  • Total Downloads
    104
  • License

Categories

Members

Recent Files