IntellectualSites / IntellectualSites/PlotSquared

Hide certain flags in plot info

Open
#3,578 1 comment 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

What feature do you want to see added?

There should be a way to hide certain plot flags from displaying in /plot info. I'm in a situation where I want to give players the ability to pvp on plots however players are not able to throw potions or use a bow when aiming at a block or on the ground because PlotSquared complains about the user not having the admin.interact.other permission. If I give players the admin.interact.other permission it will allow players to open chests on plots that they are not added to but I don't want that. I've had to adjust the use: flags to include every block in minecraft while excluding blocks that players should not be able to use (chests and signs for example). The problem with this is that when you use /plot info it will display every block I specified which cuts off important information about the plot, even if I scroll there is not enough space in chat to display information about the plot owner or trusted players:
2022-04-19_12 05 05
2022-04-19_12 08 04

Are there any alternatives?

A temporary solution at the moment is to break the in messages_en from displaying in /plot info but that will cause all flags to be hidden from /plot info which is not what I want. In my scenario, I need a way to hide the use flag from displaying in /plot info

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 with the /plot info command and the messages_en entries controlling its displayed flags. Determine how the use flag can be excluded without hiding other flags, then verify that plot owner and trusted-player information remains visible while other configured flags still display.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.