Pijok's New AutoSell icon

Pijok's New AutoSell -----

Completely new free AutoSell plugin!



AutoSell
Stable, simple and free
Features

AutoSell
You can enable and disable autosell for yourself with one command!
You can also filter which blocks should be sold!

[​IMG]
Selling with command

You can sell whole inventory of mined blocks with one command!
[​IMG]

Placeholders

Simple placeholders so you can use values in other plugins
[​IMG]

Simple configuration

You can configure whole plugin in only 3 files!

Database integration
Plugin will safe player data in database! Currently plugin supports MariaDB, OracleDB, Postgre and H2!

Backpack integration
Currently supporting Minepacks! If you want more feel free to ask!

Installation
  1. Download .jar from link
  2. Upload it to your plugins folder
  3. Start or restart server
  4. Edit configuration files
  5. Restart!
Remember to install Vault and economy plugin!

Softdepend:

Configuration

config.yml (1.13-1.18)
Code (YAML):
#Which component should be more used (RAM or CPU)
componentUsage
: CPU

#Should player data be saved in database or yaml file
database
: false

#Database settings
#Available database types
#MariaDB
#PostgreSQL
#H2
#OracleDB
sqlSettings
:
  user
: user
  password
: password
  host
: localhost
  port
: 3306
  database
: simpleDatabase
  type
: MariaDB

#Should players be able to enable auto sell function
autoSellEnabled
: true

#Should server count amount of blocks mined by players
countingBlocksEnabled
: true

#Should players be able to use sell all function
sellAllEnabled
: true

#Should blocks be counted only if broken with "miningTools"
countOnlyOnMiningTools
: false

#Should plugin ignore world guard
ignoreWorldGuard
: false

#Drop to inventory
dropToInventory
: true

#Where drop to inventory should be enabled
dropToInventoryWorlds
:
 - exampleWorld

miningTools
:
 - WOODEN_PICKAXE
  - STONE_PICKAXE
  - IRON_PICKAXE
  - DIAMOND_PICKAXE


#What ores should dropped when mined with autosell or dropToInventory enabled
oreDrops
:
  COAL_ORE
: COAL
  EMERALD_ORE
: EMERALD
  IRON_ORE
: IRON_INGOT
  GOLD_ORE
: GOLD_INGOT
  DIAMOND_ORE
: DIAMOND

#Used to count dropped items while autosell or dropToInventory is enabled
fortuneDrops
:
  1
:
    min
: 1
    max
: 2
  2
:
    min
: 1
    max
: 3
  3
:
    min
: 1
    max
: 5

#Minepacks
minepacks
:
  #Should items be sold from backpacks
  sellFromBackpack
: true

 

config.yml (1.8-1.12)
Code (YAML):
[/SIZE ]
#Which component should be more used (RAM or CPU)
componentUsage
: CPU

#Should player data be saved in database or yaml file
database
: false

#Database settings
#Available database types
#MariaDB
#PostgreSQL
#H2
#OracleDB
sqlSettings
:
  user
: user
  password
: passwrd
  host
: localhost
  port
: 3306
  database
: simpleDatabase
  type
: MariaDB

#Should players be able to enable auto sell function
autoSellEnabled
: true

#Should server count amount of blocks mined by players
countingBlocksEnabled
: true

#Should players be able to use sell all function
sellAllEnabled
: true

#Should blocks be counted only if broken with "miningTools"
countOnlyOnMiningTools
: false

#Should plugin ignore world guard
ignoreWorldGuard
: false

#Drop to inventory
dropToInventory
: true

#Where drop to inventory should be enabled
dropToInventoryWorlds
:
 - exampleWorld

miningTools
:
 - WOOD_PICKAXE
  - STONE_PICKAXE
  - IRON_PICKAXE
  - DIAMOND_PICKAXE

#What ores should dropped when mined with autosell or dropToInventory enabled
oreDrops
:
  COAL_ORE
: COAL
  EMERALD_ORE
: EMERALD
  IRON_ORE
: IRON_INGOT
  GOLD_ORE
: GOLD_INGOT
  DIAMOND_ORE
: DIAMOND

#Used to count dropped items while autosell or dropToInventory is enabled
fortuneDrops
:
  1
:
    min
: 1
    max
: 2
  2
:
    min
: 1
    max
: 3
  3
