Sueta

SellAll

1.1.0

Sell all of your junk in one go! (Originally SignSellAll)

·Plugin

Description

This is a really simple plugin that does exactly what you would think. Right-click a sign and sell all that junk in your inventory away in one go!

It should be compatible with any economy plugin that uses Vault. If it does not, please file a bug report so I can get it fixed.

An internal worth.yml is used by default, but you are free to use the one provided by Essentials if you wish.


Dependencies

  • Vault: Permissions & Economy
  • (Optional) Essentials: Integration with their worth.yml

Configuration

Please refer to the documentation inside the config files for information on the options.

The worth.yml is sorted by group. As an example:

worth:
  default:
    log: 2.0
  premium:
    log: 4.0

Please note the lowercase group names. All the groups are converted to lowercase internally so to avoid config values mysteriously not taking.


Usage

Commands:

  • /sellall - Command to sell all your items [sellall.command]
  • /saa reload - Reload configuration [sellall.admin.command]
  • /saa version - View version information [signsellall.admin.command]
  • /saa setprice <price> [group] - Set the price for the item in your hand. (For internal worth.yml only)

Permissions:

  • sellall.command - /sellall | /sa
  • sellall.admin.command - /sellalladmin | /saa [reload/version]
  • sellall.use - Selling items at [SellAll] signs.
  • sellall.admin - Placing/Breaking [SellAll] signs.

To use, place a sign with [SellAll] in the very first line. The plugin only checks the first line so you're free to add any description you want in the last few lines. Such as this:

2017-08-08_03.27.28.png

All the user has to do is right-click the sign with all that delicious junk in their inventory and it's as good as sold. This would probably be decent for most prison servers that want something a little simpler.


Donations

Any plugins I make are always going to be free, regardless of how big or small. With that said I do accept donations in the form of pizza, twinkies... or money for pizza and twinkies. :)

Special Thanks

  • @BWDev - Suggestion for per-group prices & /sellall command.
  • @Konbbomba - Bug testing & reports.

Similar projects

Plugin →