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

An Ultimate NPC plugin!
version 4.0.0-beta
Approved
Direct Download How to install?
Switch version
1659 Downloads / 25645 Total
45 Reviews
Plugin Description §

SimpleNPC


An Ultimate NPC plugin made by brokiem for PocketMine-MP.
License Star Discord Donate Support me on Patreon

Features

  • Migration from Slapper supported!
  • Right click to interact!
  • NPC can walk!
  • Set NPC skin with URL!
  • Register your own entity!
  • NPC with custom data saving!
  • NPC with Cape supported!
  • NPC with Custom Geometry!
  • Edit NPC with UI/Form!
  • NPC without nametag
  • Custom NPC Size/Scale
  • Live updates without restart
  • Cooldown for commands
  • NPC can look at players
  • Lightweight & Open Source

💬 Commands

For more command info, please look directly at /snpc help
or you can use /snpc ui

Command Description Permission Default
/snpc SimpleNPC command list none true
/snpc ui Manage npc with UI/Form simplenpc.ui op
/snpc spawn Spawn an npc simplenpc.spawn op
/snpc edit Edit the npc simplenpc.edit op
/snpc id Get the npc id simplenpc.id op
/snpc reload Reload plugin config simplenpc.reload op
/snpc remove Remove the npc simplenpc.remove op
/snpc migrate Migrate the npc from Slapper simplenpc.migrate op
/snpc list See the npc list simplenpc.list op

📝 Todo List

  • Add custom walking path

Issues

Did you find a bug or error when using this plugin? feel free to open the issues here

🖥 Developers

If you want to register your own entity, take a look at this plugin
You can also customize NPCs geometry by customizing the NPC skins

👑 Donation

Patreon - https://www.patreon.com/join/brokiem
Saweria - https://saweria.co/brokiem

🖼 Images

What's new §

