IntellectualSites / IntellectualSites/PlotSquared

Flag blocked-cmds will not work

Open
#4,379 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Approved
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
  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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.