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

[REQUEST] #54

Closed delimedia closed 10 months ago

delimedia commented 10 months ago

Would it be possible to add more Sender chests to the existing network? I have tried to create two sender-chests but I get the message that there is no receiver-chest in the second chest.

Or am I making a mistake?

flokol120 commented 10 months ago

If I understand you correctly, you want multiple senders to send items to the same array of receivers, right?

delimedia commented 10 months ago

Wow that was fast ^^ But yes that's exactly what I mean.

flokol120 commented 10 months ago

Implementing this is very hard as per definition, only one sender is associated with an array of receivers. However, there are two ways to circumvent this restriction:

  1. Add a new sender and manually add all desired receivers (only viable for a few receivers)
  2. Set sendFromHopperOrSender to true within the config.yml. This way, you can define a new sender, which has only one receiver: Your other sender chest. The initial sender will forward any items passed onto it by other senders. Keep in mind, that this setting should only be activated on private servers, as it is possible to create loops of senders/receivers, which will crash the server!

This issue is a duplicate of #12. (Though, I admit I did not line out any solutions for the issue)

You are welcome to reopen the issue, if my solutions do not fit your use case.

delimedia commented 10 months ago

Thank you very much for this quick help. I will try it out. Thanks a lot