flokol120 / Spigot-Item-Chest-Sorter

A Spigot/Paper minecraft plugin to sort your messy items into separate chests | 💯% written in Kotlin
GNU General Public License v3.0
5 stars 6 forks source link

[Suggestion] Configurable Chat #18

Closed ghost closed 3 years ago

ghost commented 3 years ago

Not a big deal, but flokol if you're looking to continue improving this, one idea may be to allow for a configurable chat as, at the moment, it's sometimes a bit much for users.

flokol120 commented 3 years ago

@IgnorantMountaineer what do you exactly mean by "configurable chat"? A global flag to disable chat messages?

ghost commented 3 years ago

Sure, I would say at a basic level, the first thing would be to disable or enabled "sorting messages". I.e. "You sorted X amount of items" message could be turned off.

val message = "${ChatColor.GREEN}sorted ${ChatColor.YELLOW}${amount} ${ChatColor.GREEN}${ChatColor.AQUA}${getItemName(content)} ${ChatColor.GREEN}to your chest" if(player != null) { player.sendMessage(message)

is the code block I'm referring too I believe. That's the first priority in my mind. The second thing would be to turn off warning messages, like the message when a chest is about to be full, or when it will be sorted into the air chest.

flokol120 commented 3 years ago

@IgnorantMountaineer implemented in 1.8.1 Maybe you can report back if this works as intended.

ghost commented 3 years ago

@IgnorantMountaineer implemented in 1.8.1 Maybe you can report back if this works as intended.

Sure, will check tomorrow! Thanks for the continued support on this great project.

flokol120 commented 3 years ago

closed due to inactivity