AutoSell icon

AutoSell 2.0.4

Re-implementation of clip's AutoSell plugin.

NOTE:

This is a re-implementaiton of clip's widely used plugin AutoSell.  Since I did not have an access to the original source, this is a re-implementation and some behavior might differ (please let me know if the different behavior was implemented in this plugin).

I'm releasing this re-implementation because clip stop updating his AutoSell and it has been removed from spigotmc.org.

If you have been using clip's AutoSell, your configuration should still work with this version.

Description

AutoSell provides a convenient function for all prison servers.  It allows server owners to build permission-based shops where players can sell their items.

Features

AutoSellAPI

This AutoSell plugin has its own API, which can be used by other developers to include their support for AutoSell.  The API jar and javadoc can be obtained from GitHub.

Area Hook

The plugin comes with MineResetLite support.  However, this version of AutoSell has a mechanism to allow other Prison plugin developers to register their own Mine management hook. 

To register your AreaHook, you need to implement IAreaHook interface and register it in the onEnable()
method of your plugin.

import com.vk2gpz.autosell.area.IAreaHook;
import com.vk2gpz.autosell.IAutoSell;

...

    if (Bukkit.getPluginManager().getPlugin("AutoSell")) {
        IAreaHook myHook = new MyAreaHook();
        IAutoSell.getInstance().setAreaHook(myHook);
    }

Samples of AreaHook can be found at here.  You will find the following samples:

  • JetsPrisonMines
  • PrisonMIne
  • AsylumMines

 

You might also like...