PvpAtHour: Flexible PvP Scheduling for Minecraft

Understanding the PvpAtHour Plugin for Minecraft Servers Managing player-versus-player combat on a Minecraft server can be a delicate balance. Some server owners want to encourage peaceful building during certain hours while unleashing full-scale battles at others. The PvpAtHour plugin was design...

Download PvpAtHour

Original name: PvpAtHour

FileVersionLoaderSize
PvpAtHour.jar——9 КБDownload

Understanding the PvpAtHour Plugin for Minecraft Servers

Managing player-versus-player combat on a Minecraft server can be a delicate balance. Some server owners want to encourage peaceful building during certain hours while unleashing full-scale battles at others. The PvpAtHour plugin was designed specifically for this purpose, giving you granular control over when PvP is enabled across different worlds. Though the original project has been discontinued, its straightforward approach to time-based PvP scheduling remains a valuable concept for server administrators who prefer lightweight, configurable solutions.

How PvpAtHour Works

At its core, PvpAtHour introduces a simple rule: players cannot harm each other outside of a designated timeframe. The moment the clock hits the start hour, all selected worlds transform into combat zones where players can fight freely. When the end hour arrives, PvP is disabled again, and everyone returns to a peaceful state. This mechanic is perfect for servers that host events, survival worlds with scheduled danger periods, or role-playing communities that need to enforce safe hours.

The plugin checks the in-game time against your configured schedule. If you set PvP to be active from 11:00 to 18:00, for example, any attempt to attack another player outside that window is blocked. The transition is seamless, and you can even broadcast warnings to players so they can prepare for the upcoming bloodshed or retreat to safety.

Key Features and Configuration

PvpAtHour may be minimal, but it packs enough features to handle most time-restricted PvP scenarios. Here is what you can expect when you set it up on your server:

World-Specific PvP Hours

One of the most useful aspects is the ability to specify exactly which worlds are affected. In the config.yml file, you list each PvP schedule along with the worlds where it applies. The format uses commas and no spaces, like this:

  • 11,18,world,world_nether,world_the_end – PvP active from hour 11 to 18 in the overworld, Nether, and End.
  • 20,21,world – A short PvP window only in the overworld from hour 20 to 21.

You can add as many entries as you need, each with its own start hour, end hour, and world list. This makes it easy to stagger PvP times across different dimensions or keep certain areas permanently peaceful.

Warning Messages and Notifications

Nobody likes being caught off guard. PvpAtHour includes customizable broadcast messages that alert players before PvP begins and before it ends. You control how many minutes in advance the warning appears using the minutesbeforepvp setting. Set it to 5, and a message will be sent five minutes before the start and end of each PvP window. If you prefer silence, simply set this value to false.

The plugin comes with four message placeholders that you can edit directly in the config:

  • warningsoonstart – Broadcast when PvP is about to activate.
  • warningsoonend – Broadcast when PvP is about to deactivate.
  • warningstart – Broadcast at the exact moment PvP turns on.
  • warningend – Broadcast when PvP turns off.

These messages can be tailored to fit your server's theme, whether you want a dramatic countdown or a simple system notification.

Creative Mode and Permission Overrides

By default, players in Creative mode are not allowed to participate in PvP. You can change this by setting creative_not_allowed to false in the config. Additionally, the plugin offers two permission nodes that override the schedule for specific players:

  • pah.alwayspvp – The player can engage in PvP at any time, ignoring the configured hours.
  • pah.neverpvp – The player is permanently protected from PvP, even during active windows.

These permissions are ideal for staff members, VIPs, or special roles that need exceptions to the general rule.

Commands and Permissions

Operating the plugin is straightforward with just two commands:

  • /pvphours – Displays the current PvP schedule so players can see when combat is allowed.
  • /pvphoursreload – Reloads the plugin configuration without restarting the server.

Access to these commands is governed by permissions. The pah.* node grants all privileges, while pah.pvphours gives access only to the informational command. This separation lets you give regular players the ability to check PvP times without risking configuration changes.

Practical Use Cases for Your Server

Imagine running a survival server where players build and trade during the day but must defend their bases at night. With PvpAtHour, you could set PvP to activate from 18:00 to 6:00 in-game time, creating a natural cycle of danger and safety. Alternatively, a minigame server might use the plugin to open a PvP arena only on weekends, while keeping the hub world peaceful all week long.

For those who enjoy modded experiences, managing plugins like this becomes even easier with a modern launcher. If you are assembling a custom modpack and want to include time-based PvP features, you can install and configure everything directly from a streamlined interface. The foxygame.net launcher, for instance, allows you to download mods and plugins right from its menu, making it a convenient and flexible tool for building your ideal Minecraft setup without hunting down files manually.

Limitations and Considerations

Since the project is discontinued, you will not receive official updates or bug fixes. The plugin was built for older Minecraft versions, so compatibility with modern server software may be hit or miss. Always test it on a staging server before rolling it out to your community. The configuration syntax is strict—no spaces in the world list—so a small typo can break the entire schedule. Double-check your config.yml after editing.

Conclusion

PvpAtHour remains a clever, no-frills solution for server owners who want to enforce PvP windows without complex rule sets or heavy plugins. Its world-specific scheduling, customizable warnings, and permission overrides give you enough flexibility to create dynamic gameplay while keeping the administrative overhead low. Even though the original development has stopped, the concept lives on in many modern PvP management tools. If you are looking for a simple way to control when your players can fight, exploring plugins like this one is a great starting point—just be prepared to adapt it to your server's version and needs.