BlockProt

BlockProt

17.2k Downloads

[Feature]: disable lock_hint all together

captmayday opened this issue · 12 comments

commented

Feature description

So I run a paper server with geyser so all my friends can play together. The problem is I only want certain ppl to have the block prot permission, but everyone is seeing the lock hint. I would love a way to disable that hint all together. main issue is bedrock players cant click on the CLICK HERE prompt to get it to go away. Seems like there is an issue right now with 1.19.4 and the secure messages. but anyways anyway i could get a disable feature for the lock hint notifications? i love the plugin but right now that's keeping me from using it

commented

You have two options:

  • (1) /blockprot disablehints (for each player individually)
  • (2) In the translations file change the lock_hint string to an empty string (disabled globally)
commented

You have two options:

  • (1) /blockprot disablehints (for each player individually)
  • (2) In the translations file change the lock_hint string to an empty string (disabled globally)

Ok I’ll try that when I’m off work, but other issue I have now is after installing plug-in back in everyone can use the plug-in. I use luck perms and no one has the blockprot.lock permission. I must be missing something? Also the people that still can use plug-in don’t have admin rights. Any input?

commented

If I remember correctly, when a new player joins the server and the plugin is loaded they should automatically get the permission. However, if the plugin is installed after a player has joined you need to manually add the permissions.

commented

Oh, I misunderstood you in your last message. Is every player able to use all the menus? Are blocks always automatically locked when placed by a player without the permission?

commented

If I remember correctly, when a new player joins the server and the plugin is loaded they should automatically get the permission. However, if the plugin is installed after a player has joined you need to manually add the permissions.

so i readded the plugin after the player has jkoined and teh player still can use block prot without the permission and i have lock_on_place_by_default: false i only want certain members to be able to lock doors and chests

commented

Oh, I misunderstood you in your last message. Is every player able to use all the menus? Are blocks always automatically locked when placed by a player without the permission?

so when i readd the plugin and change lock_on_place_by_default: false and restart server all players can still crouch and click to get the lock menu and lock things. i want a group to only have the perms to lock which i know how to add that to luck perms and give those. but with no permissions even given everyone can use the locks. if that makes sense

commented

Oh also using worldguard if that makes a difference

commented

I think you're misunderstanding what lock_on_place_by_default does. It sets the default for each player wether chests which are placed are locked automatically. This has no effect on permissions.

blockprot.lock is automatically given to every player on the server, and this behaviour cannot be changed (due to how Spigot permissions are made I really don't have another choice). You'll probably need to change this through LuckPerms, or manually disable the permission for every player you don't want.

commented

Ok that makes sense but blockprot.lock isn’t showing up in luckperms on those players. I tried adding and removing it and they still can. I must be missing something

commented

would be easy if i could just use a command to deny them lol, but i must just be missing something simple

commented

Though this is definitely an issue with permissions. You should probably ask the LuckPerms people how to override a permission, as I am not too skilled in that field either and especially not with using that plugin.

I think from my side this issue is done. Thank you.

commented

figured it out :) I had to change apply-bukkit-default-permissions: true to false in luckperms permission!!! also love the plugin!!