Slapper for PowerNukkitX

Slapper is a high-performance NPC (Non-Player Character) plugin specifically optimized for PowerNukkitX. It allows server administrators to create stationary, persistent entities that execute one or multiple commands when interacted with or attacked by players.
Features
- Optimized for PowerNukkitX: Leverages modern PNX entity registries and NBT handling for maximum stability.
- Diverse Entity Support: Support for a wide range of entities including Humans, Mob types, and even objects like Primed TNT or Minecarts.
- Deep Human Customization: Full persistence for skins (including Persona and Geometry), armor, inventory, and off-hand items.
- Command Automation: Attach multiple commands to a single entity with console-level execution.
- Dynamic Placeholders: Use
{player}in commands to dynamically target the player interacting with the NPC. - Remote Command Authority (RCA): Includes a utility to force players to execute commands via
/rca. - Robust Persistence: Custom
SlapperLoaderEntitylogic ensures NPCs are correctly restored after chunk reloads or server restarts. - Developer API: Comprehensive custom events for integration with other PNX plugins.
Installation
- Download Slapper.jar.
- Place the file into your PowerNukkitX
plugins/folder. - Restart your server.
- Done.
Commands & Permissions
Slapper Commands
| Command | Description | Permission | Default |
|---|---|---|---|
/slapper id | Find an NPC's ID by hitting/slapping it. |