SimpleNPC 图标

SimpleNPC

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/simplenpc
资源信息

Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11

平台: paper

标签: economy mobs utility

资源介绍

SimpleNPC is a lightweight yet powerful Paper plugin that brings lifelike player‑controlled NPCs to your Minecraft server. Spawn NPCs that look like real players (Steve skin), give them tools and food, and watch them autonomously mine ores, chop trees, fight monsters, eat when hungry, and even sleep at night! They protect their creator, react to attacks with devastating revenge, and keep the server alive with their witty chat messages.

✨ Features
? True Player Appearance – NPCs wear a Steve head and leather armor, blending perfectly with real players. Their name tag shows health and hunger in real time.

? Advanced AI Behaviors

Mining – Give them a pickaxe, and they’ll automatically search for and break nearby stone, ores, and deepslate (up to 5 blocks away).

Woodcutting – Hand them an axe, and they’ll chop down logs of all types.

Combat – With a sword, NPCs will engage nearby monsters (zombies, skeletons, etc.).

Eating – When hunger drops, they consume food from their inventory, complete with burp sounds.

Health Regeneration – If well‑fed (hunger ≥ 18), they slowly regenerate health.

Sleeping – At night, NPCs search for a bed and “sleep” until dawn.

Random Walking – When idle, they wander around like real players.

?️ Creator Protection – The player who spawned an NPC is never attacked, not even in revenge mode.

⚡ Revenge Mode – If another player attacks the NPC, it enters a 5‑second revenge mode and will instantly kill that attacker on its next hit.

? Action Messages – NPCs announce what they’re doing (mining, eating, sleeping, etc.) with colorful chat messages, repeated only every 5 seconds to avoid spam.

? Economy Integration – Uses Vault to charge players without the simplenpc.spawn permission. Set your own cost in config.yml.

? Persistent Data – All NPCs and their inventories are saved to disk and restored after a server restart.

? Multiple Types – Choose from steve (fights monsters), zombie (attacks players), or villager (same as steve) – more can be added easily.

? Installation
Download the latest SimpleNPC-*.jar from the Releases page.

Place it in your server’s plugins folder.

Ensure your server runs Paper 1.21+ and has Vault installed (with an economy plugin like EssentialsX).

Restart the server.

After first start, a configuration file is created at plugins/SimpleNPC/config.yml.

⚙️ Configuration
yaml

Cost to spawn an NPC for players without permission

spawn-cost: 100.0

How often (in seconds) NPCs perform automatic actions (eating, health regen, etc.)

action-interval: 1
? Commands & Permissions
Command Description Permission
/spawnnpc [type] [name] Spawns an NPC at your location. type can be steve, zombie, or villager (default steve). name is optional (default "Steve"). simplenpc.spawn (default: op)
Without permission – Players pay the configured spawn-cost from their Vault balance.

With permission – Free spawn.

? How to Use
Spawn an NPC – Stand where you want it and run /spawnnpc steve Bob.

Give it items – Right‑click the NPC to open its 27‑slot inventory. Place tools (pickaxe, axe, sword) or food inside.

Watch it work – The NPC will now:

Wander randomly when idle.

Mine stone/ores if holding a pickaxe.

Chop trees if holding an axe.

Attack monsters if holding a sword (and not in revenge mode).

Eat food when hungry.

Find a bed and “sleep” at night.

Testing revenge – Ask a friend to hit the NPC. It will flash revenge mode and instantly kill them on the next hit.

⚠️ Requirements
Paper 1.21 or higher (Spigot is not fully compatible).

Java 21 or higher.

Vault (mandatory – plugin will not load without it).
If you don’t need economy, you can modify the plugin to soft‑depend Vault (not recommended for production).

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
PokeSkies Cobblemon

价格:0 墨喵币
下载量:0

查看详情
Garfield Killer Queen (JCraft: EOE)

价格:0 墨喵币
下载量:0

查看详情
Merged Biomes

价格:0 墨喵币
下载量:0

查看详情
Hypnotic Eyes Background

价格:0 墨喵币
下载量:0

查看详情