Nuytemans-Dieter / BetterSleeping

A Spigot plugin that will make sleeping on servers less of a hassle
https://www.spigotmc.org/resources/bettersleeping-1-12-1-15.60837/
Apache License 2.0
84 stars 73 forks source link

Add option for randomizing sleeping buffs/debuffs #176

Open Freddo3000 opened 4 years ago

Freddo3000 commented 4 years ago

Describe the new feature you have in mind Simply being able to randomize how many levels a buff will have, how long it will last and an overall chance of gaining the buff/debuff.

Example:

sleeper_buffs:
  speed:
    time: 20-60 # Lasts between 20-60 seconds.
    level: 1-3 # levels between 1 and 3
    odds: 0.2 # 20% chance of gaining the buff in the first place
Nuytemans-Dieter commented 4 years ago

Hey! Thank you for sharing your idea! The odds part has been added to the premium code already (#156). And will be part of v3.0.4 premium. Randomising the level and duration as well seems like a great idea!