Do Not Litter
This mod operates on the server side and prevents players from discarding items in survival mode.
Notably, it can also be used in single-player games by installing it on the client.
The mod will be particularly useful for server owners and map creators. Its operating principle is extremely simple: when a player attempts to discard any item in survival mode, it automatically returns to their inventory.