IntellectualSites / IntellectualSites/PlotSquared

Create permission to bypass redstone restrictions

Open
#2,967 2 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

PlotSquared Feature Suggestion:

Today, if the option "redstone.disable-offline" is set to true in settings.yml, no one can activate redstone in these plots if players are offline, even OP.
I'd like OP (or players with a permission) to be able to activate redstone even if the player is not online.

How should it be implemented?

A permission to bypass this restriction would be great.

Additional context

Checklist:

  • I made sure there are no duplicates of my suggestion (Use search)
  • I made sure my suggestion does not exist yet (Check the wiki)
  • I made sure my suggestion is useful for the majority of PlotSquared users

Quite hard to tell if this would be useful for the majority but i think that this feature make you save some time because you don't have to trust you to the plot and then activate the redstone

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 locating the handling for the settings.yml option "redstone.disable-offline" and the code that decides whether redstone may activate when players are offline. Trace any existing permission or operator checks. Done means a documented permission or equivalent bypass allows authorized users to activate redstone under this restriction, while the existing behavior remains unchanged for others.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.