Giter VIP home page Giter VIP logo

auctionhousee's Introduction

AuctionHouse

Feature-packed AuctionHouse plugin for PocketMine-MP

Overview

AuctionHouse allows players to list their items for sale and purchase items that others have listed for sale.

AuctionHouse

Features

  • Chest GUI
  • Categories
  • Config (See below)
  • Multi-lang support
  • Custom events
  • Cancel listings
  • Listing cooldown
  • Economy plugin support (EconomyAPI as of now)
  • MySQL and SQLite database support
  • Customizable messages
  • Admin menu
  • And more coming soon!

Download

Download the plugin from Poggit or GitHub releases


Config

Click to open
---  
# DO NOT EDIT THIS VALUE, INTERNAL USE ONLY.
config-version: 5

# Sets the prefix for this plugin.
prefix: "[&l&6Auction House&r]"
# Minimum price required to create a listing
min-price: 0
# Maximum price a listing can have (-1 = No limit)
max-price: -1
# Sets the default language for the plugin, you can edit text and messages in this file.
default-language: en_US
# Sets the amount of hours a listing is active before being automatically cancelled and expired.
expire-interval: 48
# Sets the price it costs to list an item on the auction house.
listing-price: 0
# Sets a cooldown between listing items in seconds
listing-cooldown: 0
# Allows or blocks players in creative mode from selling items.
creative-sale: false
# Maximum amount of listings a player can have by default
max-listings: 45
# Shows item lore on the auction house
show-lore: true
# Days to automatically delete expired listings (-1 to disable)
expired-duration: 15
# Formats price with commas (ex. 1,000,000)
price-formatted: true
# Items that cannot be listed on the auction. Refer to https://minecraftitemids.com/ or https://minecraft-ids.grahamedgecombe.com/ for a list of item ids.
blacklist:
- '1000' # Example items
- '1234:5'
- 'minecraft:air'

# AH sign triggers
sign-triggers:
- "[AuctionHouse]"
- "[AH]"

# Menu button items
buttons:
stats: "minecraft:chest"
back: "minecraft:paper"
previous: "minecraft:paper"
next: "minecraft:paper"
info: "minecraft:book"
howto: "minecraft:emerald"
return_all: "minecraft:redstone_block"
player_listings: "minecraft:diamond"
expired_listings: "minecraft:poisonous_potato"
admin_menu: "minecraft:redstone"
confirm_purchase: "minecraft:stained_glass_pane:5"
cancel_purchase: "minecraft:stained_glass_pane:14"
...

Commands

Command Description
/ah AuctionHouse main command, opens the shop menu if there are no specified parameters
/ah shop Opens the shop menu
/ah sell [price] Allows player to list items in their hand on the auction house. [price] is the amount that the player is listing the item to sell for
/ah listings Shows all active listings of the player
/ah listings [player] Shows all active listings of a specific player
/ah categories Opens category menu
/ah admin Opens the AuctionHouse admin menu (OP Command)
/ah reload Allows player to reload configuration files (OP command)
/ah about Shows AuctionHouse version the server is running

API

Events

Event Description
shock95x\auctionhouse\event\AuctionStartEvent Called when an auction is started
shock95x\auctionhouse\event\AuctionEndEvent Called when an auction has ended
shock95x\auctionhouse\event\ItemListedEvent Called when an item is listed by player (cancellable)
shock95x\auctionhouse\event\ItemPurchasedEvent Called when an item is purchased by player (cancellable)
shock95x\auctionhouse\event\MenuCloseEvent Called when a menu is closed by player

Contributing

You can contribute to this project by creating a new language file and opening a PR!

Supported languages and contributors

Credits / Virions Used

auctionhousee's People

Contributors

shock95 avatar aiptu avatar peppizza avatar ipad54 avatar poggit-bot avatar adam1609 avatar danz-x avatar unickorn avatar shock950 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.