TheoBong / PunishmentsX

GUI Based minecraft punishments plugin.
MIT License
2 stars 4 forks source link

Database bug #6

Closed DanniDev1 closed 2 years ago

DanniDev1 commented 2 years ago

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:

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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.

DanniDev1 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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.