PvpAtHour
PROJECT DISCONTINUED
![]()
Features
When you enter a start and end hour in the config.yml (see: Configuration) you won't be able to hurt player outside of that timeframe. But the minute you enter that timeframe players will be able to kill each other. You can select the worlds where you want this plugin to take effect. That's all there is with this plugin.
Commands
/pvphours: See when pvp will be enabled.
/pvphoursreload: Reload this plugin.
Permissions
pah.*: Gives access to all commands.
pah.pvphours: Gives access to the pvphours command.
pah.alwayspvp: You can always play pvp. Even outside the timeframe.
pah.neverpvp: You can never play pvp.
Configuration
Edit in the Config.yml file.
pvp: a list of the pvphours. Fill in as these examples!!
- 11,18,world,world_nether,world_the_end
- 20,21,world
Keep in mind that there are no spaces!
minutesbeforepvp: A warning will be showed before pvp starts. Put a number to configure how many minutes before pvp starts a message will be broadcasted. Put 'false' if no message needs to be displayed.
creative_not_allowed: Are players in CREATIVE mode allowed to participate? (true or false)
warningsoonstart: the message displayed when pvp will soon start. (If you don't want this, change minutesbeforepvp to false)
warningsoonend: the message displayed when pvp will soon end. (If you don't want this, change minutesbeforepvp to false)
warningstart: the message displayed when pvp starts.
warningend: the message displayed when pvp ends.
Bugs and additional features
If you found a bug or you would like to request a feature, please submit a ticket!


-
View User Profile
-
Send Message
Posted Sep 29, 2013@ThisUsernameIsMine
This should be fixed in the 3.2 version.
-
View User Profile
-
Send Message
Posted Sep 18, 2013@SimonsterTheFirst
Tested and you're right ;)
Now for something else:
With the default config i'm not getting any PvP start/end broadcasts. This while the world i'm in is listed under both entries and PvP-warnings are enabled :s
I'm also getting the impression that PvP isn't working for players that don't have pah.alwayspvp. Its probably related to the above problem but don't know what causes it.
(tested under 1.6.2-R1.0 Recommended Build and bPermissions 2.10.7c + Vault 1.2.27 @ Java 7)
-
View User Profile
-
Send Message
Posted Sep 17, 2013@ThisUsernameIsMine
A player who has pah.alwayspvp will always be able to pvp, even when he's in creative mode.
-
View User Profile
-
Send Message
Posted Sep 17, 2013@SimonsterTheFirst
Thank You! Testing ASAP :-) +1
ps: Can players that have pah.alwayspvp and creative-mode do PvP when creative_not_allowed is set to true?
If not, i hope you'll do the following:
- make a seperate node so that we can choose which players should be able to do PvP while in creative-mode
- make this setting configurable per world
Why i would want this:
We also have a world which not only creative-mode players can visit, but also players that have survival-mode (they can only look around and visit places). It's mainly for
trolling purposesfun ;-)Please let me know what you think of this :)
-
View User Profile
-
Send Message
Posted Sep 17, 2013@ThisUsernameIsMine
It's in the 3.0 version. Remeber to delete your last config file, because I rewrote the whole thing.
-
View User Profile
-
Send Message
Posted Sep 15, 2013@SimonsterTheFirst
Please add the following to your list:
- a permission node to exempt someone from PvP (e.g. pah.neverpvp or pah.phpexempt or pah.exemptpvp)
Good Luck! :)
-
View User Profile
-
Send Message
Posted Sep 14, 2013@ThisUsernameIsMine
I'm on it!
-
View User Profile
-
Send Message
Posted Sep 13, 2013@SimonsterTheFirst
Neat! :) +1
Two more questions:
- Can different worlds have different PvP hours?
- Can you set/change the message when PvP begins/ends?
-
View User Profile
-
Send Message
Posted Sep 13, 2013@ThisUsernameIsMine
It's in the 2.9 version
-
View User Profile
-
Send Message
Posted Sep 11, 2013Please add a way to exempt certain players/ranks from their PvP state to be changed.
I would like to give some of my ranks the ability to PvP at any time they want ;)
-
View User Profile
-
Send Message
Posted Sep 10, 2013@RgtArRr
When I execute the command on my testserver i don't get any errors? What did you typ exactly? And what's in the config file?
-
View User Profile
-
Send Message
Posted Sep 10, 2013Add a reload command, and when i run the command "/pvphours" says =>"An Internal error occured while attempting to perform this command"
2013-09-10 14:07:49 [INFO] RgtArRr issued server command: /pvphours 2013-09-10 14:07:49 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'pvphours' in plugin PvpAtHour v2.7 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchCommand(CraftServer.java:523) at net.minecraft.server.v1_6_R2.PlayerConnection.handleCommand(PlayerConnection.java:964) at net.minecraft.server.v1_6_R2.PlayerConnection.chat(PlayerConnection.java:882) at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:839) at com.bergerkiller.bukkit.common.internal.network.CommonPacketHandler$CommonPlayerConnection.a(CommonPacketHandler.java:535) at net.minecraft.server.v1_6_R2.Packet3Chat.handle(SourceFile:49) at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296) at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:118) at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37) at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:590) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) Caused by: java.lang.NullPointerException at me.Simonster.PvpAtHour.MyCommandExecutor.onCommand(MyCommandExecutor.java:65) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 16 more
-
View User Profile
-
Send Message
Posted Sep 3, 2013Can you also disallow PvP for those in creative? Just a general PvP plugin courtesy :D
-
View User Profile
-
Send Message
Posted Sep 3, 2013@ArthurMaker
I'm on it :)
-
View User Profile
-
Send Message
Posted Sep 3, 2013Could add messages, please? :D
Like, if it is daytime, a message will be show saying: "It's daytime! PvP off."
And the night time message, saying: "It's night time! Pvp on!"
Please, add it to the Config.yml :3
-
View User Profile
-
Send Message
Posted Sep 3, 2013@Beastmode0000
It is now implemented in the plugin. Download version 2.0.
-
View User Profile
-
Send Message
Posted Sep 3, 2013@Beastmode0000
Coming soon!
-
View User Profile
-
Send Message
Posted Sep 2, 2013Could you maybe add where there can be multiple time frames a day?