LewMC / Essence

A lightweight and customisable Essentials alternative.
https://lewmc.net/plugin/essence/
Apache License 2.0
5 stars 1 forks source link

The command should not be displayed and completed without authorization and time limit #96

Closed x1aoren closed 2 weeks ago

x1aoren commented 3 weeks ago

What feature would you like to request?

The command should not be displayed and completed without authorization and time limit

Are you able to help implement the feature?

unable

Is your feature request related to an existing bug or issue?

It seems that there is no

Please enter any additional comments below.

37a3010457482bded2d6b1319c855fee I don't want TPA functionality. Confirm that permissions have been disabled in Luckperms, but they will still be displayed here and support completion

lewmilburn commented 3 weeks ago

Hi @x1aoren, just to confirm are users able to enter the command and have it run without permissions? Thank you.

As a temporary workaround, you can disable the command in config.yml [wiki] I've provided an example below. This will prevent the command from being processed but it will still display as being available. I'll get the bug fixed ASAP.

Displaying of commands in the autocomplete list as you've shown in the screenshot is a more difficult one, as that's a server software thing. I'll see if I can sort that out too though!

disabled-commands:
  - tpa
  - tpahere
  - tpaccept
  - tpdeny
  - tpcancel
lewmilburn commented 3 weeks ago

Do you users have the essence.teleport.* permission? That will enable the request commands as well.

x1aoren commented 3 weeks ago

I understand now, looking forward to updates

lewmilburn commented 3 weeks ago

Glad to hear it! Did this fix your issue?

x1aoren commented 3 weeks ago

This doesn't seem to be very useful.

lewmilburn commented 3 weeks ago

Okay, I'll investigate further. Can you send me a list of all the permissions the players have? Thanks

x1aoren commented 3 weeks ago

fd28d48b12f5c62fe67b57fc7dac2bf9

lewmilburn commented 3 weeks ago

Thanks!

lewmilburn commented 3 weeks ago

Hi, I'm unable to recreate the issue on 1.6.0 on my end, please check the following:

  1. User is not "op", this will allow them to run the command as "op" players can run everything.
  2. Please send a list of plugins or datapacks you're running.
  3. Please send your Essence versions
  4. Please send your Minecraft server software and version (for example Spigot 1.20.6).
  5. Are you using /reload or a plugin manager that reloads plugins? This may cause the problem.
x1aoren commented 3 weeks ago
  1. Confirm that the user is not an "OP"
  2. 36c9d7da-5475-40dc-8819-5313937f3c6f

    "[S][禁用不安全服务器]AntiPopup-8.1": https://modrinth.com/plugin/antipopup 3.The version is 1.6.0 4.Luminol 1.20.6. Official website: https://luminolmc.com/downloads/luminol Download address: https://github.com/LuminolMC . Luminol is a branch of Folia, which fixed the damage of paper to the original features of MC. But currently 1.20.6 is a beta version, I don't know if this is the reason 5.If you want to reload all the configurations on the server, using/reload on this server will result in an error. So I usually use PlugmanX to hot load or uninstall plugins, or simply restart the server. At present, I have used all the above solutions and have not used them.

lewmilburn commented 3 weeks ago

Thanks! I won't have time to look at this fully and get back to you today, but I'll start looking now and get back to you tomorrow. Thanks!

lewmilburn commented 2 weeks ago

So sorry for the delay, having a look now!

lewmilburn commented 2 weeks ago

Hi @x1aoren, I've not been able to reproduce the issue on my end, but I've also been unable to get LuckPerms to load as my Luminol is telling me it doesn't support Folia, are you using a fork of LuckPerms that enables folia support?

x1aoren commented 2 weeks ago

I downloaded it from a certain link here. The version is a bit old, but it can be used.https://github.com/LuckPerms/LuckPerms/pull/3615

x1aoren commented 2 weeks ago

[L][权限组]LuckPerms-Bukkit-5.4.117.zip

lewmilburn commented 2 weeks ago

Thanks for that, I'm still unable to reproduce the bug on my end, so I'm not entirely sure what is going on with it. Are you still being affected by the issue?

lewmilburn commented 2 weeks ago

Does the issue produce anything in the logs that may be useful? Thank you :)

x1aoren commented 2 weeks ago

Yes, this problem still exists. No logs

lewmilburn commented 2 weeks ago

Please can you try this snapshot version https://github.com/LewMC/Essence/actions/runs/9852301534 and let me know if the issue is still there. A very small number of commands will still have the problem as I'm still working on the update.

x1aoren commented 2 weeks ago

I'm glad it's resolved!

lewmilburn commented 2 weeks ago

Glad that's sorted it! Upcoming snapshot builds should fix the problem further, and the next update will fully resolve the problem.

lewmilburn commented 2 weeks ago

Marking as resolved in 46de4ab