IntellectualSites / IntellectualSites/PlotSquared
Creative in Survival World Glitch
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.21.11
Describe the bug
The bug allows for anyone to gain creative OUTSIDE the plot world, using the gamemode flag
To Reproduce
- Have a server with multiple worlds (Survival, Creative)
- Have the spawn be in the Survival world
- Make a plot in the creative world, with gamemode flag set to creative
- Suicide inside that plot (you must NOT be op due to the bypass)
- Upon respawning do NOT move at all
- Do any kind of teleport (eg. /spawn or /tpa)
- Upon teleport, player will be set to creative mode
Expected behaviour
The player should remain in survival
Screenshots / Videos
https://streamable.com/e3z5jd?src=player-page-share
Error log (if applicable)
No response
Plot Debugpaste
https://athion.net/ISPaster/paste/view/2c689eb7b70f45fc922fa8446e001ada
PlotSquared Version
7.5.11
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
No source file or test is named in the report. Reproduce the Survival/Creative multi-world sequence, then trace gamemode-flag handling through respawn and the reported /spawn or /tpa teleport entry points. Done means a non-operator remains in survival after teleporting from the described respawn state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100