#(Lycheeeees) Sentinel bot issue

1 messages · Page 1 of 1 (latest)

glacial bane
#

If i assign a npc the sentinel trait in my server the orginal npc that i spawned in just stands still and other npcs are being spawned in that attack me. Around 4 bots and if i kill them other spawn in. All i did was add a trait to 1 citizens npc.

sleek caveBOT
#

(Lycheeeees) Sentinel bot issue

sleek caveBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

glacial bane
#

all i want is 1 npc that attacks a player and if it dies it deletes itself

#
public class playerjoin implements Listener {

    @EventHandler
    public void onPlayerJoin(PlayerJoinEvent e) {
        System.out.println("Player has jopined spawining in npc");
        Player player = e.getPlayer();
        NPC npc = CitizensAPI.getNPCRegistry().createNPC(EntityType.PLAYER, "TestName");
        SentinelTrait sentinel = npc.getOrAddTrait(SentinelTrait.class);
        sentinel.addTarget("players");
        npc.spawn(player.getLocation());
    }
}
ripe relicBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@glacial bane

ripe relicBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@glacial bane