cavallium / coordinatesobfuscator Goto Github PK
View Code? Open in Web Editor NEWHide the real coordinates to the players
License: GNU Affero General Public License v3.0
Hide the real coordinates to the players
License: GNU Affero General Public License v3.0
Make it so if user is in creative or spectator mode it randomised their cords only and survival players get real cords
make it a configuration
Hello, seems like this plugin is not working on paper 1.19.4. Coordinates stay the same after death or relog.
I get the following error on the startup of the server:
[12:32:55 ERROR]: [CoordinatesObfuscator] Failed to register events for class org.warp.coordinatesobfuscator.CoordinatesObfuscator because io/papermc/paper/threadedregions/scheduler/ScheduledTask does not exist.
Edit: After some testing, I noticed that the coords only get scrambled after the server restarts. Hope you can help me with this. Your plugin is super important for my server
When Orebfuscator is also installed, CoordinatesObfuscator throws an error on player login. Not sure if this is related to CoordinatesObfuscator or Orebufscator, but figured I'd document the error here.
[15:20:48 ERROR]: [CoordinatesObfuscator] Unhandled exception occured in onPacketSending(PacketEvent) for CoordinatesObfuscator
com.comphenix.protocol.reflect.FieldAccessException: Cannot get NBT type of net.minecraft.server.v1_16_R3.PacketPlayOutTileEntityData@75cfa3ad
at com.comphenix.protocol.wrappers.nbt.WrappedElement.getType(WrappedElement.java:150) ~[?:?]
at com.comphenix.protocol.wrappers.nbt.NbtFactory.fromNMS(NbtFactory.java:334) ~[?:?]
at com.comphenix.protocol.wrappers.BukkitConverters$9.getSpecific(BukkitConverters.java:642) ~[?:?]
at com.comphenix.protocol.wrappers.BukkitConverters$9.getSpecific(BukkitConverters.java:634) ~[?:?]
at com.comphenix.protocol.wrappers.Converters$1.getSpecific(Converters.java:42) ~[?:?]
at com.comphenix.protocol.wrappers.BukkitConverters$2.getSpecific(BukkitConverters.java:276) ~[?:?]
at com.comphenix.protocol.wrappers.BukkitConverters$2.getSpecific(BukkitConverters.java:268) ~[?:?]
at com.comphenix.protocol.wrappers.Converters$1.getSpecific(Converters.java:42) ~[?:?]
at com.comphenix.protocol.reflect.StructureModifier.readInternal(StructureModifier.java:229) ~[?:?]
at com.comphenix.protocol.reflect.StructureModifier.read(StructureModifier.java:197) ~[?:?]
at com.comphenix.protocol.reflect.StructureModifier.getValues(StructureModifier.java:678) ~[?:?]
at org.warp.coordinatesobfuscator.CoordinatesObfuscator.cloneMapChunkEntitiesData(CoordinatesObfuscator.java:201) ~[?:?]
at org.warp.coordinatesobfuscator.CoordinatesObfuscator.access$100(CoordinatesObfuscator.java:33) ~[?:?]
at org.warp.coordinatesobfuscator.CoordinatesObfuscator$1.onPacketSending(CoordinatesObfuscator.java:115) ~[?:?]
at com.comphenix.protocol.injector.SortedPacketListenerList.invokeSendingListener(SortedPacketListenerList.java:195) ~[?:?]
at com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:149) ~[?:?]
at com.comphenix.protocol.injector.PacketFilterManager.handlePacket(PacketFilterManager.java:535) ~[?:?]
at com.comphenix.protocol.injector.PacketFilterManager.invokePacketSending(PacketFilterManager.java:516) ~[?:?]
at com.comphenix.protocol.injector.netty.ProtocolInjector.packetQueued(ProtocolInjector.java:334) ~[?:?]
at com.comphenix.protocol.injector.netty.ProtocolInjector.onPacketSending(ProtocolInjector.java:296) ~[?:?]
at com.comphenix.protocol.injector.netty.ChannelInjector.processSending(ChannelInjector.java:434) ~[?:?]
at com.comphenix.protocol.injector.netty.ChannelInjector.access$800(ChannelInjector.java:71) ~[?:?]
at com.comphenix.protocol.injector.netty.ChannelInjector$3.handleScheduled(ChannelInjector.java:374) ~[?:?]
at com.comphenix.protocol.injector.netty.ChannelInjector$3.onMessageScheduled(ChannelInjector.java:344) ~[?:?]
at com.comphenix.protocol.injector.netty.ChannelProxy$2.schedulingRunnable(ChannelProxy.java:127) ~[?:?]
at com.comphenix.protocol.injector.netty.EventLoopProxy.execute(EventLoopProxy.java:95) ~[?:?]
at net.minecraft.server.v1_16_R3.NetworkManager.writePacket(NetworkManager.java:466) ~[patched_1.16.4.jar:git-Tuinity-"8954b61"]
at net.minecraft.server.v1_16_R3.NetworkManager.processQueue(NetworkManager.java:513) ~[patched_1.16.4.jar:git-Tuinity-"8954b61"]
at net.minecraft.server.v1_16_R3.NetworkManager.p(NetworkManager.java:479) ~[patched_1.16.4.jar:git-Tuinity-"8954b61"]
at net.minecraft.server.v1_16_R3.NetworkManager.sendPacketQueue(NetworkManager.java:473) ~[patched_1.16.4.jar:git-Tuinity-"8954b61"]
at net.minecraft.server.v1_16_R3.NetworkManager.sendPacket(NetworkManager.java:335) ~[patched_1.16.4.jar:git-Tuinity-"8954b61"]
at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:1739) ~[patched_1.16.4.jar:git-Tuinity-"8954b61"]
at net.minecraft.server.v1_16_R3.PlayerConnection.sendPacket(PlayerConnection.java:1712) ~[patched_1.16.4.jar:git-Tuinity-"8954b61"]
at net.minecraft.server.v1_16_R3.EntityPlayer.a(EntityPlayer.java:1942) ~[patched_1.16.4.jar:git-Tuinity-"8954b61"]
at net.minecraft.server.v1_16_R3.PlayerChunkMap.a(PlayerChunkMap.java:2308) ~[patched_1.16.4.jar:git-Tuinity-"8954b61"]
at net.minecraft.server.v1_16_R3.PlayerChunkMap.sendChunk(PlayerChunkMap.java:2242) ~[patched_1.16.4.jar:git-Tuinity-"8954b61"]
at net.minecraft.server.v1_16_R3.Chunk.lambda$onNeighbourChange$1(Chunk.java:388) ~[patched_1.16.4.jar:git-Tuinity-"8954b61"]
at net.minecraft.server.v1_16_R3.ChunkTaskQueueSorter.b(SourceFile:58) ~[patched_1.16.4.jar:git-Tuinity-"8954b61"]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.16.4.jar:git-Tuinity-"8954b61"]
at net.minecraft.server.v1_16_R3.ChunkProviderServer$a.executeTask(ChunkProviderServer.java:1210) ~[patched_1.16.4.jar:git-Tuinity-"8954b61"]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.16.4.jar:git-Tuinity-"8954b61"]
at net.minecraft.server.v1_16_R3.ChunkProviderServer$a.executeNext(ChunkProviderServer.java:1224) ~[patched_1.16.4.jar:git-Tuinity-"8954b61"]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[patched_1.16.4.jar:git-Tuinity-"8954b61"]
at net.minecraft.server.v1_16_R3.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:677) ~[patched_1.16.4.jar:git-Tuinity-"8954b61"]
at net.minecraft.server.v1_16_R3.IChunkProvider.getChunkAt(SourceFile:16) ~[patched_1.16.4.jar:git-Tuinity-"8954b61"]
at net.imprex.orebfuscator.nms.v1_16_R3.NmsManager.getBlockData(NmsManager.java:52) ~[?:?]
at net.imprex.orebfuscator.nms.v1_16_R3.NmsManager.loadChunkAndGetBlockId(NmsManager.java:135) ~[?:?]
at net.imprex.orebfuscator.NmsInstance.loadChunkAndGetBlockId(NmsInstance.java:86) ~[?:?]
at net.imprex.orebfuscator.obfuscation.Obfuscator.areAjacentBlocksTransparent(Obfuscator.java:145) ~[?:?]
at net.imprex.orebfuscator.obfuscation.Obfuscator.areAjacentBlocksTransparent(Obfuscator.java:156) ~[?:?]
at net.imprex.orebfuscator.obfuscation.Obfuscator.shouldObfuscate(Obfuscator.java:133) ~[?:?]
at net.imprex.orebfuscator.obfuscation.Obfuscator.obfuscateNow(Obfuscator.java:86) ~[?:?]
at net.imprex.orebfuscator.obfuscation.Obfuscator.lambda$obfuscate$0(Obfuscator.java:39) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.4.jar:git-Tuinity-"8954b61"]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.16.4.jar:git-Tuinity-"8954b61"]
at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1351) ~[patched_1.16.4.jar:git-Tuinity-"8954b61"]
at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:378) ~[patched_1.16.4.jar:git-Tuinity-"8954b61"]
at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1264) ~[patched_1.16.4.jar:git-Tuinity-"8954b61"]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:996) ~[patched_1.16.4.jar:git-Tuinity-"8954b61"]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:174) ~[patched_1.16.4.jar:git-Tuinity-"8954b61"]
at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: java.lang.IllegalArgumentException: java.lang.ClassCastException@454197d
at jdk.internal.reflect.GeneratedMethodAccessor155.invoke(Unknown Source) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
at com.comphenix.protocol.wrappers.nbt.WrappedElement.getType(WrappedElement.java:148) ~[?:?]
... 60 more
[15:20:48 ERROR]: Parameters:
net.minecraft.server.v1_16_R3.PacketPlayOutMapChunk@14d7b756[
a=68
b=1
c=31
d={MOTION_BLOCKING:[L;1281525272952211526L,1317659898773541957L,1263475208901399105L,1335709412800105543L,1155318724919597132L,1335322109427093062L,1155600749920557130L,1263546127938519104L,1389823183500378176L,1299539602071126092L,1371773392847408199L,1155177711076939853L,1353336438277046342L,1155178468601796683L,1263440023991124032L,1155530312188466763L,1155177711073787968L,1353759133390375488L,1155177711073787968L,1371738277194793024L,1173227293955364427L,1155177779927745089L,1155177711076677195L,1173262616035361857L,1155177711073787968L,1209326666145628224L,1155177711073788482L,1209326528437977152L,1155177711208531524L,1173192109583269952L,1155213033287747138L,1155177711073787968L,1191277014544843328L,1155177711073787969L,1173227362809053248L,1155177711074050625L,8606744640L],WORLD_SURFACE:[L;1281525272952211526L,1317659898773541957L,1263475208901399105L,1335709412800105543L,1155318724919597132L,1335322109427093062L,1155600749920557130L,1263546127938519104L,1389823183500378176L,1299539602071126092L,1371773392847408199L,1155177711076939853L,1353336438277046342L,1155178468601796683L,1263440023991124032L,1173544710697948747L,1155177711073787968L,1353759133390375488L,1155177711073788481L,1371738277194793024L,1173227294089844299L,1155177779927745089L,1155212964302460491L,1173262616035361857L,1173227362809053248L,1209326666145628224L,1173227293955359298L,1209326528438239809L,1155177711208531524L,1173192178437227073L,1155213033287747138L,1173227362809315392L,1191277014544843328L,1173227293955620929L,1173227362809053249L,1155177711074050625L,8606744640L]}
e={4, ... ,4}
f= [removed]
h=true
ready=true
extraPackets=[net.minecraft.server.v1_16_R3.PacketPlayOutTileEntityData@75cfa3ad, net.minecraft.server.v1_16_R3.PacketPlayOutTileEntityData@34f9dcaf, net.minecraft.server.v1_16_R3.PacketPlayOutTileEntityData@7f5cb789, net.minecraft.server.v1_16_R3.PacketPlayOutTileEntityData@539edd41, net.minecraft.server.v1_16_R3.PacketPlayOutTileEntityData@e7b67]
mustSplit=false
]
[15:21:28 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH - git-Tuinity-"8954b61" (MC: 1.16.4) ---
[15:21:28 ERROR]: The server has not responded for 10 seconds! Creating thread dump
[15:21:28 ERROR]: ------------------------------
[15:21:28 ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):
[15:21:28 ERROR]: Chunk wait task info below:
[15:21:28 ERROR]: -36538,-4240 in 'survival:
[15:21:28 ERROR]: Load Task - none
[15:21:28 ERROR]: Save Task - none
[15:21:28 ERROR]: Chunk Holder - non-null
[15:21:28 ERROR]: Chunk Status - minecraft:features
[15:21:28 ERROR]: Chunk Ticket Status - minecraft:full
[15:21:28 ERROR]: Chunk Holder Status - minecraft:features
[15:21:28 ERROR]: Chunk Holder Priority - 2
[15:21:28 ERROR]: Chunk Neighbors:
[15:21:28 ERROR]: -36537,-4239 in survival:
[15:21:28 ERROR]: Chunk Holder - non-null
[15:21:28 ERROR]: Chunk Status - minecraft:liquid_carvers
[15:21:28 ERROR]: Chunk Ticket Status - minecraft:features
[15:21:28 ERROR]: Chunk Holder Status - minecraft:liquid_carvers
[15:21:28 ERROR]: Chunk Holder Priority - 3
[15:21:28 ERROR]: Chunk Neighbors:
[15:21:28 ERROR]: -36536,-4238 in survival:
[15:21:28 ERROR]: Chunk Holder - non-null
[15:21:28 ERROR]: Chunk Status - minecraft:surface
[15:21:28 ERROR]: Chunk Ticket Status - minecraft:liquid_carvers
[15:21:28 ERROR]: Chunk Holder Status - minecraft:surface
[15:21:28 ERROR]: Chunk Holder Priority - 35
[15:21:28 ERROR]: ------------------------------
[15:21:28 ERROR]: Current Thread: Server thread
[15:21:28 ERROR]: PID: 16 | Suspended: false | Native: false | State: TIMED_WAITING
[15:21:28 ERROR]: Stack:
[15:21:28 ERROR]: [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
[15:21:28 ERROR]: [email protected]/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
[15:21:28 ERROR]: app//net.minecraft.server.v1_16_R3.IAsyncTaskHandler.bm(IAsyncTaskHandler.java:131)
[15:21:28 ERROR]: app//net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:120)
[15:21:28 ERROR]: app//net.minecraft.server.v1_16_R3.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:677)
[15:21:28 ERROR]: app//net.minecraft.server.v1_16_R3.IChunkProvider.getChunkAt(SourceFile:16)
[15:21:28 ERROR]: net.imprex.orebfuscator.nms.v1_16_R3.NmsManager.getBlockData(NmsManager.java:52)
[15:21:28 ERROR]: net.imprex.orebfuscator.nms.v1_16_R3.NmsManager.loadChunkAndGetBlockId(NmsManager.java:135)
[15:21:28 ERROR]: net.imprex.orebfuscator.NmsInstance.loadChunkAndGetBlockId(NmsInstance.java:86)
[15:21:28 ERROR]: net.imprex.orebfuscator.obfuscation.Obfuscator.areAjacentBlocksTransparent(Obfuscator.java:145)
[15:21:28 ERROR]: net.imprex.orebfuscator.obfuscation.Obfuscator.areAjacentBlocksTransparent(Obfuscator.java:155)
[15:21:28 ERROR]: net.imprex.orebfuscator.obfuscation.Obfuscator.shouldObfuscate(Obfuscator.java:133)
[15:21:28 ERROR]: net.imprex.orebfuscator.obfuscation.Obfuscator.obfuscateNow(Obfuscator.java:86)
[15:21:28 ERROR]: net.imprex.orebfuscator.obfuscation.Obfuscator.lambda$obfuscate$0(Obfuscator.java:39)
[15:21:28 ERROR]: net.imprex.orebfuscator.obfuscation.Obfuscator$$Lambda$7158/0x0000000801eb9c40.run(Unknown Source)
[15:21:28 ERROR]: app//org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99)
[15:21:28 ERROR]: app//org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468)
[15:21:28 ERROR]: app//net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1351)
[15:21:28 ERROR]: app//net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:378)
[15:21:28 ERROR]: app//net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1264)
[15:21:28 ERROR]: app//net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:996)
[15:21:28 ERROR]: app//net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:174)
[15:21:28 ERROR]: app//net.minecraft.server.v1_16_R3.MinecraftServer$$Lambda$3123/0x00000008008fec40.run(Unknown Source)
[15:21:28 ERROR]: [email protected]/java.lang.Thread.run(Thread.java:834)
[15:21:28 ERROR]: ------------------------------
[15:21:28 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---
[15:21:28 ERROR]: ------------------------------
[15:21:33 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH - git-Tuinity-"8954b61" (MC: 1.16.4) ---
[15:21:33 ERROR]: The server has not responded for 15 seconds! Creating thread dump
[15:21:33 ERROR]: ------------------------------
[15:21:33 ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):
[15:21:33 ERROR]: Chunk wait task info below:
[15:21:33 ERROR]: -36530,-4242 in 'survival:
[15:21:33 ERROR]: Load Task - none
[15:21:33 ERROR]: Save Task - none
[15:21:33 ERROR]: Chunk Holder - non-null
[15:21:33 ERROR]: Chunk Status - minecraft:light
[15:21:33 ERROR]: Chunk Ticket Status - minecraft:full
[15:21:33 ERROR]: Chunk Holder Status - minecraft:features
[15:21:33 ERROR]: Chunk Holder Priority - 2
[15:21:33 ERROR]: ------------------------------
[15:21:33 ERROR]: Current Thread: Server thread
[15:21:33 ERROR]: PID: 16 | Suspended: false | Native: false | State: TIMED_WAITING
[15:21:33 ERROR]: Stack:
[15:21:33 ERROR]: [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
[15:21:33 ERROR]: [email protected]/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
[15:21:33 ERROR]: app//net.minecraft.server.v1_16_R3.IAsyncTaskHandler.bm(IAsyncTaskHandler.java:131)
[15:21:33 ERROR]: app//net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:120)
[15:21:33 ERROR]: app//net.minecraft.server.v1_16_R3.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:677)
[15:21:33 ERROR]: app//net.minecraft.server.v1_16_R3.IChunkProvider.getChunkAt(SourceFile:16)
[15:21:33 ERROR]: net.imprex.orebfuscator.nms.v1_16_R3.NmsManager.getBlockData(NmsManager.java:52)
[15:21:33 ERROR]: net.imprex.orebfuscator.nms.v1_16_R3.NmsManager.loadChunkAndGetBlockId(NmsManager.java:135)
[15:21:33 ERROR]: net.imprex.orebfuscator.NmsInstance.loadChunkAndGetBlockId(NmsInstance.java:86)
[15:21:33 ERROR]: net.imprex.orebfuscator.obfuscation.Obfuscator.areAjacentBlocksTransparent(Obfuscator.java:145)
[15:21:33 ERROR]: net.imprex.orebfuscator.obfuscation.Obfuscator.areAjacentBlocksTransparent(Obfuscator.java:155)
[15:21:33 ERROR]: net.imprex.orebfuscator.obfuscation.Obfuscator.shouldObfuscate(Obfuscator.java:133)
[15:21:33 ERROR]: net.imprex.orebfuscator.obfuscation.Obfuscator.obfuscateNow(Obfuscator.java:86)
[15:21:33 ERROR]: net.imprex.orebfuscator.obfuscation.Obfuscator.lambda$obfuscate$0(Obfuscator.java:39)
[15:21:33 ERROR]: net.imprex.orebfuscator.obfuscation.Obfuscator$$Lambda$7158/0x0000000801eb9c40.run(Unknown Source)
[15:21:33 ERROR]: app//org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99)
[15:21:33 ERROR]: app//org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468)
[15:21:33 ERROR]: app//net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1351)
[15:21:33 ERROR]: app//net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:378)
[15:21:33 ERROR]: app//net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1264)
[15:21:33 ERROR]: app//net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:996)
[15:21:33 ERROR]: app//net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:174)
[15:21:33 ERROR]: app//net.minecraft.server.v1_16_R3.MinecraftServer$$Lambda$3123/0x00000008008fec40.run(Unknown Source)
[15:21:33 ERROR]: [email protected]/java.lang.Thread.run(Thread.java:834)
[15:21:33 ERROR]: ------------------------------
[15:21:33 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---
[15:21:33 ERROR]: ------------------------------
v1.4.11 (running on Paper 1.20.1 with ProtocolLib 657)
When a player enters a bed, the player sees themselves teleported to the real unobfuscated coordinates of the bed.
Also, when a Villager enters a bed, the Villager disappears from view for all obfuscated players and doesn't come back until the player logs out and back in.
Hope you can update to 1.19.2
Update to 1.19
When a player connects to my server, the server crashes.
This plugin does not support vanilla world borders and, both cosmetically and functionally, breaks them severely. The red vignette is perpetually present on worlds with tightly confined worldborders. At the edges of the worldborder, the worldborder wall cannot be seen. Additionally, the client does not stop the player from traveling beyond the worldborder. Could the worldborder data sent to the player potentially be shifted with coordinates to resolve this?
Hello,
do I have to do something else than install the plugin and protocolLib to get it to work?
The plugin also spams the console. Is that normal behaviour?
I've tried running this plugin on the latest Java release, 1.18, and got this error in console.
[CoordinatesObfuscator] Unhandled exception number 2048 occured in onPacketSending(PacketEvent) for CoordinatesObfuscator
com.comphenix.protocol.reflect.FieldAccessException: No field with type java.util.Collection exists in class ClientboundLevelChunkWithLightPacket.
at com.comphenix.protocol.reflect.StructureModifier.readInternal(StructureModifier.java:218) ~[?:?]
at com.comphenix.protocol.reflect.StructureModifier.read(StructureModifier.java:197) ~[?:?]
at com.comphenix.protocol.reflect.StructureModifier.modify(StructureModifier.java:423) ~[?:?]
at org.warp.coordinatesobfuscator.TranslatorClientbound.sendChunk(TranslatorClientbound.java:296) ~[?:?]
at org.warp.coordinatesobfuscator.TranslatorClientbound.outgoing(TranslatorClientbound.java:140) ~[?:?]
at org.warp.coordinatesobfuscator.CoordinatesObfuscator$1.onPacketSending(CoordinatesObfuscator.java:134) ~[?:?]
at com.comphenix.protocol.injector.SortedPacketListenerList.invokeSendingListener(SortedPacketListenerList.java:195) ~[?:?]
at com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:149) ~[?:?]
at com.comphenix.protocol.injector.PacketFilterManager.handlePacket(PacketFilterManager.java:535) ~[?:?]
at com.comphenix.protocol.injector.PacketFilterManager.invokePacketSending(PacketFilterManager.java:516) ~[?:?]
at com.comphenix.protocol.injector.netty.ProtocolInjector.packetQueued(ProtocolInjector.java:346) ~[?:?]
at com.comphenix.protocol.injector.netty.ProtocolInjector.onPacketSending(ProtocolInjector.java:308) ~[?:?]
at com.comphenix.protocol.injector.netty.ChannelInjector.processSending(ChannelInjector.java:433) ~[?:?]
at com.comphenix.protocol.injector.netty.ChannelInjector.access$800(ChannelInjector.java:70) ~[?:?]
at com.comphenix.protocol.injector.netty.ChannelInjector$3.handleScheduled(ChannelInjector.java:373) ~[?:?]
at com.comphenix.protocol.injector.netty.ChannelInjector$3.onMessageScheduled(ChannelInjector.java:343) ~[?:?]
at com.comphenix.protocol.injector.netty.ChannelProxy$2.schedulingRunnable(ChannelProxy.java:127) ~[?:?]
at com.comphenix.protocol.injector.netty.EventLoopProxy.execute(EventLoopProxy.java:95) ~[?:?]
at net.minecraft.network.NetworkManager.b(NetworkManager.java:203) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3332-Spigot-a5dea1c-bc14cb6]
at net.minecraft.network.NetworkManager.a(NetworkManager.java:183) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3332-Spigot-a5dea1c-bc14cb6]
at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1701) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3332-Spigot-a5dea1c-bc14cb6]
at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1687) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3332-Spigot-a5dea1c-bc14cb6]
at net.minecraft.server.level.EntityPlayer.a(EntityPlayer.java:1938) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3332-Spigot-a5dea1c-bc14cb6]
at net.minecraft.server.level.PlayerChunkMap.a(PlayerChunkMap.java:1365) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3332-Spigot-a5dea1c-bc14cb6]
at net.minecraft.server.level.PlayerChunkMap.a(PlayerChunkMap.java:944) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3332-Spigot-a5dea1c-bc14cb6]
at net.minecraft.server.level.PlayerChunkMap.a(PlayerChunkMap.java:1114) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3332-Spigot-a5dea1c-bc14cb6]
at net.minecraft.server.level.PlayerChunkMap.a(PlayerChunkMap.java:1262) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3332-Spigot-a5dea1c-bc14cb6]
at net.minecraft.server.level.ChunkProviderServer.b(ChunkProviderServer.java:558) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3332-Spigot-a5dea1c-bc14cb6]
at net.minecraft.server.level.WorldServer$a.e(WorldServer.java:1857) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3332-Spigot-a5dea1c-bc14cb6]
at net.minecraft.server.level.WorldServer$a.b(WorldServer.java:1) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3332-Spigot-a5dea1c-bc14cb6]
at net.minecraft.world.level.entity.PersistentEntitySectionManager.e(PersistentEntitySectionManager.java:146) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3332-Spigot-a5dea1c-bc14cb6]
at net.minecraft.world.level.entity.PersistentEntitySectionManager.a(PersistentEntitySectionManager.java:109) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3332-Spigot-a5dea1c-bc14cb6]
at net.minecraft.world.level.entity.PersistentEntitySectionManager.a(PersistentEntitySectionManager.java:90) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3332-Spigot-a5dea1c-bc14cb6]
at net.minecraft.server.level.WorldServer.e(WorldServer.java:980) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3332-Spigot-a5dea1c-bc14cb6]
at net.minecraft.server.level.WorldServer.c(WorldServer.java:964) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3332-Spigot-a5dea1c-bc14cb6]
at net.minecraft.server.players.PlayerList.a(PlayerList.java:315) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3332-Spigot-a5dea1c-bc14cb6]
at net.minecraft.server.network.LoginListener.a(LoginListener.java:193) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3332-Spigot-a5dea1c-bc14cb6]
at net.minecraft.server.network.LoginListener.c(LoginListener.java:179) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3332-Spigot-a5dea1c-bc14cb6]
at net.minecraft.server.network.LoginListener.b(LoginListener.java:74) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3332-Spigot-a5dea1c-bc14cb6]
at net.minecraft.network.NetworkManager.a(NetworkManager.java:246) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3332-Spigot-a5dea1c-bc14cb6]
at net.minecraft.server.network.ServerConnection.c(ServerConnection.java:172) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3332-Spigot-a5dea1c-bc14cb6]
at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1321) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3332-Spigot-a5dea1c-bc14cb6]
at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:428) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3332-Spigot-a5dea1c-bc14cb6]
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1205) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3332-Spigot-a5dea1c-bc14cb6]
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1033) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3332-Spigot-a5dea1c-bc14cb6]
at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:303) ~[spigot-1.18-R0.1-SNAPSHOT.jar:3332-Spigot-a5dea1c-bc14cb6]
at java.lang.Thread.run(Thread.java:833) [?:?]
A big thank you for developing this plugin. It's incredibly maddening to see people review bomb the plugin page because it wasn't updated within hours of the game's new version release.
[12:16:33 ERROR]: [CoordinatesObfuscator] Unhandled exception number 131072 occured in onPacketSending(PacketEvent) for CoordinatesObfuscator
java.lang.NoClassDefFoundError: Could not initialize class org.warp.coordinatesobfuscator.TranslatorClientbound
at org.warp.coordinatesobfuscator.CoordinatesObfuscator$1.onPacketSending(CoordinatesObfuscator.java:121) ~[?:?]
at com.comphenix.protocol.injector.SortedPacketListenerList.invokeSendingListener(SortedPacketListenerList.java:195) ~[?:?]
at com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:149) ~[?:?]
at com.comphenix.protocol.injector.PacketFilterManager.handlePacket(PacketFilterManager.java:535) ~[?:?]
at com.comphenix.protocol.injector.PacketFilterManager.invokePacketSending(PacketFilterManager.java:516) ~[?:?]
at com.comphenix.protocol.injector.netty.ProtocolInjector.packetQueued(ProtocolInjector.java:346) ~[?:?]
at com.comphenix.protocol.injector.netty.ProtocolInjector.onPacketSending(ProtocolInjector.java:308) ~[?:?]
at com.comphenix.protocol.injector.netty.ChannelInjector.processSending(ChannelInjector.java:433) ~[?:?]
at com.comphenix.protocol.injector.netty.ChannelInjector.access$800(ChannelInjector.java:70) ~[?:?]
at com.comphenix.protocol.injector.netty.ChannelInjector$3.handleScheduled(ChannelInjector.java:373) ~[?:?]
at com.comphenix.protocol.injector.netty.ChannelInjector$3.onMessageScheduled(ChannelInjector.java:343) ~[?:?]
at com.comphenix.protocol.injector.netty.ChannelProxy$2.schedulingRunnable(ChannelProxy.java:127) ~[?:?]
at com.comphenix.protocol.injector.netty.EventLoopProxy.execute(EventLoopProxy.java:95) ~[?:?]
at net.minecraft.network.Connection.writePacket(Connection.java:421) ~[?:?]
at net.minecraft.network.Connection.send(Connection.java:370) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.send(ServerGamePacketListenerImpl.java:2050) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.send(ServerGamePacketListenerImpl.java:2036) ~[?:?]
at net.minecraft.server.level.ChunkMap$TrackedEntity.broadcast(ChunkMap.java:2299) ~[?:?]
at net.minecraft.server.level.ServerEntity.sendChanges(ServerEntity.java:207) ~[?:?]
at net.minecraft.server.level.ChunkMap.processTrackQueue(ChunkMap.java:2023) ~[patched_1.17.jar:git-AirplanePurpur-"e9bf399"]
at net.minecraft.server.level.ChunkMap.tick(ChunkMap.java:2034) ~[patched_1.17.jar:git-AirplanePurpur-"e9bf399"]
at net.minecraft.server.level.ServerChunkCache.tickChunks(ServerChunkCache.java:1071) ~[?:?]
at net.minecraft.server.level.ServerChunkCache.tick(ServerChunkCache.java:932) ~[?:?]
at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:817) ~[?:?]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1626) ~[patched_1.17.jar:git-AirplanePurpur-"e9bf399"]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:492) ~[patched_1.17.jar:git-AirplanePurpur-"e9bf399"]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1477) ~[patched_1.17.jar:git-AirplanePurpur-"e9bf399"]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1261) ~[patched_1.17.jar:git-AirplanePurpur-"e9bf399"]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:322) ~[patched_1.17.jar:git-AirplanePurpur-"e9bf399"]
at java.lang.Thread.run(Thread.java:831) [?:?]
Would it be possible to add a permission so that this plugin only affects specified people?
I had a friend in another country log in to my server today, and he realized that the coordinate obfuscator does not apply until after login. As his latency is extremely bad, he was able to get a good look at the coordinates for several consecutive seconds
while the game loaded.
This isn't necessary easily reproducible, since you'd have to have an extremely high-latency connection to do it. I couldn't reproduce it myself for that reason. But I have attached a screenshot from the player in question, and verified that his coordinates shown there are, in fact, the real ones.
Is there, realistically, a good way to fix this?
My coords are still the same on F3 or typing /coords with essetials plugin
I'm using the latest version of paper spigot (1.19.4) and latest version of protocol lib
Title says it all, I've only tested this on 1.17.1 but banners, while they can still be interacted with, do not render at all with Coordinate Obfuscator installed.
Hi, im running 1.4.10 on 1.19.4 paper and noticed that the coords dont get randomized, when a players died, respawned or changed world.
It seems to only randomise the coords, when a player leaves the server and joins again.
Edit: I also noticed that setMaxWorldBorder is now calling itself instead of setMaxWorldBorderSync. Is this intended?
I updated my paper spigot server to 1.19.4 and installed the latest version of this plugin alongside a dev version of ProtocolLib. In 1.19.3, there were some issues with mobs disappearing occasionally and errors in the console. In 1.19.4, no mobs appear and the aforementioned errors still appear in console.
Thank you for the work that's been done to keep this up to date so far. (=
I'm getting some errors in the console whenever I draw back a bow or fire a bow. Here's a sample:
https://paste.gg/p/anonymous/77aa9815890e49c4a51f3463d5a5bd3f
Running the final Paper 1.15.2 release and Coordinate Obfuscator 1.3.4
Please update the plugin to a new version)
Is it possible to support this plugin? There are no conflicts, but there is a small nuisance, because players do not see custom blocks. I tested the issue with your plugin. Is it possible to fix this?
https://www.spigotmc.org/resources/nova-modding-framework-1-19-3.93648/
Hello, I get some errors from this plugin in the console.
https://pastebin.com/acVzRa0L
It's too bad that this plugin's goal is only to obfuscate player coordinates. It would be really useful to be able to use this as a coordinate offset plugin. One use case for this is making it appear so that a server's spawn in the millions would appear like 0,0 (a use case of that would be GeyserMC, because Bedrock Edition breaks at large coordinates). I actually privately forked this repo to make this ability a reality, but the fork bit the dust when 1.18 rolled around.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.