Skip to content

Add SelectJobPlaceholder, job prefix and suffix#11

Closed
gaboss44 wants to merge 2 commits intoUniverseStudiosMC:clean-mainfrom
gaboss44:select-job-placeholder
Closed

Add SelectJobPlaceholder, job prefix and suffix#11
gaboss44 wants to merge 2 commits intoUniverseStudiosMC:clean-mainfrom
gaboss44:select-job-placeholder

Conversation

@gaboss44
Copy link

@gaboss44 gaboss44 commented Dec 20, 2025

  • add a new placeholder that selects a job value from a player job list which can be sorted, filtered, and selected by position
  • add job prefix and suffix, for practicality (to separate colors, maybe job symbols, etc)

Description

This introduces a new select-style placeholder that allows retrieving a specific job-related value from a player’s job list.
The placeholder supports filtering, multi-criteria sorting, and position-based selection, making it suitable for dynamic displays such as scoreboards, GUIs, and chat formats.

Also, job prefix and suffix values are exposed for convenience, for better formatting (e.g. colors, symbols, or separators).

The implementation does not modify existing placeholders.

Type of Change

  • Bug fix
  • New feature
  • Enhancement/Improvement
  • Documentation
  • Refactoring
  • Other (describe below)

Related Issues

This PR is not related to any known bug or issue

Checklist

  • My code follows the project's coding style
  • I have tested my changes locally
  • I have updated the documentation if needed
  • My changes don't break existing functionality

Testing

I compiled the code using 'mvn package' and tried it locally (MC Paper version 1.21.10-117-ver/1.21.10@df4b668). The selector placeholder works as intended after testing its syntax. No errors show up in console when the placeholder is used, regardless of whether it finds a value.

Screenshots (if applicable)

There are no GUI changes in this PR

- add a new placeholder that selects a job value from a player job list which can be sorted, filtered, and selected by position
- add job prefix and suffix, for practicality (to separate colors, maybe job symbols, etc)
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👋 Hello @gaboss44, thank you for your first pull request!

We appreciate your contribution to UniverseJobs. A maintainer will review your changes soon.

Please make sure:

  • Your code follows the project's coding style
  • You've tested your changes
  • The build passes (mvn clean package)

Thanks for helping improve the plugin! 🚀

@sonarqubecloud
Copy link

@github-actions
Copy link

👋 This pull request has been automatically marked as stale because it has not had any activity in the last 30 days.

It will be closed in 7 days if no further activity occurs.

If you're still working on this:

  • Push new commits or comment to keep it active
  • Let us know if you need help or feedback

@github-actions github-actions bot added the stale No recent activity label Jan 20, 2026
@github-actions
Copy link

🔒 This pull request has been automatically closed due to inactivity.

Feel free to reopen it if you'd like to continue working on it.

@github-actions github-actions bot closed this Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale No recent activity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant