IntellectualSites / IntellectualSites/PlotSquared

Plot guests can affect minecart movements

Open
#3,552 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement
Dominant language
Java
Stars
653
Forks
975
Avg merge
2m
Merged PRs (30d)
6

Description

Server Implementation

Paper

Server Version

1.18.2

Describe the bug

The title says it all really. Players who are not added to a plot can push minecarts, and also stand in front of moving ones to stop them/change their direction.

To Reproduce
  1. Set up a plot with a minecart on rails
  2. Have a guest attempt to move the minecart, and they should succeed
  3. If the minecart is already moving (i.e. on powered rails), the guest will also be able to stand in front of it and cause it to stop/change direction
Expected behaviour

The plot protection should disallow players from being able to move minecarts, so they should just pass through them.

Screenshots / Videos

No response

Error log (if applicable)

No response

Plot Debugpaste

https://athion.net/ISPaster/paste/view/8a625a8ce7c84448a0fc777d9111c0a7

PlotSquared Version

6.6.1-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 issue on Paper 1.18.2 with PlotSquared 6.6.1, following the listed minecart and guest steps. Trace the plot-protection handling for minecart movement and verify that unadded guests can no longer push, stop, or redirect minecarts.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.