IMPORTANT!!! READ BEFORE UPDATING!!!
Updating to this version from the previous version (3.0.0 - 1.0.0) will cause the npcs commands to be reset and npc scale/size reset, this is due to the new npc data saving. You have to set the commands again.

  • Now using nbt for storing npc data, remove custom npc data storage (npcs folder)
  • Fix /snpc list command duplicate the text
  • Fix enderman npc = bat
  • Fix update date message
  • Fix player name that uses spaces is not detected in {player}
  • Support PocketMine-MP v4.0.0
  • Support PHP 8.0
  • Added support for protocol 465 back (accidentaly removed)
  • Support mcpe protocol 471 (v1.17.40)
  • Update protocol (465)
  • Support protocol 448
  • Fixed new 1.17 npcs converted to glowsquid after restart
  • Added deletor in NPCDeletion Event
  • Remove canWalk from command
  • Fixed custom human npc converted to normal human npc if using skin from link
  • $canWalk now must be declared in human npc class if human npc can walk
  • Drop support for php 7.3
  • Updated protocol and added new 1.17 npcs

  • Call SNPCDeletionEvent and add getCreator function in SNPCCreationEvent
  • Implemented set armor and set held item to npc
  • Send "You do not have permission" message if the player does not have permission to run the command
  • Send outdated php version from user running php 7.3 or lower
  • Fixes NPC size/scale reset when restarting the server
  • Added {line} when edit npc nametag
  • Plugin will not edit the npc if the npc config is null or empty
  • Bug fixes
  • Plugin Cleanup (Commands mess, function, and more)
  • Added rotate (look to player) per npc
  • Added {line} for nametag
  • Added edit npc scale/size setting
  • Added info when adding command to npc
  • NPC no longer save skin thing in json data
  • Fix command not executed for the first time
  • Save npc chunk when edit/create npc
  • Saving skin data with nbt dat file


  • Change static function in NPCManager, FormManager, ButtonManager with getInstance function
  • Added right-click to interact feature
  • Added option to disable command cooldown completely
  • Fixed wrong 'command execute cooldown' config
  • Fixed reload config not working
  • Fixed typos in messages
  • The NPC's are now silent
  • Added UI so the plugin is easier to use
  • Added custom cape support
  • Added custom geometry support
  • Optimize NPC Walking Human
  • Added only send command list when execute /snpc help
  • The NPC is now silent
  • And many more updates and bug fixes
  • Fix Error (#4) and other bugs
  • Now can teleport the entity
  • Added hit command coldown

Xgamer6
using v4.0.1
30 Sep 23
Good Pkugin but please API 5!
ClydeplayzYT590
using v4.0.1
02 Aug 23
Please update to PM5
andriycraft
Outdated
using v3.0.1
07 Mar 22
Good plugin.
brokiem
26 Jul 22
Thanks!
MRDECE
Outdated
using v3.0.1
03 Mar 22
can the npc use dialogue?, how?
MRDECE
Outdated
using v3.0.0-beta
16 Feb 22
the name of the player that uses spaces is not detected,Please Fix
brokiem
17 Feb 22
should be fixed in v3.0.1
NaufalGeming12
Outdated
using v2.1.9
11 Dec 21
Update 1.18 plisss
mukeenanyafiq
Outdated
using v2.1.9
07 Nov 21
The update is so bruh-hing. Why would you remove? It's useful for the one who use MultiVersion plugin
IhsanNugroho
Outdated
using v2.1.7
09 Oct 21
LanternServer
Outdated
using v2.1.6
16 Sep 21
Can you add a cooldown that you can customize between different NPCs, so one can be done every second and one can only be done every 5 minutes?
JustZers
Outdated
using v2.1.6
04 Sep 21
GamerSupremo20
Outdated
using v2.1.6
15 Aug 21
The plugin is excellent only if it could be teleported to another world with the command "mw tp" or another Thanks
SkullyGaming
Outdated
using v2.1.6
24 Jul 21
Plugin deletes all npc after a pocketmine update or minecraft
DANIELS2402
Outdated
using v2.1.6
15 Jul 21
No me funciona en la 3.21.0 me fusionó en la 3.20.1 pero no puedo colocarle comandos, por ejemplo para que venda algo, o muestre un diálogo
DragonWizard975
Outdated
using v2.1.4
10 Jun 21
awsome plugin would be awsome if you could add somthing like a player counter! :)
brokiem
19 Jun 21
Nice :D
ZZWILLIAMXXTrue
Outdated
using v2.1.4
09 Jun 21
Yay retextured squids!!!
brokiem
19 Jun 21
Thanks :D
ZZWILLIAMXXTrue
Outdated
using v2.1.3
04 Jun 21
This plug is good... but it can be gooder
brokiem
19 Jun 21
Thank you
TheHi05
Outdated
using v2.1.2
03 Jun 21
Best NPC plugin! Quick updates, and working. Features of slapper (some)is also implemented here, which is amazing!
brokiem
19 Jun 21
Thanks :D
ZZWILLIAMXXTrue
Outdated
using v2.1.0
27 May 21
Set a walking npc on a 1x1 block in a void world and watch the magic
brokiem
19 Jun 21
:U
TheConceptually
Outdated
using v2.1.0
27 May 21
brokiem
19 Jun 21
Thanks
imVoidxD
Outdated
using v2.0.2
15 May 21
nice, maybe add a way to add player command
brokiem
19 Jun 21
Use rca command :D
S2008Gaming
Outdated
using v2.0.2
14 May 21
Excellent plugin!!! But how can i execute a command to a play who hits a npc? Like /kill {player}
brokiem
19 Jun 21
Use the rca command :)
dragonkid608
Outdated
using v2.0.2
08 May 21
Commands wont work
ZZWILLIAMXXTrue
Outdated
using v2.0.2
25 Apr 21
{insert brazilian dog dancing}
TukangM
Outdated
using v2.0.1
31 Jan 22
this plugin useful in 1.17 , plzz support protocol 475 = 1.18 = 3.25.6
ricky074game
Outdated
using v2.0.1
22 Apr 21
It is a very great plugin, however I just want to know, how can you set up a teleportation to another world using worlds when they press the npc?
brokiem
19 Jun 21
Use the rca command :D
HighestDreams
Outdated
using v2.0.1
20 Apr 21
So good plugin but i like to use slapper for my server... :)
brokiem
19 Jun 21
Nice :D
HorlandoSR
Outdated
using v2.0.1
18 Apr 21
Nice Plugin Dude
brokiem
19 Jun 21
Thanks ^_^
ZZWILLIAMXXTrue
Outdated
using v2.0.1
18 Apr 21
:(
brokiem
18 Apr 21
very cool
DPG896
Outdated
using v1.0.1-beta
17 Apr 21
This is the bestest plugin of all time
brokiem
19 Jun 21
gg :D
WolFoxHD
Outdated
using v1.0.1-beta
16 Apr 21
Update pls to 1.16.220
JohnnyX071
Outdated
using v1.0.1-beta
08 Apr 21
Very good plugin! Can you make it so we can resize the npcs?
brokiem
19 Jun 21
implemented :D
RealBJsingh
Outdated
using v1.0.1-beta
05 Apr 21
Very pog
brokiem
19 Jun 21
poggg
SynthShield
Outdated
using v1.0.1-beta
04 Apr 21
5 star but how can I spawn a npc like a player?
brokiem
04 Apr 21
/snpc spawn human <nametag> <canWalk> <skinurl>
QUACKYCYBER
Outdated
using v1.0.1-beta
31 Mar 21
Very good but how i can teleport someone to other worlds
cheeseland-dev
Outdated
using v1.0.1-beta
29 Mar 21
nice plugin! a suggestion would be to allow {line} to be used to add multiple lines in the name, and possibly a version of what slapper player count does.
brokiem
04 Apr 21
implemented
ByPaps
Outdated
using v1.0.1-beta
25 Mar 21
How do I place the emote in the entity?
blckzombie
Outdated
using v1.0.1-beta
24 Mar 21
Nice plugin! Is there a variable for the player who hits the npc? Like: /tp %player% ...
brokiem
24 Mar 21
the same as slapper. it {player}
Lentou
Outdated
using v1.0.1-beta
24 Mar 21
a sexy plugin, no more slapper supremacy
imlighty
Outdated
using v1.0.1-beta
23 Mar 21
Cool replacement for the Slapper plugin, but can I also use the skin I use in that exact moment for the NPC?
brokiem
23 Mar 21
yes you can. just leave the args in the skinUrl blank or null
Endermanbugzjfc
Outdated
using v1.0.1-beta
23 Mar 21
Simple5Star
cosmicnebula200
Outdated
using v1.0.1-beta
23 Mar 21
Simple5Star
ZZWILLIAMXXTrue
Outdated
using v1.0.1-beta
23 Mar 21
Great! But still cant get him to do backflips....
brokiem
23 Mar 21
???
ZZWILLIAMXXTrue
Outdated
using v1.0.0-beta
21 Mar 21
Bad, it cant do a double backflip into a small fire ring surrounded by laser sharks while being shot at by RPGs
brokiem
21 Mar 21
huh?
supercrafter333
Outdated
using v1.0.0-beta
21 Mar 21
Great Job!
brokiem
19 Jun 21
Thank you ^_^
jasonw4331
Staff Outdated
using v1.0.0-beta
21 Mar 21
Finally a replacement for slapper!
brokiem
19 Jun 21
Nice :D

Reply to review by :

/ 5
Supported API versions
4.0.0
->
4.21.1
Producers §
  • Collaborators:
    • @brokiem
License §

Custom license

View
                   GNU LESSER GENERAL PUBLIC LICENSE
                       Version 3, 29 June 2007

 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
 Everyone is permitted to copy and distribute verbatim copies
 of this license document, but changing it is not allowed.


  This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.

  0. Additional Definitions.

  As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.

  "The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.

  An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.

  A "Combined Work" is a work produced by combining or linking an
Application with the Library.  The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".

  The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.

  The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.

  1. Exception to Section 3 of the GNU GPL.

  You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.

  2. Conveying Modified Versions.

  If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:

   a) under this License, provided that you make a good faith effort to
   ensure that, in the event an Application does not supply the
   function or data, the facility still operates, and performs
   whatever part of its purpose remains meaningful, or

   b) under the GNU GPL, with none of the additional permissions of
   this License applicable to that copy.

  3. Object Code Incorporating Material from Library Header Files.

  The object code form of an Application may incorporate material from
