Timed Difficulty
Timed Difficulty allows the world's difficulty to change with the in-game time
Features
- Automatically change the difficulty with the time of day
- Automatically change the PvP settings with the time of day
- Automatically change the gamemode with the time of day
- Configure the time for difficulty/PvP/gamemode to change.
Configuration
- under each setting, create a list of times (in server ticks, each day is 24000 ticks)
- example:
pvp:enabled:-12000disabled:-0difficulty:peaceful:-4800easy:-2400-7200normal:-9600-21600hard:-14400gamemode:adventure:-16800survival:-19200creative:-null
- at time 0 (dawn), PvP will be disabled; at times 2400 and 7200, the difficulty will switch to easy
- If you do not wish to use a feature, add "null" (like for the creative option in the above example).
Todo
- add permissions: Certain players (currently only ops) will not have their gamemode changed.
- add commands: I want configuration to be possible using commands.
- currently, any plugin that alters the time of the world may mess up this plugin. I hope to fix this.
- multiworld support: currently, only works for "world."