CitizensDev / Citizens2

Citizens - the premier plugin and API for creating server-side NPCs in Minecraft.
https://citizensnpcs.co
Open Software License 3.0
589 stars 313 forks source link

npc dont respect path region #2678

Closed witloofashley closed 3 years ago

witloofashley commented 3 years ago

Hi, sory for the incovenient, i have an issue here.

i set up a region using worldguard and attached it to a NPC. i wanted the Npc walk only in the region. but he actually don't care about the region a walk here ever he want.

What i did : define a region with world edit /region define myRegion /npc create NAME /wp disableteleport /wp provider wander /npc path 'worldguardregion myRegion' /npc path

expected : npc route stay inside the region

behaviour : npc walk in and outside the region

troubleshooting : try to redo > same behaviour try to add waypoint > same behaviour

with server stapped: try to edit saves.yml file -> remove yrange and xrange > same -> try to edit position manualy > worst thing ever !

try to check in config.yml file

i'm out of resolution

The output of command /version on my server is: This server is running Paper version git-Paper-327 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) (Git: 8575248) You are running the latest version Previous version: git-Paper-326 (MC: 1.17.1)

The output of command /version citizens on my server is: [23:00:52 INFO]: Citizens version 2.0.28-SNAPSHOT (build 2357) [23:00:52 INFO]: Website: http://www.citizensnpcs.co [23:00:52 INFO]: Author: fullwall

logs : https://pastebin.com/xxxxxxxxxxxxx saves.yml : https://pastebin.com/xxxxxxxxxxxxx

mcmonkey4eva commented 3 years ago

First: Please heed the warning message at the top of your logs:


[22:59:30] [Server thread/WARN]: ****************************
[22:59:30] [Server thread/WARN]: YOU ARE RUNNING THIS SERVER AS AN ADMINISTRATIVE OR ROOT USER. THIS IS NOT ADVISED.
[22:59:30] [Server thread/WARN]: YOU ARE OPENING YOURSELF UP TO POTENTIAL RISKS WHEN DOING THIS.
[22:59:30] [Server thread/WARN]: FOR MORE INFORMATION, SEE https://madelinemiller.dev/blog/root-minecraft-server/
[22:59:30] [Server thread/WARN]: ****************************

Second: your plugin versions are pretty far behind, please update Citizens https://ci.citizensnpcs.co/job/Citizens2/ and Denizen https://ci.citizensnpcs.co/job/Denizen/ Third: never manually edit your saves file, always configure NPCs with the in-game commands

If the issue continues after updating and remaking the NPC, please reply below with a new copy of your logs, and a screenshot or video showing the region your NPC is meant to be in and where it's going