Skip to content
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

Inventory from server #45

Open
satoshinm opened this issue Apr 26, 2017 · 1 comment
Open

Inventory from server #45

satoshinm opened this issue Apr 26, 2017 · 1 comment

Comments

@satoshinm
Copy link
Owner

Depends on satoshinm/NetCraft#18

@satoshinm
Copy link
Owner Author

satoshinm commented Jun 4, 2017

Got a client-side inventory working in the web client satoshinm/NetCraft#178, to make it server-side all the truth should come from the server:

  • Send initial items to web client on load and add to hotbar (new command)
  • Web client entity picks up items and updates web client
  • Blocks mined break naturally and drop items which the client picks up on the server (not adding client-side)
  • Server-side enforcement of block mining time
  • Blocks placed take and subtract from server inventory, server-side enforcement
  • Game mode selection/prevention from server side (new command -- m,)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant