-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Players can escape #88
Comments
Interesting, I just started up a new test server with Jail and created a jail with a cell in it. Jailed my player and then tried to walk out but kept getting teleported back in my cell. Turn on debugging, |
|
The player went outside the jail area and came back, left again and was unjailed outside the area |
Sounds like your jail area isn't defined correctly... |
I just used the wooden sword in the process of /jail create |
Should I recreate the jail with the debugging? |
Yes please. |
|
Oh, just noticed this when I deleted the jail
|
Open a new issue for that deleting error. Have you tried to jail someone again with the new jail? |
Yes, the same thing happens still |
What all plugins do you have? Did you change that setting after having it disabled when the server started up? Because that's one feature which won't be enabled on a jail reload due to the listener not being registered when it is disabled on the plugin startup. |
It was in the config as true when I started. |
P.S I hope you redo the guards soon ;) |
Ah okay, glad to hear it's working. My plan for them is to release another beta soon which has a lot of bug fixes after I finish the help for each item. Then after the next beta is released I'll start work on the guards, so it won't be right away but won't be super far out. |
We now load or disable the move protection listener based upon the config when the plugin is reloaded.
I got inspired to see if it was possible to do it dynamically and it is. 😄 hopefully this issue won't come up in the future from anyone else. |
Great. 😄 Have fun continuing the plugin |
I got the dev build now and configured a jail. I tested a jail, and the player was able to go and adventure around the world. In the config moveProtection is true.
The text was updated successfully, but these errors were encountered: