Day/Night - PvP & Difficulty Cycle
A PvP & Difficulty day/night timer to allow PVP only at night and change difficulty between Day/Night cycles.
Features:
- You can choose the worlds allowed to change the PVP/Difficulty changed by the day/night cycles;
- The pvp and difficulty is changed by worlds and not for all server at once;
- You can choose the sound, difficulty, start/end pvp times and the default difficulty for other worlds.
- Customizable messages to show when pvp starts/end and can show the actual difficulty in this messages;
- Light weight plugin with only one runnable process, and command to full reload the plugin, including reload by console;
- Hooks with RedProtect, WorldGuard, Factions and GriefPrevention. If one of regions of this plugins is detected on player location, this plugin will do nothing and use the region's pvp flag.
Videos:
Video showcase by ShinyTinselWorm:
Permissions:
- pvpdifftimer.* - All permissions - Allowed to op by default;
- pvpdifftimer.admin - To use the reload command "/pvptimer reload";
- pvpdifftimer.bypass - To bypass pvptimer and always allow pvp;
Configuration:
- The difficulties are NORMAL, PEACEFUL, ADVENTURE, HARD and optionally, use NONE to do not change the difficulty;
- The list of Sounds you can see in this page or set to NONE to do not use sounds!
# Enable debug messages Enable-Debug: false # Default difficulty and messages for new worlds. This configuration bypass other plugins/configurations like Multiverse difficulty configuration. Default: Difficulty: NORMAL PvP-On-Message: "&4It's Night! PvP is enabled! ({difficulty})" PvP-Off-Message: "&aThe sun rises! PvP is off! ({difficulty})" # Worlds in your server worlds: world: #Enable this world to change pvp/diff? Enabled: true #Ignore pvp and change ONLY the difficulty on day/night cicles. Only-Difficulty: false PvP-On: # Message to show at night. Leave blank to disable. Message: '&4Its Night! PvP is enabled! ({difficulty})' # Difficulty to set at night Difficulty: HARD # PvP start time Time: 13000 # Sound to play at night. Leave blank to disable. Sound: AMBIENT_CAVE #(for 1.8 and 1.7 use: AMBIENCE_CAVE) #Execute a list of commands. Commands - command1 - command2 PvP-Off: # Message to show at day. Leave blank to disable. Message: '&2The sun rises! PvP is off! ({difficulty})' # Difficulty to set at day Difficulty: NORMAL # PvP end time Time: 0 # Sound to play at day. Leave blank to disable. Sound: ENTITY_CHICKEN_HURT #(for 1.8 and 1.7 use: CHICKEN_HURT) #Execute a list of commands. Commands - command1 - command2
Can you add support to
Disable friendly fire for Clans 1.0
https://www.spigotmc.org/resources/disable-friendly-fire-for-clans.32521/
In same clan do not take damaged.
Very sad to see this plugin go both on the Spigot and Bukkit side. Especially after paying for the premium resource.
So I've been using your plugin since 1.8.8 and now in 1.9.2. I've been using it with Factions and everything used to work perfectly.
So people could only PvP at night and everywhere (wilderness or claimed territory) however right now people cannot PvP during daytime in the wilderness BUT they can always PvP each other on faction claimed lands.
It's like some mechanism is overwriting the anti-PvP during daytime and is allowing players to PvP in faction claimed lands.
The weird thing is that the wilderness is working the way it should so people cannot PvP during daytime but they can at night.
The only thing I changed was the factions plugin, I updated it many times and suddenly some of my players found this bug.
I am not sure if it's been here since 1.9.2 (it wasn't there in 1.8.8) but I tried contacting the faction devs but they are saying the problem that the problem isn't on their end (I myself am not that persuaded) so I was hoping you could help me out here.
Thanks is advance for reading and I hope you can help me out.
@ihton
pvp still works at night :( why? spigot 1.9.2 plugin 1.4.1
It would be really awesome to have a countdown telling the users where PvP will enable or disable.
it works with world PVP towny towny he not?
Anyway to disable the sounds for the sun rising?
@tmon3ycuddy
Already working, you only need to change the 1.8 sound name to 1.9:
AMBIENCE_CAVE > AMBIENT_CAVE
CHICKEN_HURT > ENTITY_CHICKEN_HURT
My server DuskPVP.mcalias.com is running this plugin and the server is built around the "PVP at night" aspect. Any chance you will be upgrading to 1.9 any time soon? Thanks!
This plugin not working pvp on/off day/night but work difficulty in plot world. plugins: Multiverse and PlotSquarded. I tested. it workn't :(
@Minefrench
Yes, i can add a command to run when change pvp!
@kythuat @Si7VdeR
I will take a look...i have never used this plugin!
I can not turn off in daytime pvp conflicts wasteland because Towny plugin. Please help thanks much
it is possible to add an option that would allow us to add a command when the day or night falls
it would allow us to add attractive from other plugin
example gives a potion effect to the player or send them some item
Work With Cauldron 1.7.2 r4 ?
Hi, I am just using this faction plugin: http://dev.bukkit.org/bukkit-plugins/factions/ The thing is that if players are in a faction with each other then they shouldn't be able to pvp however they can still do this when it's night. I would love it if the priority of the faction plugin is higher, that way everything would be fixed.
@Si7VdeR
Hello, On truth, the priority is neutral like you can see in this line of code: https://github.com/FabioZumbi12/Bukkit-Plugins/blob/master/PvPDiffTimer/src/main/java/br/net/fabiozumbi12/PvPDiffTimer/Listeners.java#L42
But i can hook with Fac plugin to leave the facs without effect of this plugin. What fac plugin you is using?
Hi,
I have a crucial problem with this plugin. Everything work in 1_8_R1 Spigot however it work TOO good. I have Factions installed and normally factionless players shouldn't be allowed to PvP or get PvPed however this plugin has a higher priority and at night it overwrites the faction protection so factionless players can get pvped. Could you somehow fix this ?
@CloudeLecaw
Yes, i can add this option later!
About gui, you mean about Redprotect right? Latest version this is fixed ;)
@FabioZumbi12
Hello, nice Plugin! But ist there a way to turn this off in _ _global_ _ region with flag passthrough=deny? ->Hooks with RedProtect, WorldGuard and GriefPrevention. If one of regions of this plugins is detected on player location, this plugin will do nothing and use the region's pvp flag.
@ProWco
You get errors on console? What plugins you have on your server?