Finite Global Shop

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

Finite Global Shop

About Finite Global Shop

Finite Global Shop (FGS) is a simple plugin that allows players on a server to easily buy and sell items. The goal of FGS is to have a shop system where there is a certain amount of items that can be bought, preventing extra items from being spawned into the game.

Dependencies

Commands

  • /buy - Buy items from the global shop
  • /sell - Sell items to the global shop
  • /shop - Access to all shop commands
  • /fgs - Access to all admin commands

Permissions

  • fgs.shop - Allows access to the /shop command
  • fgs.shop.buy - Allows players to buy from the shop
  • fgs.shop.sell - Allows players to sell to the shop
  • fgs.shop.info - Allows players to get info on an item
  • fgs.notify.buy - Notifies when a player buys an item from the shop
  • fgs.notify.sell - Notifies when a player sells an item to the shop
  • fgs.admin - Gives access to shop admin commands
  • fgs.admin.reload - Allows admins to reload the plugin
  • fgs.admin.update - Allows admins to download an update
  • fgs.admin.add - Allows admins to add items to the shop
  • fgs.admin.remove - Allows admins to remove items from the shop
  • fgs.admin.get.bank - Allows admins to check the amount of money on the bank
  • fgs.admin.get.depamount - Allows admins to get the depreciation amount for an item
  • fgs.admin.get.deppecent - Allows admins to get the depreciation percent for an item
  • fgs.admin.get.name - Allows admins to get the names of an item
  • fgs.admin.get.buy - Allows admins to get the buy price of an item
  • fgs.admin.get.sell - Allows admins to get the sell price of an item
  • fgs.admin.get.stock - Allows admins to get the stock of an item
  • fgs.admin.set.bank - Allows admins to change the money in the bank
  • fgs.admin.set.depamount - Allows admins to change the depreciation amount of an item
  • fgs.admin.set.deppecent - Allows admins to change the depreciation percent of an item
  • fgs.admin.set.name - Allows admins to change the names of an item
  • fgs.admin.set.buy - Allows admins to change the buy price of an item
  • fgs.admin.set.sell - Allows admins to change the sell of an item
  • fgs.admin.set.stock - Allows admins to change the stock of an item

Plugin Configuration

logTransactions: false
autoUpdate:
  enabled: true
  checkInterval-Mins: 30
currencyDecimalPlaces: 2
addDespawningItemsToShop: false
  • log-transactions: If true, all shop transactions will be recorded in the transactions.txt file
  • autoUpdate.enabled: If true, the plugin will update when there is an update is available
  • autoUpdate.checkInterval-Mins: How often the plugin should check for updates in minutes
  • addDespawningItemsToShop: If true, despawning items will be added to the shop

Shop Configuration

The shop configuration (shop.yml) allows simple shop setup. Here you put the amount of money the shop has, the price to buy/sell specific items in the shop, the amount of each item in the shop, and the names of the items.

bank: 1000.00
vars: {}
items:
  3-0:
    depreciation:
      amount: 1
      percent: 0.5
    name: Dirt
    name-plural: Dirt
    buy: 5
    sell: 50%buy
    stock: 0
  5-1:
    depreciation:
      amount: 1
      percent: 0.5
    name: Spruce Wood Plank
    name-plural: Spruce Wood Planks
    buy: 200%3-0.buy
    sell: 75%buy
    stock: 0

Idea list

  • Add a command to get a list of items in the shop
  • Add the ability to have multiple shops (per-world shops?)
  • Get more ideas from you :D

.
.
.............
http://api.mcstats.org/signature/FiniteGlobalShop.png


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    45080
  • Created
    Sep 21, 2012
  • Last Released File
    Sep 5, 2013
  • Total Downloads
    13,969
  • License

Categories

Members

Recent Files