Home›Java›Mods›NightPvP
NightPvP
ModsJava

NightPvP

Java mod listed for Minecraft 1.14. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
It's a dangerous world at night; allow PvP during the night, and protect players from pvp during the day.

During the day players cannot harm each other, but once darkness falls they are free to attack each other in Player versus Player combat!

Daytime protection can be enabled/disabled individually per world.

For example:

SectionHeader_Features.png

SectionHeader_Configs.png

config.yml

Code (Text):
messages:
  attacker:
    bypass: You are bypassing NightPvP!
    day: You cannot hurt other players during the day
  victim:
    day: You are protected from PvP during the day
  notice:
    day: You are protected from PvP during the day
    night: Watch where you swing that sword! You can hurt other players during the night.
    world: Watch where you swing that sword! You can hurt other players in this world.
    generic: Watch where you swing that sword! You can hurt other players!
  command:
    bypasspvp:
      toggleon: You are now bypassing pvp restrictions!
      toggleoff: You are no longer bypassing pvp restrictions.
      notaplayer: Must be a player to bypass pvp restrictions.
 
worlds/world.yml

Code (Text):
enabled: true
SectionHeader_Setup.png

Installation is easy, just drop it into your plugins folder. Everything should be ready to go with no configuration necessary!

Configuration explained

The default plugin config contains some messages the plugin uses, you can change these as desired.

- messages.attacker.bypass: Displayed to a player with the permission node nightpvp.pvpbypass when they attack another player.
- messages.attacker.day: Displayed to any player who atacks another player during the day in an enabled world.
- messages.victim.day: Displayed to any player who is attacked by another player during the day in an enabled world.
- messages.notice.day: Displayed to any player during the day when entering the world, joining the game into the world or when the time switches to day.
- messages.notice.night: Displayed to any player during the night when entering the world, joining the game into the world or when the time switches to night.
- messages.notice.world: Displayed to any player when entering, or joining the game into, a world which is currently configured to be ```enabled:false```.
- messages.notice.generic: A generic warning if, for some reason, the other messages do not apply.
- messages.command.bypasspvp.toggleon: Displayed in chat when enabling bypass for pvp restrictions with /bypasspvp.
- messages.command.bypasspvp.toggleoff: Displayed in chat when disabling bypass for pvp restrictions with /bypasspvp.
- messages.command.bypasspvp.notaplayer: Displayed in console when attempting to toggle bypass for pvp restrictions from console.

The individual world configs currently just contain one option, but more will follow in future updates.

- enabled: Controls whether NightPvP will manage pvp for this world. If true, players will not be able to pvp during the day. If false, players will be able to pvp in this world at all times (unless another plugin handles pvp for this world).


SectionHeader_Screenshots.png

messages.attacker.day.png

messages.victim.day.png ​

SectionHeader_Notes.png

This plugin requires Java 11 as over version 1.1.1. For Java 8, please use version 1.1.
This plugin uses the TextAPI library by theluca98, which is included in this plugin's jar.
You do not need to install any other plugin dependencies in order to use this plugin.

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

NightPvP is a free Minecraft Java mod. Compatible with Minecraft 1.14. Downloaded 614 times (via Spigot). Download it and open it directly in the game.

Explore more