Sueta

AttributeHider

6.1.1

Simple plugin to hide item attributes and other item info! (1.8-1.21.3)

·Plugin
  1. 6.1.1latestFixed updater, future proof fixOct 24, 2024
    The updater wasn't really broken, but the Spigot cache for version takes a while to update so the plugin would show theres a new update even when you have the latest version for a little while because I was just comparing the versions outright and ignoring being a higher version. TL;DR the version checker will always be accurate now someone reported a bug with HMCCosmetics, and after looking into it it turns out Paper doesn't support hiding item attributes with item flags when the item only has the default item attributes. i don't really feel like applying a bandaid fix just to solve this (giving each item its default modifiers if it doesn't have any modifiers already just to hide them..), so Paper is not supported. however, i did come across an issue i could fix with hmccosmetics (and any other plugin who does something similar to them) and added the fix. let me know if anything breaks as a result of this change (it would involve equipment if so).
    135 downloads
  2. 6.1.0Modernized the plugin, changed config.ymlOct 22, 2024
    I've updated the plugin to be more future-proof. It was reported the plugin didn't work for 1.21 but I could never confirm. I changed how the config.yml works to where any future additions to Spigot regarding the ItemFlag and Material enums will be handled without issue. With that being said: I heavily modified the config.yml. You should take your current one (assuming you have any changes) and move it somewhere else and let the plugin generate the new one, then follow the instructions in the header of the new config.yml file to add your previous configurations. I shouldn't ever need to change the config.yml again in the future, even to support new features pertaining to the scope of this plugin. I did very basic testing (put an item into my inventory and checked a Blacksmith Villager inventory) and the plugin worked on every version. If a bug is found, please post in it in the Discussion tab and I will fix it. Additionally, it should be noted that with the first experimental 1.21.2 release (which came out literally as I was updating the plugin for 1.21.1 lol), something changed with the Creative inventory and the plugin no longer automatically modifies items placed into your own inventory from the Creative menu. However, when you open up any other menu in the game or swap out of Creative mode or do literally anything else with the item, the item will be modified as intended. I do not intend to fix this as chances are it's probably not fixable and I doubt anyone cares that this problem exists as it shouldn't negatively impact anything feature-wise. Requires at least Java 8. This will be the last functional version to require Java 8 (unless there is a bug with the current version). After this version, I will be doing what ProtocolLib is doing and moving up to 11 or 17 or whatever it was. However, this plugin works with all Java versions (up to 23 which is the latest at the time of writing). As such, Minecraft 1.8.0 will be dropped in the next version as well (1.8.8 will remain). Requires ProtocolLib of at least version 4.6.0, but preferably the highest version your server can use. However, ProtocolLib dropped support for Minecraft 1.8.0 sometime after 4.6.0, so if you're on a 1.8.0 server, just use 4.6.0 (or go higher and see which ones still support 1.8.0). Version 1.8.8 and later can use the latest ProtocolLib version (5.3.0 at the time of writing) without issue. I did not test 1.8.3 or whatever the middle version is, so I don't know if it's the same as 1.8.0 or 1.8.8.
    23 downloads
  3. 6.0.3oopsMar 8, 2022
    sorry for the back to back update. realized i could make things much more efficient and forgot to update legacy villager trading to the new cloning thing (just had half a pizza, am sleepy). fixed both things, should be good now
    953 downloads
  4. 6.0.2shopkeepers fixMar 8, 2022
    fixed shopkeepers at the suggestion of @blablubbabc by ensuring only the client sees the nbt change, where the server will not see any change, by cloning all items before modification on outgoing packets. previously, on some occasions the item would still be modified serverside. this would create different nbt data on items in some cases but not others, creating inconsistencies and making items not actually equal, such as the case for advanced villagers (shopkeeprs plugin) buying weapons (the items are identical but one has hideflags tag and the other doesnt because of my plugin, preventing the trade). my plugin design already had cloning support, just wasn't using it until now. should fix the shopkeepers bug, but i didnt test it myself. if a shopkeepers user runs into more issues, just post in the discussions or on the github
    27 downloads
  5. 6.0.1bug fix + protocollib updateFeb 25, 2022
    fixed the bug where exceptions spammed console when interacting with villager, only happened in 1.17+. this version requires protocollib 4.6.0. youll probably get an exception if you use 4.5.0
    54 downloads
  6. 6.0.0Major refactor and 1.16 support.Jul 4, 2020
    In the previous update, I implemented a "workaround" fix for not being able to trade items that this plugin modified with villagers because the plugin was designed half packet-based, half actually-modifying-the-item-based, leaving inconsistencies. The workaround was to just blindly actually modify items only before I knew they would be traded with a villager. Overall it did not feel very clean. As a result, I refactored the plugin extremely to be packet-based entirely. This means that I do not directly modify any item, I just make the item appear to be modified to the client. This plugin supports every version from 1.8 to 1.16. I tested every final major version and saw features worked just fine. This plugin should also ideally work perfectly fine for future updates (although items of those versions may not have their attributes automatically removed). I overhauled the config.yml as well, so you should delete it and generate a new one. The header of the config.yml has an indepth explanation of the values you can associate with various settings. The plugin is also significantly smaller in size (25kb instead of 250kbish). I am only using ProtocolLib functions now, so as long as you have ProtocolLib you will be fine. The plugin is significantly easier to contribute to now as a result, as ProtocolLib is the only dependency besides the Spigot-API. I think as long as your ProtocolLib is reasonably up to date for 1.15 or 1.16, it should work fine. I recommend a ProtocolLib version of at least 4.5.0, but you may be able to get away with less. Obviously, you should use 4.6.0 dev build if you are running 1.16. It is still possible for some bugs to exist. Post in the Discussion thread here or on the Github issues of anything I may have overlooked. I am pretty confident with all I tested though.
    1269 downloads
  7. 5.6.1Attempted a fix for a possible bug with villagersApr 30, 2020
    it was brought to my attention that sometimes you couldnt trade with villagers. i didnt confirm this bug but i implemented a likely fix anyway. also removed shopkeeper interaction since im pretty sure this plugin modifiers shopkeeper items already anyway. to clarify, this plugin still works with shopkeepers.
    408 downloads
  8. 5.6.01.15 updateDec 15, 2019
    hi, nothing new. did basic testing. did not test villagers. everything should work fine as normal tho
    1011 downloads
  9. 5.5.0hide unbreakable tagOct 5, 2019
    can now hide the unbreakable tag also added a global option for enchants. set enchants to true will hide all of them no matter what. i didnt test anything cuz im lazy so hopefully i didnt make a typo, but small change so there shouldnt be any issues
    479 downloads
  10. 5.4.0update to 1.14Jul 24, 2019
    tested most things, seems to work correctly. didnt full test villagers cuz theyre new and idk how they work xd (i got as far as giving them professions but guess theyre out of stock?, whatever everything else works)
    185 downloads
  11. 5.3.0Potion Effects hidingApr 23, 2019
    Added the ability to hide all potion effects. This includes drinkable, throwable, and lingering potions (including mundane potions ect "No Effect") Fixed a minor bug regarding adding new values to an older config.yml that nobody seems to have had until now besides me :shrug:
    248 downloads
  12. 5.2.1lelMar 5, 2019
    so in the most recent minor change i forgot to change the plugin version to match the one here on the site so the updater will always show a new update. this corrects that. this can be remediated manually by opening the plugin jar with an archiver or something and fixing the version in the plugin.yml. this didnt change anything but that, so not necessary in updating unless the constant "new update" annoys u
    148 downloads
  13. 5.2.0Update to 1.13Dec 25, 2018
    Added support for 1.13.2. No support for the earliest (1.13.0?) 1.13 versions. Also updated to latest Shopkeepers API, requires Shopkeepers 2.2.2 if you're <= 1.12.2, 2.4.1 if 1.13.2 IF you use Shopkeepers. Shopkeepers is not required. Tested on 1.8.8 and 1.13.2 out of box with no bugs.
    250 downloads
  14. 5.1.1Small bug fixNov 29, 2017
    A slight typo in my Version API caused 1.12 servers to try to load 1.10 versioned classes. Creds to @madtomic
    835 downloads

Similar projects

Plugin →