-
-
Notifications
You must be signed in to change notification settings - Fork 980
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add item group for sell sign #5321
base: 2.x
Are you sure you want to change the base?
Conversation
Fix top command not sending messages (EssentialsX#5302)
I'm not sure it is a great idea to add yet another data file for this. We already have great difficulty in maintaining the items.yml and worth.yml files, as these largely need to be manually updated. With groups, there will also be some expectation that we maintain default groups, and if we don't, I don't see this being used by very many people (as this is a more niche use case, and can be solved generally with multiple sell signs instead of one). I think a better version of this uses tags, as md mentioned in the original thread linked. That way there is some standardization as to what groups exist, and with Minecraft steadily becoming more data driven with each update, more likely than not there will be tags for most things you would want to make groups for anyways. |
Thanks for the feedback, I can't look this until Wednesday but I'll check it out |
@pop4959 |
…to Add_item_group_for_sell_sign
Would love to get some feedback from the rest of the team and community members first, but I see two options currently for this kind of feature:
Or maybe in-between, build in the defaults as vanilla tags and not maintain our own at all, but allow editing these (adding, removing, changing) via a config file. This may be most robust and prove to cause less long term headaches. |
I'd like to see
I think the plugin should generate groups file from vanilla tags (only if such file is absent), and then let the user decide what to do with it. Using vanilla tags directly is a bad idea - they do change from time to time, sometimes get removed, and so on - it would be a nightmare to update every sign on a server in such case. So if they want to sync their tags with latest MC version, they'll just delete their current groups file and let the plugin regenerate it. One more thing that I want to point out is that there was no such concept of vanilla tags up until 1.13, so ancient version users will need to create such groups all by themselves. Also, because of that, I'm pretty sure the current implementation won't work on 1.12 and lower. |
In reply to #5297
I didn't use the '+' mdcfe, I preferred to use '~' because it's more neutral
Maybe we could make a configuration of it
To be clear, this is one of my first PRs, so feel free to point out any mistakes I made.