-
Notifications
You must be signed in to change notification settings - Fork 9
Usage: Shopping
/heh view
to open the shopping window, left click on item will buy one, shift
+left click
will buy a slot of items.
(Left click
to purchase/remove, shift
+left click
to purchase/remove a slot of items can be used across all GUI in this plugin)
To sell items on global market, hold the corresponding item(s) and type
/heh offer [unit price]
The seller pays an amount of market_offer_fee
in configuration to system balance (if enabled), then items placed into global market and available for immediate purchase.
Every 24 hours, global market will collect market_placement_fee
for each slot's seller. If one player have 3 slots of items placed on the market and have not been sold out in 24 hours, the player will be deducted 3x market_placement_fee
from cash account to system balance.
Sign shops are "online" shops as well. For a specified player, each type of sign contents are synchronized across the server (plugin-wide). Thus, each player can create many sign shops in the server but every sign of the same type (sell
/ buy
/ lotto
) shares the same contents.
E.g., Player A created 10 sell
signs and added one item to one of the signs, then all 10 signs have the exact item available for purchase. Player B purchased this item via another sign, then all 10 signs have this item removed simultaneously.
This applies to other sign shops as well.
There are 2 limits applied altogether.
One is sign limits, shared by all types of signs. If a group is allowed to create 10 signs, a player of this group will be able to create 10 signs (sell+buy+lotto) in all.
The other is slot limits, shared by only buy and sell signs. A group is allowed to use 54 slots (a large chest space), each player in this group will be able to add 54 entries in these signs in all. Let's say, 50 slots used by sell sign, then only 4 slots available in the buy sign.
Buy signs and lotto signs (slot machine) have to associated with chests. However:
- Contents in lotto sign will not consume any slot limitation.
- Contents in buy sign will consume corresponding amount of slot limits.
Sell items to others.
Create a post sign, and write each line as following:
[shop]
SELL
- Any text
- Any text
To sell items, hold the items, aim at your sell sign and type
/heh shop sell [unit price]
The item will be added to the sell sign shop and available for purchase.
To remove items from shop, right click on your sell sign and shift
+ left click
that corresponding slot.
Purchase items from others.
Create a post sign, and write each line as following:
[shop]
BUY
- Any text
- Any text
Then create a chest, and type:
/heh shop storage set
And right click on the chest to finish setup. Storage chest only need to set once and it's used as requisition (buy sign) storage until the last buy sign of this player is removed.
To add requisition entry, hold the item (yes, you need at least one of this item) and type:
/heh shop buy [unit price]
Item in hand will not be removed, only an entry will be added.
To remove the requisition entry, right click on your buy sign and shift
+ left click
to remove the corresponding slot.
Lotto (slot machine) sign.
Create a post sign and write each line as following:
[shop]
LOTTO
- Any text
- Price for each play
Create a chest, and type:
/heh shop lotto set
And right click on the chest to setup lotto storage.
You need to add items to this chest first. When other players right click on your lotto sign, a random slot of items in this chest will be given to the corresponding player.
You may search for any product currently on sale in sign shops.
Command:
/heh search keyword [option:value]
Available options:
-
i
oritem
: item name or ID, query for specified item only -
p
orplayer
: player ID, query for specified player only -
r
orrange
: query for signs in a limited distance from you. -
a
oradvanced
: advanced options:-
ench
: search enchants -
enchonly
: search only enchants -
lore
: search lore -
loreonly
: search lore only - Use
|
to split options, e.g.,ench|lore
-
- If there're multiple page results, use
/heh searchpage [page]
to view specified page.