#can i make npcs with skript?
1 messages · Page 1 of 1 (latest)
you'd have to use an addon that supports npc creation
why use anything just summon one, and use sk to tp
I have citizens but I don't know how to link it cus I tried with just citizens but the permissions on citizens are a bit weird
npcs aren’t villagers
same thing
no
works for me
maybe .. been a while maybe they change it, used to work for me.. but haven played maybe 8 months
entity then
name of clicked entity is "Event"
cancel event
broadcast "test"```
change broadcast to teleport player
and change word "villager" to whatever mob ur using
I’ve used reflect to interact with NPC plugins before, you import their API and then use their java methods
whyuse plugins
If you are using villagers that’s easier
They do the hard packet stuff for you
plugins break
just summon with no ai boom done
then use sk for right click boom easy
If you want client side or player npcs you need to use packets
player yes.. but all mobs u can summon
Yeah, but client side is still more efficient if you want to try that
Because the entity doesn’t really exists so the server doesn’t tick anything
i just did with a bee and added tp to spwan and work just fine
Yeah spawning mobs without ai works
less chance of issues too
This is more if you want to challenge yourself
ah.. what does the job why make things hard for self..lol
summon a bee no ai and use this and works fine
name of clicked entity is "Event"
cancel event
teleport event-player to spawn```
Yeah that works fine
Make sure you have code for if the bee despawns or the server restarts
thats done in the summon
i added silent noai and presistent
so wont despawn
i will say its been a while as my old code dont work like Tarna said
lot changes in 8 months
oh and should add, whats the one so cant hurt
invulnerability?
Pretty sure