AttributeHider
This project is updated for the latest version of CraftBukkit. I won't update the plugin for any unofficial forks or anything else.
AttributeHider
What this plugin does
This plugin hides the recently introduced attributes from players. This is useful for roleplay servers, that have their own lore design and don't want this new feature or if the additional 2 lines in the lore just annoy you and you want to get rid of them. Once loaded it will always hide the attributes for your players without removing their effect. As of now there is no whitelist feature for the attributes to appear.
How to use this plugin
This plugin hides the attributes section in the lore from players without removing the effetcs. So in order to get this plugin to work just drop it in your plugins folder and make sure you also have ProtocolLib in your plugin folder. Once loaded it will always hide the attributes for your players without removing their effect. As of now there is no whitelist feature for the attributes to appear.
Dependency
This plugin depends on ProtocolLib. You will need to get ProtocolLib to use this plugin.
Anything else?
This plugin is always active (hiding attributes) and does not have any command nor permissions nor config.
TODO
- Whitelist feature
DONE:
- Add support for internal plugin messages
Found a bug or just have a suggestion? Let me know and I'll try to improve this plugin.
Source
The source can be found in the jar in the folder 'src'.
Not working with 1.9.
@CHmonsters
This is my version of the plugin, not his. He appears to no longer manage this plugin.
Also, update your ProtocolLib.
1.8.8 version: https://www.spigotmc.org/resources/attributehider.10604/
All credit to mncat77
i have installed the newest version of shopkeepers in my 1.8.8 server,when i right click the shopkeeper npc ,it comes on my console like this: [19:57:06 WARN]: FieldAccessException: No field with type [B exists in class PacketPlayOutCustomPayload. [19:57:06 WARN]: at com.comphenix.protocol.reflect.StructureModifier.writeInternal(StructureModifier.java:347) [19:57:06 WARN]: at com.comphenix.protocol.reflect.StructureModifier.write(StructureModifier.java:327) [19:57:06 WARN]: at me.Warren1001.AttributeHider.AttributeHider$1.onPacketSending(AttributeHider.java:95) [19:57:06 WARN]: at com.comphenix.protocol.injector.SortedPacketListenerList.invokeSendingListener(SortedPacketLi stenerList.java:195) [19:57:06 WARN]: at com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketList enerList.java:149) [19:57:06 WARN]: at com.comphenix.protocol.injector.PacketFilterManager.handlePacket(PacketFilterManager.java:638 ) [19:57:06 WARN]: at com.comphenix.protocol.injector.PacketFilterManager.invokePacketSending(PacketFilterManager.j ava:614) [19:57:06 WARN]: at com.comphenix.protocol.compat.netty.independent.NettyProtocolInjector.packetQueued(NettyProto colInjector.java:312) [19:57:06 WARN]: at com.comphenix.protocol.compat.netty.independent.NettyProtocolInjector.onPacketSending(NettyPr otocolInjector.java:278) [19:57:06 WARN]: at com.comphenix.protocol.compat.netty.independent.NettyChannelInjector.processSending(NettyChan nelInjector.java:417) [19:57:06 WARN]: at com.comphenix.protocol.compat.netty.independent.NettyChannelInjector.access$500(NettyChannelI njector.java:84) [19:57:06 WARN]: at com.comphenix.protocol.compat.netty.independent.NettyChannelInjector$6.handleScheduled(NettyC hannelInjector.java:383) [19:57:06 WARN]: at com.comphenix.protocol.compat.netty.independent.NettyChannelInjector$6.onMessageScheduled(Net tyChannelInjector.java:351) [19:57:06 WARN]: at com.comphenix.protocol.compat.netty.independent.NettyChannelProxy$2.schedulingRunnable(NettyC hannelProxy.java:127) [19:57:06 WARN]: at com.comphenix.protocol.compat.netty.independent.NettyEventLoopProxy.execute(NettyEventLoopPro xy.java:95) [19:57:06 WARN]: at net.minecraft.server.v1_8_R3.NetworkManager.a(NetworkManager.java:192) [19:57:06 WARN]: at net.minecraft.server.v1_8_R3.NetworkManager.handle(NetworkManager.java:141) [19:57:06 WARN]: at net.minecraft.server.v1_8_R3.PlayerConnection.sendPacket(PlayerConnection.java:910) [19:57:06 WARN]: at net.minecraft.server.v1_8_R3.EntityPlayer.openTrade(EntityPlayer.java:737) [19:57:06 WARN]: at com.nisovin.shopkeepers.compat.v1_8_R3.NMSHandler.openTradeWindow(NMSHandler.java:67) [19:57:06 WARN]: at com.nisovin.shopkeepers.compat.v1_8_R3.NMSHandler.openTradeWindow(NMSHandler.java:79) [19:57:06 WARN]: at com.nisovin.shopkeepers.ui.defaults.TradingHandler.openWindow(TradingHandler.java:54) [19:57:06 WARN]: at com.nisovin.shopkeepers.ui.UIManager.requestUI(UIManager.java:67) [19:57:06 WARN]: at com.nisovin.shopkeepers.Shopkeeper.openWindow(Shopkeeper.java:388) [19:57:06 WARN]: at com.nisovin.shopkeepers.Shopkeeper.openTradingWindow(Shopkeeper.java:412) [19:57:06 WARN]: at com.nisovin.shopkeepers.Shopkeeper.onPlayerInteraction(Shopkeeper.java:456) [19:57:06 WARN]: at com.nisovin.shopkeepers.LivingEntityShopListener.onEntityInteract(LivingEntityShopListener.ja va:53) [19:57:06 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [19:57:06 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [19:57:06 WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [19:57:06 WARN]: at java.lang.reflect.Method.invoke(Unknown Source) [19:57:06 WARN]: at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) [19:57:06 WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [19:57:06 WARN]: at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [19:57:06 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [19:57:06 WARN]: at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1318) [19:57:06 WARN]: at net.minecraft.server.v1_8_R3.PacketPlayInUseEntity.a(SourceFile:52) [19:57:06 WARN]: at net.minecraft.server.v1_8_R3.PacketPlayInUseEntity.a(SourceFile:11) [19:57:06 WARN]: at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [19:57:06 WARN]: at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [19:57:06 WARN]: at java.util.concurrent.FutureTask.run(Unknown Source) [19:57:06 WARN]: at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [19:57:06 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:771) [19:57:06 WARN]: at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [19:57:06 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:710) [19:57:06 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:613) [19:57:06 WARN]: at java.lang.Thread.run(Unknown Source)
If you can delete their effects And then a command display attribute reduction. It will be more fun
I just tried this on 1.7.10 and not working?
What version of ProtocolLib I need to us with this?
There's something wrong when I was using the 1.2.2 version. The console said a 'NoClassdefError' occured while loading this plugin. I've installed ProtocolLib 3.3.1 before, so any idea about what went wrong?
@mncat77
please update for 1.8.7 1.8R3
Why did you delete my comment? If you're not going to keep the plugin updated, i'm sure other people would like to know about alternatives.
I have tried updating this plugin, however it never seems to work despite loading correctly. An update would be greatly appreciated, either from the developer or anyone else. I'm guessing this plugin is otherwise abandoned...
Needs update.
thank you!!!!!!!
Everyone asking for an update, please read the top of the project page.
Please, update for 1.8.
Please update for 1.8 - this is a really useful plugin for my server which is based around a unique crafting system with lore based attributes. I would really appreciate it, and I'm sure a lot of other people would too :)
Update please for spigot 1.8.*
Doesn't work on latest Spigot.
This does not work well with the plugin "Shopkeepers" No matter what is inside the shop, it gives a ton of erros in console. Could this be update please so that it will work with Shopkeepers? Would be very appreciated :)
Version 1.2.4 is for CB 1.7.10 (as you can read in the file name)
Version 1.2.3 is for CB 1.7.9