Skip to content

Conversation

@justinmtech
Copy link
Contributor

@justinmtech justinmtech commented Jan 21, 2022

Information

This PR closes #4772

Details

Proposed feature:

Configure the max lines of lore that can be added with /itemlore add.
Adds config setting "max-item-lore" and an error message when a user tries to add a new line of lore to an item with the max.
#4772

Environments tested:

OS: Windows 10

Java version: OpenJDK 17.0.1

Demonstration:

Screenshot: https://imgur.com/a/dQ6TedQ
Plugin Download: https://www.dropbox.com/s/jpl35j9rr57bs8m/EssentialsX-2.19.3-dev%2B10-b220c22-max-lore-feature-4772.jar?dl=0

Copy link
Member

@JRoy JRoy left a comment

Choose a reason for hiding this comment

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

Few things plus please add a essentials.itemlore.bypass permission to bypass this limit

justinmtech and others added 3 commits January 22, 2022 19:02
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
@justinmtech
Copy link
Contributor Author

justinmtech commented Jan 23, 2022

Thanks! Looks good to me. I'll add the bypass shortly.

@JRoy JRoy added status: waiting on author Pull requests that require changes from the author in order to merge. type: enhancement Features and feature requests. labels Jan 28, 2022
@mdcfe
Copy link
Member

mdcfe commented Mar 19, 2022

Hey @justinmtech, any updates on these changes?

@pop4959 pop4959 added the module: main Issues or PRs for the main Essentials module label May 21, 2022
@JRoy JRoy changed the title Added max lore feature request #4772 Added option to limit amount of lore lines Aug 8, 2023
@JRoy JRoy enabled auto-merge (squash) August 8, 2023 18:46
@JRoy JRoy merged commit eb76cf0 into EssentialsX:2.x Aug 8, 2023
Starmism pushed a commit to valence-smp/Essentials that referenced this pull request Jan 8, 2025
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: main Issues or PRs for the main Essentials module status: waiting on author Pull requests that require changes from the author in order to merge. type: enhancement Features and feature requests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants