Plugin that adds chest-based shops to MC-Server
- Put files inside "Plugins/Trady" folder;
- Go to your settings.ini OR use web control panel, and add "Trady";
- Make sure that you have "Handy" (v2 at least!) and "Coiny" (v6) installed;
- Make sure that "Trady" is after "Handy" and "Coiny" on the list!;
- ...
- PROFIT!!!
All settings are in "Plugins/Trady/trady_settings.ini" file. Those are following:
- SaveMode: Timed, Paranoid, Relaxed, Dont; Timed will save every Nth tick, Paranoid will save on every change, Relaxed will save ONLY on server REGULAR shutdown, Dont won't save at all. BEWARE - trade operations won't be reverted automagically!;
- TicksPerSave: 1200 ticks approximately are similar to one minute, so defaul 2000 is a big overkill;
- Barter: 0/1 to toggle barter trading (could be broken ATM, so try at your own risk);
- BarterItem: this one is definitely ATM;
- AllowFractionalTrade: 0 = disallowed, 1 = allowed. If you don't have enough money, space in your inventory, or seller don't have enough items (let's say he sells 32 pieces of sand, but chest only has 9 left), or his cashmachine (this applies to barter trading) doesn't have enough space - operation would still be performed, within those limitations;
- HaltSelfTrade: 0/1, when enabled, allows you to buy/sell from/to yourself. It's kinda resource loop thing, so it might cause dividing our universe by zero and kill us all. Good stuff;
- UsingProtection: 0/1, if enabled, Trady will take care of those pesky peasants trying to steal your goods. Could be disabled for compatibility with other protection plugins, I dunno, I just coded it;
- BreakingProtection: 0/1, same as UsingProtection, but prevents breaking chests/signs;
- Place a chest;
- Put items you want to trade in this chest;
- Place a sign over a chest (just like with bukkit's ChestShop);
- Syntaxt is:
- from_chest_price:to_chest_price
- ammount (this is optional; over-stack ammounts, like 70, are allowed)
- ban_fractional_trade (optional, if you want to ban fractional trading write 1 there) *[empty]
Left-click, right-click on the sign to sell/buy items.
Destroy a sign or a chest.
- trady.delete: allows you to delete other players' shops, for admins. But one can make a group of players "lockmasters" or some another bizzare stuff like that, so that they could go rob shops;
- Mmmm, I don't have anything more... I probably should, don't I?