Advanced region market Api

Discussion in 'Plugin Requests' started by alex778c, Dec 10, 2019.

Thread Status:
Not open for further replies.
  1. Offline

    alex778c

    I am looking for a plugin that can unsell a players region by its name.
    Example i have a prison server and people rank up on a sign in spawn. I want a command that i can write on the sign and then the command sell all the regions by the players name.
    I talked with owner of the plugin and he said that it would be simple to make it. He also send me this he thought i should put in here
    Features
    A permission

    List<Region> regions = AdvancedRegionMarket.getInstance().getRegionManager().getRegionsByOwner(PLAYER UUID HERE);

    for(Region region : regions) {
    region.unsell(ActionReason.NONE, false);
    }
     
Thread Status:
Not open for further replies.

Share This Page