:
    min
: 1
    max
: 5

#Minepacks
minepacks
:
  #Should items be sold from backpacks
  sellFromBackpack
: true
[SIZE=4 ]


lang.yml
Code (YAML):

lang
:
  PREFIX
: "&7[&cAutoSell&7] &r"
  PERMISSION_DENIED
: "&cYou don't have permission to use this command!"
  NOTHING_TO_SELL
: "&cYou don't have items to sell!"
  SOLD_INVENTORY
: "&aSold all items from inventory for &e%value%&a$"
  AUTOSELL_ON
: "&aTurned on autosell!"
  AUTOSELL_OFF
: "&cTurned off autosell!"
  BOOSTER_START
: "&aYou just got a booster &ex%multiplier% &afor &e%time%&a!"
  BOOSTER_END
: "&cYour booster just ended :("
  CURRENT_BOOSTER
: "&aYou currently have booster &ex%multiplier% &afor &e%time%&a"
  PLAYER_OFFLINE
: "&cPlayer is offline!"
  FULL_INVENTORY
: "&c&lYour inventory is full!"
 

blocksValues.yml
Code (YAML):

#Values of blocks used in selling
blocks
:
  COBBLESTONE
: 0.05
  STONE
: 0.5
  COAL
: 1.0
  COAL_ORE
: 1.2
  IRON_ORE
: 5.0
  GOLD_ORE
: 10.0
  EMERALD
: 25.0
  DIAMOND
: 50.0


#Multipliers used in selling blocks
#Remember to write them in order from highest to lowest
multipliers
:
  bigmultiplier
:
    permission
: "autosell.multiplier.big"
    multiplier
: 5.0
  mediummultiplier
:
    permission
: "autosell.multiplier.medium"
    multiplier
: 3.0
  smallmultuplier
:
    permission
: "autosell.multiplier.small"
    multiplier
: 1.5
 

filterGui.yml (1.13-1.18)
Code (YAML):
title : "Filter autosell!"
nextPage
:
  name
: "&a&lNext page"
  amount
: 1
  material
: PAPER
previousPage
:
  name
: "&c&lPrevious page"
  amount
: 1
  material
: PAPER
filler
:
  name
: ""
  amount
: 1
  material
: GRAY_STAINED_GLASS_PANE

bottomFiller
:
  name
: ""
  amount
: 1
  material
: BLACK_STAINED_GLASS_PANE

toSell
: "&a&lSell"
toIgnore
: "&c&lIgnore"

#Slots where items will be placed
#You can use slots from 0 to 35
slotsToUse
:
 - 10
  - 12
  - 14
  - 16
  - 28
  - 30
  - 32
  - 34

 

filterGui.yml (1.8-1.12)
Code (YAML):
title : "Filter autosell!" [/SIZE ]
title
: "Filter autosell!"
nextPage
:
  name
: "&a&lNext page"
  amount
: 1
  material
: PAPER
previousPage
:
  name
: "&c&lPrevious page"
  amount
: 1
  material
: PAPER
filler
:
  name
: ""
  amount
: 1
  material
: STAINED_GLASS_PANE

bottomFiller
:
  name
: ""
  amount
: 1
  material
: STAINED_GLASS_PANE

toSell
: "&a&lSell"
toIgnore
: "&c&lIgnore"

#Slots where items will be placed
#You can use slots from 0 to 35
slotsToUse
:
 - 10
  - 12
  - 14
  - 16
  - 28
  - 30
  - 32
  - 34

[SIZE=4 ]



Permissions
  • autosell.admin - Permission to access /aas command
  • autosell.autosell - Permission to use /autosell command
  • autosell.sellall - Permission to use /sellall
  • autosell.filter - Permission to use /autosell filter command
Commands
  • /autosell - Enable and disable autosell function
  • /autosell filter - Filter what you want to sell
  • /sellall - Sell whole inventory
  • /adminautosell or /aas - Access admin command for managing plugin
Placeholders
  • %autosell_blocksMined% - Get blocks mined by player
Please don't write errors and bugs in reviews. If you have any idea how to improve this plugin or having trouble with something just write here :D
Resource Information
Author:
----------
Total Downloads: 1,211
First Release: Jan 3, 2022
Last Update: Jul 14, 2022
Category: ---------------
All-Time Rating:
7 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings