Skip to content

Proper Inventory Sync System #277

Description

@MSKatKing

Is your feature request related to a problem?

As of PR #272 the server just trusts the client for all survival inventory actions. This is not ideal, and I think the problems are pretty clear.

Describe the solution / feature you'd like.

We need to verify that the client's requests are valid before reflecting them server-side, and if they aren't then resync the client's inventory with the server's.

Alternatives you've considered.

N/A

Additional Context

The actions that the client can send to the server can be found with the packet documentation at the Minecraft wiki

I have confimed that...

  • ... such a feature does not exist already.
  • ... I ticked all the boxes without reading them
  • ... such a feature request has not been submitted already.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions