Skip to content
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

Database bug #6

Closed
DanniDev1 opened this issue Feb 17, 2022 · 8 comments
Closed

Database bug #6

DanniDev1 opened this issue Feb 17, 2022 · 8 comments
Labels
bug Something isn't working

Comments

@DanniDev1
Copy link

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Execute command '....' /server (bungee server)
  2. Click on '....' I get kicked from the server.
  3. See error https://pastebin.com/YS4QXmnd

Screenshots
https://gyazo.com/a6729ba8e90c65e65944af82865f071f

Server Information:

  • Sever Software: CraftBukkit git-spigot-21fe707-741a1bd MC1.8.8 - 1.8.8 R0.1 SnapShot
  • Database: SQlite
  • Java Version: Not sure prob the newest?

Additional information
Add any other information about the problem here.
The problem is fixed whenever I delete the data.db file and restart the server, but that isn't a valid solution if I have to keep doing that...

@TheoBong TheoBong added the bug Something isn't working label Feb 18, 2022
@TheoBong
Copy link
Owner

The SQLite data.db does not have cross-server capabilities.
Does the bug occur when you join the lobby normally (not from /server)?

Are you sure there are no errors in console related to PunishmentsX at all?

@DanniDev1
Copy link
Author

Yes, all i got was that I've sent, yes I know it's cross-server capabilities, i was using it for single-server use

@DanniDev1
Copy link
Author

The SQLite data.db does not have cross-server capabilities. Does the bug occur when you join the lobby normally (not from /server)?

Are you sure there are no errors in console related to PunishmentsX at all?

I can send you the database, but that would reveal the ip's of my players wouldn't it?

@TheoBong
Copy link
Owner

The SQLite data.db does not have cross-server capabilities. Does the bug occur when you join the lobby normally (not from /server)?
Are you sure there are no errors in console related to PunishmentsX at all?

I can send you the database, but that would reveal the ip's of my players wouldn't it?

I don't need the database. My issue is that I'm unable to reproduce the issue based on your steps.
Here are the steps I took to try and reproduce:

  1. Put PunishmentsX on 2 servers linked together with Bungeecord with completely default config
  2. Use /server to go to the other server
  3. Mute myself for 1 hour
  4. Use /server to go back to server 1
  5. Use /server to go back to server 2
  6. No error

I also tried restarting server 2 and there was still not data loss or bugs/errors.

@TheoBong TheoBong mentioned this issue Feb 18, 2022
@DanniDev1
Copy link
Author

I didn't put it on 2 servers, i use a lobby to join my server which is on a bungee server (lobby) that connect to my server, does that makes sense? the only issue I gives is the server, not from the lobby were the plugin is not installed

@TheoBong
Copy link
Owner

I didn't put it on 2 servers, i use a lobby to join my server which is on a bungee server (lobby) that connect to my server, does that makes sense? the only issue I gives is the server, not from the lobby were the plugin is not installed

Okay, well I am still unable to reproduce any sort of issues arising from switching servers using the bungeecord "/server" command. Do you have any more information that I could use to reproduce the issue?

@DanniDev1
Copy link
Author

I'm not sure what would be helpful to you, it's after they have a punishment it sometimes won't let them join, sometimes it's only when the server restarts (maybe that has to do with something?)

@TheoBong
Copy link
Owner

I'm not sure what would be helpful to you, it's after they have a punishment it sometimes won't let them join, sometimes it's only when the server restarts (maybe that has to do with something?)

Nobody else seems to have this issue, and I can't reproduce it. It seems like a problem/incompatibility with your enviroment.
Closing this issue because this doesn't seem like an issue with PunishmentsX, rather your setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants