By continuing to use this site, you agree to the Terms of Service of this website, including usage of cookies.

OK, Don't show this again

NightPVP is plugin makes it so pvp can only happen at night.
version 1.3.2
Approved
Direct Download How to install?
Switch version
37 Downloads / 460 Total
3 Reviews
Plugin Description §

NightPVP

๐ŸŒŒ NightPVP is a PocketMine-MP plugin that restricts PvP (player versus player) to nighttime only, adding a strategic and immersive twist to your Minecraft server!

Poggit Download


โ— Requirements

  • PocketMine-MP API: 5.0.0 or higher
  • PHP: 8.0 or higher

โ“ How to Install

  1. Download the latest .phar from the Releases page or Poggit.
  2. Place the .phar file in your server's plugins folder.
  3. Start or restart your server to generate the config.yml.
  4. Edit config.yml in plugins/NightPVP to configure worlds, messages, and time settings.
  5. Enjoy! PvP is now restricted to nighttime in the specified worlds.

โœจ Features

  • Nighttime PvP: Limits player combat to nighttime (or custom time periods).
  • World-Specific Rules: Apply PvP restrictions only to selected worlds.
  • Customizable Messages: Choose between pop-ups or chat messages with editable text.
  • Flexible Time Settings: Adjust when PvP starts and ends using in-game ticks.
  • Bypass Permissions: Allow specific players to ignore restrictions.
  • Optional Logging: Track blocked PvP attempts in the server console.

๐Ÿ“œ Versions

  • Version 1.3.2 (March 28, 2025)

    • Updated to PocketMine-MP API 5.0.0.
    • Added nightpvp.always.on permission.
    • Enhanced stability and compatibility.
  • Version 1.2

    • Fixed bugs with PvP restriction enforcement.
  • Version 1.1

    • Fixed daytime PvP bugs.
    • Added customizable PvP enabled message.
  • Version 1.0

    • Initial release with nighttime PvP restriction.

โš™๏ธ Configuration

The default config.yml is generated in plugins/NightPVP. Customize it to fit your server:

# Worlds where NightPVP is active
allowed-worlds: 
  - "world"
  - "arena"

# Error message type (popup or message)
error-message-type: "popup"

# PvP restriction message
day-no-pvp: "ยงcYou can only fight during the night!"

# Custom world time settings
night-start-time: 13000  # Minecraft night start time
night-end-time: 23000    # Minecraft night end time

# Enable/disable world time check
enable-world-time-check: true

# Enable plugin logger
enable-logger: false

Options Explained

  • allowed-worlds: Worlds where PvP is restricted to nighttime.
  • error-message-type: "popup" or "message" for PvP block notifications.
  • day-no-pvp: Message displayed when PvP is blocked (supports ยง color codes).
  • night-start-time / night-end-time: PvP time range in ticks (0-23999).
  • enable-world-time-check: Set to false to disable time-based restrictions.
  • enable-logger: Set to true to log blocked PvP attempts.

๐Ÿ”’ Permissions

  • nightpvp.bypass

    • Description: Allows players to bypass PvP time restrictions and fight anytime.
    • Default: op (operators only)
  • nightpvp.always.on

    • Description: Enables PvP at all times, ignoring night restrictions.
    • Default: false (disabled for all)

โญ Join Our Community

Get support, updates, and share your ideas on our Discord server!
๐Ÿ‘‰ Discord


๐Ÿ› ๏ธ Contributing

Want to improve NightPVP?

  • Report bugs or suggest features in the Issues tab.
  • Submit code enhancements via Pull Requests.

Check the commits for the latest changes!


๐Ÿ“ License

This project is licensed under the Apache License.

๐Ÿ‘ฅ Authors


What's new §

๐Ÿ“œ Versions

Version 1.3.2 (March 28, 2025)

Updated to PocketMine-MP API 5.0.0. Added nightpvp.always.on permission. Enhanced stability and compatibility.

Version 1.2

Fixed bugs with PvP restriction enforcement.

Version 1.1

Fixed daytime PvP bugs. Added customizable PvP enabled message.

Version 1.0

Initial release with nighttime PvP restriction.

  • Bugs Fix
  • Bugs Fixed
  • Add New Message PvP Enabled
  • Add New icon

UnknownNull
Outdated
using v1.2.0
12 Apr 23
nice :D
PetterLight
Outdated
using v1.1
29 Aug 22
Does not work
Estem01
07 Sep 22
I'll be doing a new reformulation in the code :/
Henry5K
Outdated
using v1.0
18 Aug 22
Best plugin for factions servers
Estem01
22 Aug 22
๐Ÿ˜

Reply to review by :

/ 5
Supported API versions
5.0.0
->
5.16.0
Producers §
  • Collaborators:
    • @Estem01
    • @henrythierrydev
  • Contributors:
    • @Ihsan48
    • @UnknownNull
License §
Categories:
General
Mechanics
Minigame
Fun
World Editing and Management
Miscellaneous
Permissions
Manage worlds
Manage entities

You can leave one review per plugin release, and delete or update your review at any time

/ 5
Loading...