jasonw4331 / MyPlot

Plot and protection plugin for PocketMine-MP
https://discord.gg/Qqcpp9Q
MIT License
101 stars 90 forks source link

BC Break: Scrap the whole plot id system #401

Closed jasonw4331 closed 3 years ago

jasonw4331 commented 3 years ago

Introduction

The id system is very broken as things stand, so this PR serves to change to a more accurate system which identifies plots by their world, X, and Z values.

Relevant issues

N/A

Changes

API changes

Plot::$id no longer exists and the id field has been removed from the class constructor.

Behavioral changes

Plot Merging is more reliable by using the coordinates directly.

Backwards compatibility

Tables are automatically upgraded without dropping legacy tables for reversion support. Plot::$id no longer exists and the id field has been removed from the class constructor.

Follow-up

Legacy SQL tables will be fully dropped in a future update.

supercrafter333 commented 3 years ago

Please fix the bugs that are still open.