Arclight
Arclight copied to clipboard
(1.16.5) Vanish not working... (bug)
I have confirmed that ...
- [X] all plugins and mods are up to date
- [X] unable to reproduce in Spigot
- [X] unable to reproduce in Forge
Arclight version
arclight-1.16.5-1.0.23-daa3c8bb
OS & Java versions
Java: openjdk version "11.0.13" 2021-10-19
Plugins and Mods
CMI
CMILib
Description
when trying to run any vanish plugins their command it just doesn't put us in vanish.. it makes us go invisible for 1 second then after that it makes us visible again without noticing us. i tried it with CMI and also other plugins and all the same result.
Step to reproduce
-
install any Vanish Plugin
-
try to run their /vanish command
-
try to see if another player sees you (in my case they could see me)
Logs
No response
Server pack link (Optional)
No response
Got the same issue.
Arclight version: arclight-1.16.5-1.0.23-daa3c8bb Plugin using: protocollib build 595 & premium vanish 2.7.17
Can confirm this issue with SuperVanish and VanishNoPacket. Would be nice if it can be fixed, because vanish is important for admins and commonly used.
Can it be reproduced on 1.18
Can it be reproduced on 1.18
i got no idea about that. we want to run ArcLight for our Pixelmon Reforged server
Can it be reproduced on 1.18
i got no idea about that. we want to run ArcLight for our Pixelmon Reforged server
i am sorry, but i must to tell you. Pixelmon module in arclight 1.16 maybe have very more problem, in 1.18 maybe not problem.
If you can reproduce the problem in 1.18, we can fix it quickly and fix it in 1.16
i tried it without even pixelmon installed and it didn't even work then like with an completely new server
ok,i got it,we will quickly and fix it, thank you help
thanks a lot
@timi137137 sorry for tagging but any chance of getting this fixed anytime soon?
Hi, I've found the same problem here. I've done some testing and I believe it might be related to the mixins Arclight applies to either the Entity
or LivingEntity
classes from Bukkit. SuperVanish uses Player::hidePlayer
internally.
I've done the following tests on clean servers, which included either SuperVanish/VanishNoPacket (Bukkit plugins) or Vanishmod (Forge mod). Note that the tests for each of those was done separately when using Arclight (meaning only SuperVanish or only Vanishmod was loaded at the same time):
The following tests were updated on August 8, 2023. The previous tests can be found on the comment history.
-
Arclight 1.18/1.0.9 (MC 1.18.2):
- SuperVanish v6.2.18 and ProtocolLib v5.1.0: player is invisible for ~1s and then is shown again to everyone in-game and the tab list but it does get hidden in the server list player count.
- VanishNoPacket v3.22: untested, probably same result as SuperVanish due to using similar API.
- Vanishmod 1.18.2-v1.1.12: player is hidden successfully in-game and in tab list, but not in the server list player count.
-
Arclight Horn/1.0.1 (MC 1.19.2):
- SuperVanish v6.2.18 and ProtocolLib v5.1.0: player is invisible for ~1s and then is shown again to everyone in-game and the tab list but it does get hidden in the server list player count.
-
VanishNoPacket v3.22: generated exception on load:
java.lang.NoClassDefFoundError: net/kyori/adventure/text/Component
, player is invisible for ~1s and then is shown again to everyone in-game, tab list and server list player count. - Vanishmod 1.19.2-v1.1.12: player is hidden successfully in-game and in tab list, but not in the server list player count.
-
Arclight GreatHorn/1.0.2 (MC 1.19.3):
- SuperVanish v6.2.18 and ProtocolLib v5.1.0: player is invisible for ~1s and then is shown again to everyone in-game and the tab list but it does get hidden in the server list player count.
- VanishNoPacket v3.22: untested, probably same result as SuperVanish due to using similar API.
- Vanishmod 1.19.3-v1.1.9.3: player is hidden successfully in-game and in tab list, but not in the server list player count.
-
Arclight Executions/1.0.5 (MC 1.19.4):
-
SuperVanish v6.2.18 and ProtocolLib v5.1.0: generated exception on server ping:
Unable to construct new instance using public net.minecraft.network.protocol.status.ServerStatus(net.minecraft.network.chat.Component,java.util.Optional,java.util.Optional,java.util.Optional,boolean,java.util.Optional)
, player is invisible for ~1s and then is shown again to everyone in-game, tab list and server list player count. -
VanishNoPacket v3.22: generated exception on load:
java.lang.NoClassDefFoundError: net/kyori/adventure/text/Component
, player is invisible for ~1s and then is shown again to everyone in-game, tab list and server list player count. - Vanishmod 1.19.4-v1.1.12.1: player is hidden successfully in-game and in tab list, but not in the server list player count.
-
SuperVanish v6.2.18 and ProtocolLib v5.1.0: generated exception on server ping:
-
Arclight Trials/1.0.0 (MC 1.20.1):
-
SuperVanish v6.2.18 and ProtocolLib v5.1.0: generated exception on server ping:
Unable to construct new instance using public net.minecraft.network.protocol.status.ServerStatus(net.minecraft.network.chat.Component,java.util.Optional,java.util.Optional,java.util.Optional,boolean,java.util.Optional)
, player is invisible for ~1s and then is shown again to everyone in-game, tab list and server list player count. -
VanishNoPacket v3.22: generated exception on load:
java.lang.NoClassDefFoundError: net/kyori/adventure/text/Component
, player is invisible for ~1s and then is shown again to everyone in-game, tab list and server list player count. - Vanishmod 1.20.1-v1.1.12.1: player is hidden successfully in-game and in tab list, but not in the server list player count.
-
SuperVanish v6.2.18 and ProtocolLib v5.1.0: generated exception on server ping:
-
Spigot, locally built (MC 1.20.1):
- SuperVanish v6.2.18 and ProtocolLib v5.1.0: player is hidden successfully from all places (in-game, tab list and server list player count).
-
VanishNoPacket v3.22: generated exception on load:
java.lang.NoClassDefFoundError: net/kyori/adventure/text/Component
, but player does get hidden correctly except from server list player count.
-
PaperMC build
#126
(MC 1.20.1):- SuperVanish v6.2.18 and ProtocolLib v5.1.0: player is hidden successfully from all places (in-game, tab list and server list player count).
- VanishNoPacket v3.22: player is hidden successfully from all places (in-game, tab list and server list player count).
-
Forge v47.1.1 (MC 1.20.1, same Forge version as the build used for Arclight Trials/1.0.0):
- Vanishmod 1.20.1-v1.1.12.1: player is hidden successfully from all places (in-game, tab list and server list player count).
I'll attach some videos of the testing done with SuperVanish and Vanishmod on 1.18.2 so that the weird behavior that is only present in all the tested versions of Arclight can be seen.
Arclight 1.18/1.0.9, SuperVanish v6.2.18 and ProtocolLib v5.1.0
I unfortunately forgot to include the test for the server list player count.
https://github.com/IzzelAliz/Arclight/assets/7624090/bcc0852d-715c-43f4-b255-1182cc1a0602
Arclight 1.18/1.0.9, Vanishmod 1.18.2-v1.1.12
I unfortunately forgot to include the test for the server list player count.
https://github.com/IzzelAliz/Arclight/assets/7624090/18b089e9-ea29-4f41-a77e-70038de2afad
All the config files were used with the generated defaults, except for disabling online-mode
in server.properties to test locally using offline accounts.
Looking at the source code of VanishNoPacket, it seems to be using a newer API instead of a deprecated overload of Player::hidePlayer
, but it still has the same result as SuperVanish (which is still using the deprecated method).
I might add more combinations of server versions/software/plugins/mods later, but as I mentioned before I've already spent too much time here.
I currently don't have the knowledge to contribute to the project since I haven't dealt with mixins before but I'm happy to provide any logs or help with testing as needed.
bump?
Any updates on this?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue is not stale, I've just updated my previous comment to include testing with the latest versions of Arclight that still have this bug.
This is still pretty major bug, and a massive problem for server administrators. Can you please look into fixing this? @timi137137
Vanish working as intended with this mod https://modrinth.com/mod/vanishmod/version/v1.1.6 its serverside only so you can use it as plugin - just put it into mods folder.
@aglarcz As mentioned in my previous comment, the issue is with Bukkit plugins, not with the Forge mod. Those are the ones that are not working.
I know, just giving admins some options to use.