EssentialsX

EssentialsX

2M Downloads

[Feature Request] Detailed permissions for signs and /sell.

ToonTown0909 opened this issue ยท 2 comments

commented

Hello! I'd like to request more details permissions for /sell command. Currently, the available permissions are essentials.sell, essentials.sell.bulk, and essentials.sell.hand. I propose the following:

essentials.sell.<item id/name>
essentials.sell.*
essentials.sell.bulk.<item id/name>
essentials.sell.bulk.*
essentials.sell.hand.<item id/name>
essentials.sell.hand.*

Additionally, I propose:
essentials.signs.use.sell.<item id/name>
essentials.signs.use.buy.<item id/name>
essentials.signs.use.free.<item id/name>
essentials.signs.use.enchant.enchantment id.max level
essentials.signs.spawnmob.mob name.amount

What prompted this suggestion is that on my server, I have a shop with basic items available at spawn. What I wanted to do is make /sell available for only those items that I allow, via the proposed permissions.

Thank you,
~toontown0909

EDIT: I apologize for the lack of formatting in those last two suggested permissions, for some reason the text disappears when I include the formatting.

commented

This should probably be configurable in case people want to keep the existing behaviour, but I'm fully in support of this if someone's willing to implement it in a PR.

commented

Was going through some of my old stuff and found this. Am wondering if this is still being considered for implementation?