konstructs / server

A voxel based game server.
http://www.konstructs.org
MIT License
49 stars 12 forks source link

Move filters to API and use them instead #132

Closed petterarvidsson closed 8 years ago

petterarvidsson commented 8 years ago

This is dependent on https://github.com/konstructs/server-api/pull/11 being merged and released.

petterarvidsson commented 8 years ago

@nsg This updates the server to behave according to the API published in https://github.com/konstructs/server-api/pull/11

petterarvidsson commented 8 years ago

@nsg this seems to work properly now. It also handles all cases of a plugin updating a block in the filter (either to be returned to the user or to be updated in the world). Very powerful stuff can be done with the tertiary filter now. Implementation wise a bit complicated, but at least it is now "hidden" behind the nice API.

nsg commented 8 years ago

@petterarvidsson yes, it looks good