AutoSell You can enable and disable autosell for yourself with one command! You can also filter which blocks should be sold! Selling with command You can sell whole inventory of mined blocks with one command!
Placeholders Simple placeholders so you can use values in other plugins
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!
#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
#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