IntellectualSites / PlotSquared

PlotSquared - Reinventing the plotworld
GNU General Public License v3.0
547 stars 749 forks source link

Flag blocked-cmds will not work #4379

Open Leahcimkrob opened 7 months ago

Leahcimkrob commented 7 months ago

Server Implementation

Paper

Server Version

1.20.4

Describe the bug

Unfortunately it is no longer possible to block commands. I tried it with sethome, fly and teleport, or tp. Fly and Teleport on a different plot like the one on the screen. Players can still carry out the command on the plot

To Reproduce

  1. go to your plot
  2. set the flag /p flag set blocked-cmds fly or /p flag set blocked-cmds sethome
  3. When a player enters the plot, they can still type /sethome or /fly and the command will be executed as normal.-

Expected behaviour

A player cannot execute the blocked command on the plot.

Screenshots / Videos

image

Error log (if applicable)

No error

Plot Debugpaste

https://athion.net/ISPaster/paste/view/0e6b836815c946c593577e907dece7f2

PlotSquared Version

Plotsquared 7.3.6 Premium

Checklist

Anything else?

No response

NotMyFault commented 7 months ago

Screenshot 2024-03-30 at 10 35 33

I'm unable to replicate the issue based on the information provided.

Leahcimkrob commented 7 months ago

what more information do you need?

NotMyFault commented 7 months ago

what more information do you need?

A minimum viable concept I can replicate. Yours is not replicable, as seen above in my screenshot.

Leahcimkrob commented 7 months ago

We user this plugins un an other server with same issue:

[16:09:35 INFO]: PM | Plugins (33): [16:09:35 INFO]: - antiRedstoneClock 1.5.0 [16:09:35 INFO]: - AntiSmithingCopy 1.0 [16:09:35 INFO]: - BigDoors Alpha 0.1.8.49 (b1159) [16:09:35 INFO]: - Builders-Utilities 2.1.1-80 [16:09:35 INFO]: - ChestCommands 4.0.5 [16:09:35 INFO]: - Citizens 2.0.33-SNAPSHOT (build 3372) [16:09:35 INFO]: - CMI 9.7.0.2 [16:09:35 INFO]: - CMILib 1.4.6.1 [16:09:35 INFO]: - Elevator 1.1 [16:09:35 INFO]: - EthriaCore 1.0-SNAPSHOT [16:09:35 INFO]: - EthriaNav-Spigot 1.0 [16:09:35 INFO]: - FastAsyncWorldEdit 2.9.2-SNAPSHOT-706;b60a0c5 [16:09:35 INFO]: - gProtector 2.4 [16:09:35 INFO]: - GSit 1.8.0 [16:09:35 INFO]: - HeadDatabase 4.19.3 [16:09:35 INFO]: - HuskHomes 4.6.1 [16:09:35 INFO]: - ImageMaps 1.0.10 [16:09:35 INFO]: - LuckPerms 5.4.113 [16:09:35 INFO]: - Multiverse-Core 4.3.1-b861 [16:09:35 INFO]: - NoteBlockAPI 1.6.1-SNAPSHOT [16:09:35 INFO]: - PlaceholderAPI 2.11.5 [16:09:35 INFO]: - PlotBorders 1.6 [16:09:35 INFO]: - PlotSquared 7.3.6-Premium [16:09:35 INFO]: - PluginManager 2.8.1 [16:09:35 INFO]: - ProtocolLib 5.2.0-SNAPSHOT-679 [16:09:35 INFO]: - RedisChat 4.4.5 [16:09:35 INFO]: - spark 1.10.34 [16:09:35 INFO]: - TAB-Bridge 5.0.3 [16:09:35 INFO]: - Vault 1.7.3-CMI [16:09:35 INFO]: - ViaBackwards 4.9.3-SNAPSHOT [16:09:35 INFO]: - ViaVersion 4.9.4-SNAPSHOT [16:09:35 INFO]: - VoidGen 2.2.1 [16:09:35 INFO]: - WorldGuard 7.0.9-SNAPSHOT+2241-c0cbe27

I have now teleported a player onto the plot so that no errors occur. As you can see, the command fly is blocked and yet I can enter /fly as a normal player without rights. Log: https://mclo.gs/UN0bOTI

I can also send you a complete log. The attempt was now with a Bedrock account, but it is also the same with a Java account.

Leahcimkrob commented 7 months ago

Ah, we have now found the difference between you and me. If I put a space and a name after the /sethome, e.g.: /sethome myplot then the home can be created, only /sethome is blocked.

AshleyFOXXX commented 1 week ago

same issue here. I added blocked commands but the commands are still working. it just gives them a message "Hey, you can't use that command here" but they actually can despite of being blocked