IntellectualSites / IntellectualSites/PlotSquared
Flag blocked-cmds will not work
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 653
- Forks
- 975
- Avg merge
- 2m
- Merged PRs (30d)
- 6
Description
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
- go to your plot
- set the flag /p flag set blocked-cmds fly or /p flag set blocked-cmds sethome
- 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
Error log (if applicable)
No error
Plot Debugpaste
https://athion.net/ISPaster/paste/view/0e6b836815c946c593577e907dece7f2
PlotSquared Version
Plotsquared 7.3.6 Premium
Checklist
- I have included a Plot debugpaste.
- I am using the newest build from https://www.spigotmc.org/resources/77506/ and the issue still persists.
Anything else?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the blocked-cmds flag on a Paper 1.20.4 server using /p flag set blocked-cmds fly and /p flag set blocked-cmds sethome, then inspect the command-blocking entry point for plot command handling. Done means players inside the plot cannot execute the configured commands while other commands continue to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100