Auction Converter

Here you can view details on how to create a converter auction addon using the Expansions API.

In Player Auctions you can create a auction converter addon that will essentially convert an auction from one plugin to another.

Registering

You can go here to learn on how to register an expansion.

Examples

Here is an example of an auction converter addon class, this will let you be able to convert an auction from one plugin to another.

import com.olziedev.playerauctions.api.expansion.AConverter;

public class ExampleConverter extends AConverter {

    @Override
    public boolean isEnabled() {
        return true;
    }

    @Override
    public String getName() {
        return "Example Expansion";
    }

    @Override
    public void onLoad() {

    }
}

Right now there isn't any methods to actually convert an auction, but there will be in the future hopefully.

You will just have to grab the auction from the old plugin and then create a new auction in Player Auctions.

Last updated