jasonw4331 / MyPlot

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

Add Plot sell- and buying #342

Closed DerDevHD closed 4 years ago

DerDevHD commented 4 years ago

Introduction

Hi. Y'all waited for Plot selling and buying. And now its here!

Relevant issues

/

Changes

API changes

There are added 2 new Methods for the MyPlot class:

MyPlot::sellPlot(Plot $plot, float $price)
MyPlot::buyPlot(Plot $plot, Player $player)

Behavioural changes

/

Backwards compatibility

It's 100% backwards compatible

Follow-up

Improve the phpdoc plz Improve the english translations plz Maybe test the MySQL provider

Tests