-
Notifications
You must be signed in to change notification settings - Fork 70
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
Player collisions #457
Comments
Hey, thank you for the report. I have a few questions:
A minimal set of plugins to cause this (I'd suspect OCM + some tablist/scoreboard plugin(s)) would be greatly appreciated. This is a somewhat known bug, but I have never been able to reproduce any of the bug reports, so if you could list your plugins or even condense it down to just a few that make it fail, I'd have something to work with and hopefully find the root cause. Have a nice day :) |
Tablist: CMI (https://www.spigotmc.org/resources/cmi-270-commands-insane-kits-portals-essentials-economy-mysql-sqlite-much-more.3742/) You too :) |
I checked it quickly and it looks like after disabling the AnimatedScoreboard plugin the option to disable collisions between players works well. I'll check it more deeply, but I can give you that information for now. |
Hm. Maybe there is something interesting in your AnimatedScoreboard config? I can not reproduce it with just AnimatedScoreboard and OCM. Also, are you behind bungee or a comparable reverse proxy? |
I use waterfall |
I set up waterfall in a docker container and it still works (run via FROM openjdk:8
RUN apt update -y && apt install --yes git bash maven
RUN git config --global user.name "Test" && git config --global user.email "[email protected]"
RUN git clone https://github.com/PaperMC/Waterfall /tmp/Waterfall && cd /tmp/Waterfall && ./waterfall b
RUN mkdir /home/Waterfall && cp /tmp/Waterfall/Waterfall-Proxy/bootstrap/target/Waterfall.jar /home/Waterfall
WORKDIR /home/Waterfall
ENTRYPOINT ["java", "-jar", "/home/Waterfall/Waterfall.jar"] AnimaredScoreboards prints the following message:
So I am kinda out of ideas for reproducing the bug, if you can not narrow it down to a few plugins causing the trouble :/ As far as I can tell I am as close to your setup as I can get, based off of the information you provided so far? |
I've updated all my plugins to the latest versions and checked if it kick players away when joining the server with the option player collisions disabled (enabled: true). Surprisingly, it doesn't kick, but I accidentally discovered that when you turn off the scorebord (command: /animatedscoreboard toggle) with this option on, it kick away player. Of course, if I set disable-player-collisions to false everything is good. There is one error on the proxy server: https://pastebin.com/0H5gyxrx
Below I send ready files to download and to check, I checked and with this configuration goes to see this error.
I'll add that I was trying to find the reason for throwing out players when a player joins the server, but after a couple of hours of searching I didn't feel like it, it was too tiring. |
@Rafalll Thank you so much! I could reproduce the error now (I think it is the same bug also causing 3 or 4 other issues but I wasn't able to reproduce it before). I spent my last few hours debugging this garbage and came up with a patch you can find on my fork. Let me know if that fixes the issue while still disabling player collisions. In my tests I managed to break the collision feature a few times, as minecraft is a bit finicky, but I hope I squashed all of those bugs now. |
Well, it looks like the bug has been fixed. I tested the plugin and it works perfectly for the moment, thanks a much! Have a nice day :D |
Server Version: PaperSpigot 1.16.2
OldCombatMechanics version: dev build #45
Server Log File: https://pastebin.com/Jfqt3ME6
Debug Log: https://pastebin.com/5zfFQc80
OldCombatMechanics config file: https://pastebin.com/Y1eCFrAu
## Problem Description
Once the option to disable collisions between players is enabled, the plugin kicks a player out of the server.
### To Reproduce
1. Upload the plugin
2. Change the disable-player-collisions setting to true
disable-player-collisions:
enabled: true
worlds: []
3. Reload
4. Leave the server and try to join to server
The text was updated successfully, but these errors were encountered: