[MOVABLE NPCS] Seocraft NPC-API
1.4This is one of the tools used by the Seocraft Network to manage NPC's in its different services. Thi
NPC-API
API for create NPCs in Spigot/Bukkit
If you are going to use this api, please read this first.
Donate us
If you like our work please consider donating for improving our network
By clicking here
Functionalities
- Creation - Create a NPC in anytime by using:
NpcAPI.createNPC(String name, String value, String signature, Location location, Boolean name_visible, Player receiver) - NameTag visibility - Hide NPC NameTag by changing name_visible to false
- Animation and Status - Play an animation or an status such as SWING_ARM using
ornpc.playAnimation(Animation animation)npc.playStatus(Status status) - Equipment - Equip the npc with an ItemStack in different positions such as HELMET, CHESTPLATE etc... using
npc.setEquipment(EquipmentAction action, ItemStack itemStack) - Teleportation - Teleport the NPC in different locations using
npc.teleport(Location location) - Removing - Delete the NPC using
NpcAPI.removeNPC(NPC npc) - Event - Detect when the player interacts with a NPC using the NPCInteractEvent, you can also detect the type of interaction by getting the EventAction
- Tablist - Remove or add the npc to the tablist by using
npc.setAction(Action action) - Movement - Move the npc to a specified location using
ornpc.setTarget(Location target, Float speed, Double distance_stop)npc.setTarget(Entity entity, Float speed, Double distance_stop)
Value and Signature (Skins related)
As you just read, the npc needs a value and a signature to be created.
Those 2 can be filled by following these two instructions
Enter https://api.mojang.com/users/profiles/minecraft/USERNAME (Replace USERNAME with the username of the deserved skin) and copy the id
Enter http://sessionserver.mojang.com/session/minecraft/profile/ID?unsigned=false (Replace ID with the copied id) and copy value and signature
TO DO
- Implement reflection for other versions in their classes
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta