HomeJavaModsNewPlayerPanel
NewPlayerPanel
NewPlayerPanel — screenshot 1NewPlayerPanel — screenshot 2NewPlayerPanel — screenshot 3

NewPlayerPanel v3.1.0

Features

Villager Tracker Module

The Villager Tracker module provides comprehensive monitoring and logging of villager death events:

Player Restrictions System

An advanced restrictions system allowing precise control over player actions:

Spawn Protection

Flexible spawn protection system with detailed configuration:

Storage Systems

Multiple storage backends for maximum flexibility:

Localization

Full support for internationalization:


Commands

Administrative Commands

Command Description Permission Usage Example
/npp reload Reloads the plugin configuration and applies changes newplayerpanel.admin /npp reload
/npp addrestriction Creates a new restriction definition newplayerpanel.admin /npp addrestriction elytra_ban EQUIPMENT EQUIP minecraft:elytra time:-1 default:false

Command Syntax:

/npp addrestriction <name> <type> <actions> [targets...] [time:N] [default:true/false]

History Commands

Command Description Permission Usage Example
/history Displays all villager death records newplayerpanel.history /history
/history <player> Shows records for a specific player newplayerpanel.history /history Steve
/history <x> <y> <z> Shows records near coordinates newplayerpanel.history /history 100 64 200
/history coords Shows records at your current location newplayerpanel.history /history coords
/history purge <time> Deletes records older than the specified time newplayerpanel.history.purge /history purge 7d

Time Format Examples:

Restrictions Management Commands

Command Description Permission Usage Example
/restrict <player> <restriction> <time> Applies a restriction to a player newplayerpanel.restrictions.restrict /restrict Steve elytra_ban 3600
/unrestrict <player> <restriction|all> Removes restriction(s) from a player newplayerpanel.restrictions.restrict /unrestrict Steve elytra_ban
/restrictions Displays your active restrictions newplayerpanel.restrictions.view /restrictions
/restrictions [player] Displays a player's active restrictions newplayerpanel.restrictions.view.others /restrictions Steve

Time Values:

Note: Players can view their restrictions using /restrictions with no arguments. Administrators can view other players' restrictions by specifying the player name.

Spawn Protection Commands

Available to everyone (no special permission required):

Command Description Example
/spawnprotect info Module info: enabled/disabled, zone count, playtime bypass setting /spawnprotect info
/spawnprotect playtime Your playtime and (if bypass is enabled) remaining time until bypass /spawnprotect playtime

Administrators only (newplayerpanel.spawnprotect.admin):

Command Description Example
/spawnprotect playtime [player] Any player's playtime /spawnprotect playtime Steve
/spawnprotect list List of zones with type and size /spawnprotect list
/spawnprotect add <name> [radius] Add a circular zone (confirmation: ... add <name> confirm) /spawnprotect add spawn 100
/spawnprotect add <name> rect Add a rectangular zone using pos1/pos2 (confirmation: ... add <name> rect confirm) /spawnprotect add market rect
/spawnprotect remove <name> Remove a zone (confirmation: ... remove <name> confirm) /spawnprotect remove spawn
/spawnprotect pos1 Remember the 1st corner of a rectangle (current position) /spawnprotect pos1
/spawnprotect pos2 Remember the 2nd corner of a rectangle (current position) /spawnprotect pos2
/spawnprotect addpoint <name> Add a vertex to a polygonal zone (creates the zone on the first point, then adds) /spawnprotect addpoint arena
/spawnprotect edit <zone> <parameter> <value> Edit a zone parameter /spawnprotect edit spawn radius 150
/spawnprotect reload Reload spawn protection configuration /spawnprotect reload

Zone Creation:

Zone Editing (edit):

Parameter Description Example
radius Zone radius (CIRCLE) /spawnprotect edit spawn radius 200
center Zone center = current position (CIRCLE) /spawnprotect edit spawn center
world Zone world = current world /spawnprotect edit spawn world
pvp PvP protection /spawnprotect edit spawn pvp true
explosions Explosion protection /spawnprotect edit spawn explosions false
fire-spread Fire protection /spawnprotect edit spawn fire-spread true
removepoint Remove a polygon vertex by index (POLY) /spawnprotect edit arena removepoint 2

Confirmation: Adding and removing zones requires a repeated command with the confirm argument within 30 seconds.


Permissions

Permission Node Description Default Access
newplayerpanel.admin Full administrative access to /npp commands Operators only
newplayerpanel.history View villager death history records Operators only
newplayerpanel.history.purge Permission to purge old history records Operators only
newplayerpanel.notify Receive notifications about traded villager deaths Operators only
newplayerpanel.restrictions.bypass Bypass all restrictions from configuration Operators only
newplayerpanel.restrictions.restrict Apply and remove player restrictions Operators only
newplayerpanel.restrictions.view View your own active restrictions All players
newplayerpanel.restrictions.view.others View other players' restrictions Operators only
newplayerpanel.spawnprotect.admin Manage zones (list, add, remove, reload), view any player's playtime Operators only
newplayerpanel.spawnprotect.bypass Bypass spawn protection Operators only

