Darrionat Plugins
  • Welcome
  • Plugins
    • Bans+
      • Commands & Permissions
      • Configuration Files
      • GUIs
      • MySQL
      • Trivia
    • Command Cooldown
      • Commands & Permissions
      • Configuration Files
        • cooldowns.yml
        • config.yml
        • messages.yml
      • MySQL
      • Trivia
    • Custom Enchants+
      • API
      • Commands & Permissions
      • Configuration Files
        • config.yml
        • enchants.yml
        • lores.yml
        • messages.yml
      • Custom Blocks
      • Dependencies
      • Enchantments
      • GUIs
      • Scrolls
      • Wands
      • Trivia
    • PrisonPick
      • Autosell
      • Commands & Permissions
      • Configuration Files
        • autosell.yml
        • config.yml
        • enchants.yml
        • messages.yml
      • Dependencies
      • Enchantments
      • GUIs
      • Inventory Management
      • Placeholders
      • Saving Data
  • Libraries
    • PluginLib
      • Creating Your Plugin
      • Commands
      • Configs
      • ErrorHandler
      • Gui
  • Discord Bot
    • SpigotMC Bot
      • Commands
  • Links
    • Discord
    • GitHub
    • SpigotMC
  • Support Me
    • Patreon
Powered by GitBook
On this page
  • Ranks
  • Prices

Was this helpful?

  1. Plugins
  2. PrisonPick

Autosell

Detailed information on how Autosell works

PreviousPrisonPickNextCommands & Permissions

Last updated 4 years ago

Was this helpful?

Autosell is a feature that allows a player to automatically sell their items for whatever type of economy the plugin uses. The player is able to automatically sell items if the option is enabled within the . Autosell can be used when blocks or it can be used via a timer.

Ranks

A rank gives a player access to a set of selling . Ranks can be created within the file. Ranks have names that will not be displayed, but they should be seen in a player's permissions.

Giving a Player a Rank

To give a player a rank, you must give them the permission prisonpick.rank.rankName.

If a player has multiple ranks, and two or more have a price for the same item, the highest selling price will be used.

Prices

A price is a combination of a selling material and a sell value. To set a price for a rank, within the , you can add a price by adding itemtype: sellPrice to the rank's config section. If there is an invalid material, a warning will be printed in the console and the item will not be taken into account. For the full list of valid item types, click .

config.yml
autosell.yml
autosell.yml
here
prices
go directly to a player's inventory