Paste
Pasted as HTML by tuo ( 3 months ago )
mi config:
# Don't edit Configs-Version manually!
Configs-Version: 6
Options:
# Locale language. Will search for specified .yml file in ProtocolStringReplacer/Locales.
# This setting also involve some internal operations, so it's recommended to
# follow the specification: language(Lower case)-location(Upper case)
Locale: en-US
# Set the host of update server, if you need.
Git-Raw-Host: raw.githubusercontent.com
# Set the lifecycle when PSR load the configs. Accepts INIT (Earliest), LOAD (Medium), ENABLE (Latest and default).
# Mainly used for Console messages modify.
Config-Load-LifeCycle: ENABLE
# How many times will PSR print stacktrace caused by ProtocolLib ? Set 0 to diable it always.
ProtocolLib-Side-Stack-Print-Count: 3
# Set the maximum capture records stored in /psr capture list.
Max-Capture-Records: 100
Features:
# Enable command typing sound in game.
Command-Typing-Sound-Enabled: true
# Console related options.
Console:
# Show loaded replacer configs in console.
Print-Replacer-Config-When-Loaded: true
# Reset console color after a record is ended.
# You may enable this if you modify console color.
Reset-Console-Color-At-End: true
# Custom plugin placeholder format. It is recommended to use the format that players can't think of,
# so they cannot access some information that they should not be obtained.
# By default, you can use the format with {player_name}(Chinese character) to use the placeholder.
# You may need to edit them for convenient usage.
Placeholder:
# Enable PlaceholderAPI features. Disable if you don't need placeholder parsing.
Placeholder-Enabled: true
# The prefix of a placeholder. Only one character allowed.
Placeholder-Head: {
# The suffix of a placeholder. Only one character allowed.
Placeholder-Tail: }
# Whether PSR should parse placeholders for console or not.
Parse-For-Console: true
# Replaced ItemStack cache related options.
ItemMetaCache:
# Seconds to execute the task of purging the cache.
Purge-Task-Interval: 600
# Only Purge the cache entries that have not been accessed in these seconds.
Purge-Access-Interval: 300
# Remove cache NBT on items when trading with villagers/wandering traders
# to fix some glitch.
Remove-Cache-When-Merchant-Trade: false
# Packet listener related options.
Packet-Listener:
# Specify the listener priority of ProtocolStringReplacer.
# If PSR conflicts with other plugins also using ProtocolLib, please change this value.
Listener-Priority: HIGHEST
# Should PSR forcibly edit the data in packets that are not allowed to be written?
# It's ok to set it to true.
Force-Replace: false
# Set which listen types are enabled. If you don't need PSR to handle the strings in
# the listen type, set it to false can help with performance.
Listen-Type-Enabled:
ActionBar: false
Boss-Bar: false
Chat: true
Chat-Preview: false
Combat-Kill: false
Entity: false
ItemStack: false
Kick-Disconnect: false
ScoreBoard: false
Sign: false
Tab-Complete: false
Title: false
Window-Title: false
# Chat packets options
Chat-Packet:
# Only for 1.19+ . PSR needs this enabled to handle the chat messages from players.
# When enabled, PSR will convert all PLAYER_CHAT packets to SYSTEM_CHAT,
# to solve the problem that the chat messages from player don't display
# if server/client enabled "Only Show Secure Chat".
# NOTE: This affects detection of player chat on clients. E.g, you will not able to report other players via chat.
Convert-Player-Chat: true
# Options about Optimization of replace modes.
Replace-Mode:
# After replacement in Direct mode, skip all processing for this packet.
Skip-When-Direct-Replaced: true
[15:17:42 ERROR]: [ProtocolStringReplacer] Unhandled exception occurred in onPacketReceiving(PacketEvent) for ProtocolStringReplacer com.comphenix.protocol.reflect.FieldAccessException: Field index 0 is out of bounds for length 0 at ProtocolLib.jar/com.comphenix.protocol.reflect.FieldAccessException.fromFormat(FieldAccessException.java:49) ~[ProtocolLib.jar:?] at ProtocolLib.jar/com.comphenix.protocol.reflect.StructureModifier.read(StructureModifier.java:247) ~[ProtocolLib.jar:?] at ProtocolStringReplacer-bukkit-3.2.3.jar/io.github.rothes.protocolstringreplacer.packetlistener.client.itemstack.WindowClick.process(WindowClic k.java:21) ~[ProtocolStringReplacer-bukkit-3.2.3.jar:?] at ProtocolStringReplacer-bukkit-3.2.3.jar/io.github.rothes.protocolstringreplacer.packetlistener.client.BaseClientPacketListener.access$100(Base ClientPacketListener.java:9) ~[ProtocolStringReplacer-bukkit-3.2.3.jar:?] at ProtocolStringReplacer-bukkit-3.2.3.jar/io.github.rothes.protocolstringreplacer.packetlistener.client.BaseClientPacketListener$1.onPacketRecei ving(BaseClientPacketListener.java:19) ~[ProtocolStringReplacer-bukkit-3.2.3.jar:?] at ProtocolLib.jar/com.comphenix.protocol.injector.collection.InboundPacketListenerSet.invokeListener(InboundPacketListenerSet.java:25) ~[Protoco lLib.jar:?] at ProtocolLib.jar/com.comphenix.protocol.injector.collection.PacketListenerSet.lambda$invoke$0(PacketListenerSet.java:123) ~[ProtocolLib.jar:?] at ProtocolLib.jar/com.comphenix.protocol.timing.TimingTracker.lambda$static$0(TimingTracker.java:7) ~[ProtocolLib.jar:?] at ProtocolLib.jar/com.comphenix.protocol.injector.collection.PacketListenerSet.invoke(PacketListenerSet.java:123) ~[ProtocolLib.jar:?] at ProtocolLib.jar/com.comphenix.protocol.injector.collection.PacketListenerSet.invoke(PacketListenerSet.java:102) ~[ProtocolLib.jar:?] at ProtocolLib.jar/com.comphenix.protocol.injector.PacketFilterManager.postPacketToListeners(PacketFilterManager.java:528) ~[ProtocolLib.jar:?] at ProtocolLib.jar/com.comphenix.protocol.injector.PacketFilterManager.invokeInboundPacketListeners(PacketFilterManager.java:509) ~[ProtocolLib.j ar:?] at ProtocolLib.jar/com.comphenix.protocol.injector.netty.channel.NettyChannelInjector.processInboundInternal(NettyChannelInjector.java:455) ~[Pro tocolLib.jar:?] at ProtocolLib.jar/com.comphenix.protocol.injector.netty.channel.NettyChannelInjector.processInbound(NettyChannelInjector.java:439) ~[ProtocolLib .jar:?] at ProtocolLib.jar/com.comphenix.protocol.injector.netty.channel.InboundPacketInterceptor.channelRead(InboundPacketInterceptor.java:47) ~[Protoco lLib.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[netty-transport-4.1.118.Final.jar:4 .1.118.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[netty-transport-4.1.118.Final.jar:4 .1.118.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[netty-transport-4.1.118.Final.jar:4.1 .118.Final] at io.netty.handler.flush.FlushConsolidationHandler.channelRead(FlushConsolidationHandler.java:152) ~[netty-handler-4.1.118.Final.jar:4.1.118.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1357) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:868) ~[netty-transport-4.1.118.Final.jar:4.1.118.Final] at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:799) ~[netty-transport-classes-epoll-4.1.118.Final.jar:4.1.118.Final] at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:501) ~[netty-transport-classes-epoll-4.1.118.Final.jar:4.1.118.Final] at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:399) ~[netty-transport-classes-epoll-4.1.118.Final.jar:4.1.118.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:998) ~[netty-common-4.1.118.Final.jar:4.1.118.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.118.Final.jar:4.1.118.Final] at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?] [15:17:42 ERROR]: Parameters: net.minecraft.network.protocol.game.ServerboundContainerClickPacket@285fca18[ containerId=1 stateId=1 slotNum=12 buttonNum=0 clickType=PICKUP changedSlots={12=><empty>} carriedItem=ActualItem[item=Reference{ResourceKey[minecraft:item / minecraft:player_head]=minecraft:player_head}, count=1, components=HashedPatchMap[addedComponents={minecraft:lore=-19119880, minecraft:custom_name=-1438605267, minecraft:custom_data=-498804917, minecraft:profile=280428878}, removedComponents=[]]] ]
Revise this Paste