[Bug]: Lock hint message being spammed in chat
cha0spixel opened this issue · 18 comments
Version of BlockProt
blockprot-spigot-1.0.6-all
Description of the bug
Whenever you click on a door or chest, the message "You can protect your blocks by crouching and Right-clicking your chest…. Also Check out /blockprot settings to configure it to your liking.“
The message should only come once and not every time. That spams the chat quite a lot. Can you please change this?
Steps to reproduce
- Go to a door
- Right click it
- Message comes every time
66864726401__5A6A43F2-D9BD-4854-BEFD-F1345D59F561.MOV
Additional context
No response
Is this a bug in the sense that it doesnt go away, even if you go into the menu? Or is this a feature request that the message should only be sent once in general?
The bug that the message never goes away should have been fixed already in the re-release of 1.0.6 as a few people reported this on Discord already but they said the re-release fixed it. If you are experiencing that the message never goes away, could you please re-download the plugin?
@cha0spixel And it really doesn't go away if you crouch and right click a block? Does the behaviour change if its a chest or furnace? Or is this only on doors? I'm also considering making a cooldown for the message...
No it dosen‘t go away if I crouch and right click a Block. The behaviour does not change if it’s a chest or a furnace.
A cooldown would be grate. The Massage is important, but it should not Displayed every Time. Mabye you can make that cooldown configurabel in the config.yml
yes, this one is a bug in the sense that it doesn't go away even if i go into the menu. I re-downloaded the plugin but nothing changed. every time i open a door or chest i get this message. it would be nicer if this message would only come once.
I'm so confused.... The JAR from CurseForge works perfectly fine for me, no matter how I try and test it. fecc191 should have fixed this issue entirely and people on Discord have already said using the version from GH fixed their issue. I will however implement a cooldown for the message right now.
2022-03-11.14-02-16.mp4
does the message come to you when you open or close a door? I downloaded the new jar from CruserForge this morning. No matter what I do, whether I kneel or stand. The message keeps coming.
I saw that your server is configured in German... do you speak German? I also speak German. maybe then it will be easier to understand.
@cha0spixel yes, but I'd prefer sticking to English online so that other people can join in. If you have Discord you can join the Discord server whose link is in the description of the plugin or in /blockprot about.
@cha0spixel I've added a 10 second cooldown for the message. Would you mind trying it out? Thank you!
Nope, but that's a good point I forgot to add. So.... that's being added now. But first check that other JAR to make sure it works at all ;)
okay that is of course a reason to continue writing in english. I won't be home until 8 p.m. but then I will test it immediately and then get back to you immediately. is the cooldown adjustable in the config?
Excellent! the bug is fixed. The message only comes back after 10 seconds. As feature it would be super cool if you could set the time in the config. thank’s for your work! really cool plugin, and really good support from you. 💯👍
Excellent! the bug is fixed. The message only comes back after 10 seconds. As feature it would be super cool if you could set the time in the config. thank’s for your work! really cool plugin, and really good support from you. 💯👍
Great! And entering the menu makes the message go away for good now? Or is that still a unsolved bug? I already added a config option, it's just not in the build I sent earlier.
66872528716__86A4FAC9-342E-472F-B7D1-65CB090CC613.MOV
Bug is solved. No more spam after entering the menu ! :-)
@cha0spixel Friday and Saturday I can't upload to CurseForge anyway so it will have to wait 1/2 days.