Teleportation not working?Solved
in the SpawnFile set it to "SpawnFile": "castle",

Merged post

also i posted a fix that should fix this for new npc's added. Let me know if that worked for you after you make the changed to the data file reload the plugin.

Nope i downloaded it the new plugin, still same problem. I also tried "castle.json" 

https://ibb.co/DYQssQB 



Merged post

Does the json file (wich is now in SpawnsDatabase) also need to be in the NpcTp datafolder?
no the spawnsDB file remains where it is.
Oke the file is, then i am not sure what the problem is
when you created your SpawnsDatabase named castle it will creat a file in SpawnsDatabase that should remain there. the NpcTP_Data.json should be only file you need to edit. thats in npctp folder

Yes this i did, shall i send both files? Maybe you see something odd with it? 

The rest of the settings are working

castle.json

{
"spawnPoints": {
"1": "915.8028 57.75027 1409.321"
}
}

 

NpcTP_Data.json

"658073371": {
"NpcName": "<color=yellow>King Arthur</color> : ",
"SpawnFile": "castle",
"Cooldown": 0,
"CanUse": true,
"useUI": true,
"Cost": 0.0,
"permission": "npctp.default",
"useItem": true,
"ItemShortName": "blood",
"ItemAmount": 15,
"UseCommand": true,
"CommandOnPlayer": true,
"Command": "inventory.giveto",
"Arrangements": "salvaged.sword",
"useMessage": true,
"MessageNpc": "Our Castle is under attack! Kill at least 15 people with Bow and Arrow (15x blood)! Code for door: , Cooldown: 1 week.",
"EnableDead": false,
"DeadOnPlayer": false,
"DeadCmd": "jail.send",
"DeadArgs": "5",
"OpenDoor": false,
"DoorLocX": 0.0,
"DoorLocY": 0.0,
"DoorLocZ": 0.0,
"DoorId": 0,
"NoPermKill": false,
"KillSleep": false
}

ill look into the plugin. your settings look ok but im unsure if you can use UseCommand and the teleportation at the same time. try disabling the UseCommand and see if he teleports and report back if you can.

Yes this works! Maybe changing in the code that the plugin is doing the commands few seconds after each other?

Not a good programmer xD

Because indeed, the two settings cant be together on
Try the new update just posted.
Thanks for the update ^^! 
Locked automatically