Configuration

Main Configuration File (config.yml)

language: en
storage: H2
database:
  host: localhost
  port: 3306
  database: newplayerpanel
  username: root
  password: ""
  pool:
    maximum-pool-size: 10
    minimum-idle: 2
    connection-timeout: 30000
    idle-timeout: 600000
    max-lifetime: 1800000

villager-tracker:
  only-traded: true
  notify-enabled: true
  save-debug-files: false

spawn-protect:
  enabled: true

Spawn Protection Configuration (spawnprotect.yml)

Three zone types are supported: CIRCLE (default), RECT, POLY.

# Playtime bypass (in seconds, 0 = disabled)
bypass-after-playtime: 0

# Zone types:
#   CIRCLE — center + radius
#   RECT   — rectangle (min/max corners)
#   POLY   — polygon (list of vertices, min 3)

zones:
  # --- Circular Zone ---
  spawn:
    world: world
    type: CIRCLE
    center:
      x: 0
      z: 0
    radius: 100

    block-break:
      enabled: true
      mode: WHITELIST
      list: []
    block-place:
      enabled: true
      mode: WHITELIST
      list: []
    interact:
      enabled: true
      mode: WHITELIST
      list:
        - ENDER_CHEST
        - CRAFTING_TABLE
        - ENCHANTING_TABLE
        - ANVIL
        - SMITHING_TABLE
        - GRINDSTONE
        - STONECUTTER
    entity-interact:
      enabled: false
      mode: WHITELIST
      list:
        - VILLAGER
        - WANDERING_TRADER
    pvp:
      enabled: true
    explosions:
      enabled: true
    fire-spread:
      enabled: true

  # --- Rectangular Zone ---
  # z1:
  #   type: RECT
  #   min:
  #     x: -50
  #     z: -30
  #   max:
  #     x: 50
  #     z: 30

  # --- Polygonal Zone ---
  # z2:
  #   type: POLY
  #   points:
  #     - {x: 100, z: 100}
  #     - {x: 200, z: 100}
  #     - {x: 250, z: 200}
  #     - {x: 150, z: 250}
  #     - {x: 50, z: 200}

Restrictions Configuration File (restrictions.yml)

restrictions:
  - name: elytra_ban
    type: EQUIPMENT
    actions: EQUIP
    item: [minecraft:elytra]
    time: -1
    default: false
  
  - name: tnt_restriction
    type: ITEM
    actions: USE
    item: [minecraft:tnt]
    time: 28800
    default: true
  
  - name: villager_hit_restriction
    type: ENTITY
    actions: DAMAGE
    entity: [minecraft:villager]
    time: -1
    default: false

Restriction Types

Type Description Target Field
EQUIPMENT Restricts equipping items in armor/elytra slots item
ITEM Restricts using or placing items item
ENTITY Restricts interaction with entities entity
COMMAND Restricts executing commands command

Action Types

Action Description
DAMAGE Dealing damage to entities
USE Using or placing items
DROP Dropping items
EQUIP Equipping items in armor/elytra slots
EXECUTE Executing commands

Restriction Logic

Default Restrictions:

Personal Restrictions:

Priority Order:

  1. Personal restrictions (highest priority)
  2. Default restrictions (if no personal restriction exists)

Viewing Restrictions:


Storage Systems

YAML/JSON Storage

File-based storage using JSON format. All data is stored in plugins/NewPlayerPanel/data/:

Advantages:

Configuration:

storage: YAML

H2 Database (Default)

Embedded SQLite database, stored as plugins/NewPlayerPanel/database.db.

Advantages:

Configuration:

storage: H2

MySQL Database

Full integration with MySQL database with connection pooling via HikariCP.

Advantages:

Configuration:

storage: MYSQL
database:
  host: localhost
  port: 3306
  database: newplayerpanel
  username: root
  password: your_password

MariaDB Database

Native support for MariaDB with optimized connection handling.

Advantages:

Configuration:

storage: MARIADB
database:
  host: localhost
  port: 3306
  database: newplayerpanel
  username: root
  password: your_password
  pool:
    maximum-pool-size: 10
    minimum-idle: 2
    connection-timeout: 30000
    idle-timeout: 600000
    max-lifetime: 1800000

Compatibility

Supported Server Software

Minecraft Versions

Java Requirements

Database Requirements (if using MySQL/MariaDB)


Support and Documentation

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.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more