Only going to jail after relogging
When I send someone to jail nithing happens until they logback into the server then they are sent to jail, If i try to free them it says the aren't in jail.
It also is not giving them the prisoner kit. any ideas?
Hello rustybeachcomber. I have the jail plugin running on my server and it works well except for one small issue. A player can leave the prison by dying and sometimes even by exiting the zone. I have managed to fix this by adding in a new hook function for the plugin. I am currently using the OnPlayerSleepEnded hook to call the OnPlayerInit hook so then it checks if the player is a prisoner then sends them back to jail. You need to make sure you have created a spawn file, make sure you have set up a zone using zone manager and that your prison is set up using th zone ID from zone manager as well as the name you used for creating the spawn file. I have not tested the kits part out yet however I can give it a try. Whay you can do is send a player to jail then check if it has created a data file with the player in it and that the players current load out is logged there. Are you using the latest zone manager from uMod and also the latest spawns database from here as well? I am not a plugin dev nor am I any good at creating plugins however I am willing to try help you figure out your issue where I can
In response to silent001 ():
Hello rustybeachcomber. I have the jail plugin running on my server and it works well except for one...
I am using the most up todate versions of the plugins and I had been working perfectly unill s few wipes back. I will take another look at the spawn file and see if I can find anything. thank you for your help.
You might consider deleting all the data files associated with spawns database, jail and with zone manager as there might be duplicate entries if they are not removed when you wipe. I only keep the config files