IntellectualSites / IntellectualSites/PlotSquared

Placeholder

Open
#4,292 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?

I could add a placeholder to see the internal id of plotsquared (x;y) provided the player's plot id, for example plot 1, I would be able to see the id of plot 1 of that player. It would be useful for making commands outside the terrain.

%plotsquared_x_1% - returns the plotsquared X id of player's plot 1
%plotsquared_y_1% - returns the plotsquared Y id of player's plot 1
%plotsquared_xy_1% - returns the plotsquared XY id of player's plot 1

Are there any alternatives?

A friend of mine had made a custom placeholder but it was left at 1.8 in v3 of plotsquared

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 locating the existing PlotSquared placeholder handling and the code that resolves a player's plot by its number. Use the requested placeholders %plotsquared_x_1%, %plotsquared_y_1%, and %plotsquared_xy_1% as the expected forms, and consider the work done when they return the corresponding plot coordinates or combined id.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.