GlobalShop

A simple global shop which is used through commands.

To use GlobalShop you must install one of the following Economy plugins:

  • iConomy 4,5 or 6
  • BosEconomy 6 or 7
  • Essentials Economy 2.2.17+
  • MultiCurrency

The first found Economy plugin is used. Economy functions are used through Nijikokun's Register API which is implemented in GlobalShop.

Globalshop v0.8 now supports (and requires) Vault

Features

  • Shop that can be accessed from everywhere.
  • Add customizable item names.
  • Damage/Color can be defined in config. So you can sell for example black_wool.
  • Considers the durability of an item to calculate the selling price.
  • Set the sellratio. This defines how much money you get for selling an item. Default is 80%.
  • All commands can be renamed to your wish by re-configuring the aliases in plugin.yml HowTo.

Permissions

There are ParentPermissions for SuperPerms: globalshop.trade.* and globalshop.admin.*

  • 'globalshop.trade.buy' -> Allow /buy and /price
  • 'globalshop.trade.sell' -> Allow /sell and /checksell
  • 'globalshop.admin.reload' -> Allow /shop reload

Commands

  • /price (name|id) -> Show the price you must pay to buy name|id
  • /buy (name|id) [amount] -> Buy name|id (with optional amount)
  • /checksell -> Shows the money you would get for the item you are holding
  • /sell -> Sells the item you are holding
  • /sell <quantity> -> (v0.8) Sell a given quantity of the item held (only applies to stack in hand)
  • /sell all -> (v0.8) Sell all items of the same type throughout inventory
  • /shop reload -> Reloads the config of GlobalShop

Configuration

At moment you must setup all prices in the config file. This is explained here: Configuration

Planned Features

  • Setting up prices with commands
  • Writeout of a HTML-File where all prices can be viewed

Changelog

0.91

0.9 (Zarius)

  • Fix: non-stackable items no longer stack when buying multiple
  • Added: now checks for available inventory space (so you don't waste money if your purchase doesn't fit).

0.8 (Zarius)

  • Support for Vault
  • Added /sell <quantity> (from current held stack only)
  • Added /sell all (sells all of the same item from your inventory)

0.7b2 (modifications by Zarius)

  • fix for new Bukkit Version
  • code cleanup
  • start of coding for buy/sell with exp (doesn't work yet)

GlobalShop uses Metrics for anonymous usage stats (learn more). From v0.91 only.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Lighter2738 Lighter2738 Nov 26, 2014 at 02:00 UTC - 0 likes

    Hi, I am only posting this because I have looked almost everywhere for this question but could not find anwser I am trying to make it so you could but a speed potion. Not normal but speed 2 can any1 here help me? Thanks

  • Avatar of S0N0FAS0N S0N0FAS0N Sep 03, 2014 at 16:16 UTC - 0 likes

    Using this plugin on my modded Cauldron server http://s0ncraft.enjin.com/

  • Avatar of Brisk568 Brisk568 Aug 15, 2014 at 02:31 UTC - 0 likes

    Hello. How can i add gapples (322:2) and ceggs in the shop.

    When i try to add them it doesnt work because of the extra :

    Thanks.**

  • Avatar of scooby42683 scooby42683 Aug 11, 2014 at 14:53 UTC - 0 likes

    Can you add a sell every item in your inventory command? Something like /sellinv or /sell inv?

  • Avatar of kmancoke1298 kmancoke1298 Aug 10, 2014 at 01:00 UTC - 0 likes

    How do you make it like /buy strp2 which will buy a speed pot or strength idk

  • Avatar of Evaluations Evaluations Jul 08, 2014 at 20:15 UTC - 0 likes

    Is it possible to purchase 2 items with one /buy command?

    Example: "/buy pots" would give you a strength 2 and a swiftness 2. Is this possible to do? I've been messing around with the config but haven't found a solution.

  • Avatar of Aventium Aventium Jun 28, 2014 at 00:11 UTC - 0 likes

    @Cmoor: Go

    Seeing as it is not added as a feature right now, and the author has stopped working on it, I do not think it will ever be possible.

  • Avatar of Cmoor Cmoor May 29, 2014 at 23:36 UTC - 0 likes

    can you use this plugin to work per world? i have skyblock and survival but dont want the prices to be the same. is this possible with this plugin?

  • Avatar of Absentee23 Absentee23 May 01, 2014 at 00:27 UTC - 0 likes

    @Josh15390: Go

    Here's an example of a healing potion:

    - ItemID:ItemName:Amount:Price(:Damage/Color)

    - 373:Healing Potion:1:X.00:8197

    The last number, 8197 is the potion ID which I found a list of here: http://www.minecraftforum.net/topic/826689-minecraft-item-id-list-with-potion-id/

    The "X.00" is the price

    Last edited May 01, 2014 by Absentee23
  • Avatar of Josh15390 Josh15390 Apr 27, 2014 at 04:10 UTC - 0 likes

    Can someone please tell me how I put in potions? They're not working

Facts

Date created
Oct 21, 2011
Category
Last update
May 28, 2013
Development stage
Release
Language
  • enUS
License
Public Domain
Curse link
GlobalShop
Downloads
27,044
Recent files

Authors