Skip to content

FakeAPI

AlphaHelix edited this page Mar 24, 2018 · 6 revisions

What is the FakeAPI for?

The FakeAPI is an API to create per player NPCs (Holograms, Armorstands, Mobs, and Players!). You can interact witht them just like any other NPC on the server. And they even can inflect damage and walk!

To use it, simply run FakeAPI.enable(JavaPlugin)

How do I spawn a Armorstand?

The concept of the FakeAPI is based on simpleness, so just have to run the spawnArmorstand() method inside the ArmorstandFakeUtil class.

ArmorstandFakeUtil.spawnArmorstand(player, location, "Test Armorstand");

Clone this wiki locally