a header file that is part of the Library.  You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:

   a) Give prominent notice with each copy of the object code that the
   Library is used in it and that the Library and its use are
   covered by this License.

   b) Accompany the object code with a copy of the GNU GPL and this license
   document.

  4. Combined Works.

  You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:

   a) Give prominent notice with each copy of the Combined Work that
   the Library is used in it and that the Library and its use are
   covered by this License.

   b) Accompany the Combined Work with a copy of the GNU GPL and this license
   document.

   c) For a Combined Work that displays copyright notices during
   execution, include the copyright notice for the Library among
   these notices, as well as a reference directing the user to the
   copies of the GNU GPL and this license document.

   d) Do one of the following:

       0) Convey the Minimal Corresponding Source under the terms of this
       License, and the Corresponding Application Code in a form
       suitable for, and under terms that permit, the user to
       recombine or relink the Application with a modified version of
       the Linked Version to produce a modified Combined Work, in the
       manner specified by section 6 of the GNU GPL for conveying
       Corresponding Source.

       1) Use a suitable shared library mechanism for linking with the
       Library.  A suitable mechanism is one that (a) uses at run time
       a copy of the Library already present on the user's computer
       system, and (b) will operate properly with a modified version
       of the Library that is interface-compatible with the Linked
       Version.

   e) Provide Installation Information, but only if you would otherwise
   be required to provide such information under section 6 of the
   GNU GPL, and only to the extent that such information is
   necessary to install and execute a modified version of the
   Combined Work produced by recombining or relinking the
   Application with a modified version of the Linked Version. (If
   you use option 4d0, the Installation Information must accompany
   the Minimal Corresponding Source and Corresponding Application
   Code. If you use option 4d1, you must provide the Installation
   Information in the manner specified by section 6 of the GNU GPL
   for conveying Corresponding Source.)

  5. Combined Libraries.

  You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:

   a) Accompany the combined library with a copy of the same work based
   on the Library, uncombined with any other library facilities,
   conveyed under the terms of this License.

   b) Give prominent notice with the combined library that part of it
   is a work based on the Library, and explaining where to find the
   accompanying uncombined form of the same work.

  6. Revised Versions of the GNU Lesser General Public License.

  The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.

  Each version is given a distinguishing version number. If the
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.

  If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.
Categories:
General
Admin Tools
Fun
Miscellaneous
Permissions
Manage entities
Permissions
Commands
Asynchronous tasks

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

/ 5
Loading...