Pular para o conteúdo

Esta página ainda não foi traduzida para o português; está sendo exibida em inglês.

Plugin TShockC#

TerraShop

An advanced economy and trading plugin (P2P and global) for Terraria servers running TShock. Players sell and trade items from the chat, create region-filtered shops, make direct offers and get paid safely even while offline.

Requisito Precisa do Server-Side Character (SSC) ativado no servidor para funcionar.

Key features

  • Global and region shop. Sell to everyone or create a local shop where only items from the owners of a specific region appear.
  • Trades. Exchange items for other items without using coins.
  • Secure offline economy. If someone buys your item while you are disconnected, you automatically receive the money in your inventory when you rejoin.
  • P2P offers. Send direct offers to other players. They expire in 10 seconds by default, and the admin can change it.
  • Multi-language. Built-in Spanish, English and Portuguese (/shoplang).

Permissions and commands

Command Permission Description
/shop [page] terrashop.shop Displays the list of items for sale.
/buy <number> terrashop.shop Buys the item at that index in the shop.
/buy terrashop.shop Accepts a direct (P2P) offer from another player.
/sell <price> [player] terrashop.shop Sells the item you are holding.
/trade <item> [qty] [player] terrashop.trade Trades the item in your hand for another item.
/shop clear terrashop.shop Removes all your items from the shop and returns them to you.
/shoplang <es/en/pt> terrashop.shoplang Changes your personal plugin language.
/shop region add [name] terrashop.region Turns a TShock region into a local shop. Inside the region, /shop add is enough.
/shop region delete [name] terrashop.region Removes the shop from a region.
/shop time <time> terrashop.time Changes the expiration time in the global shop (12h, 30m).

For region commands, the player must also have build permissions (owner or shared) in that TShock region.

Usage examples

Prices use c (copper), s (silver), g (gold) or p (platinum).

Selling and buying with coins

  • /sell 50g lists the item in your hand in the global shop for 50 gold.
  • /buy 1 buys the first item on the /shop list.

Making a trade

  • /trade 9 100 asks for 100 Wood blocks (ID 9) in exchange for the item in your hand.
  • /trade "Iron Broadsword" 2 asks for 2 Iron Broadswords. Use quotes for names with spaces.

Direct player offers

  • /sell 1p Jack7w7 offers the item to Jack7w7 for 1 platinum.
  • /trade 9 5 PakeMPC offers your item to PakeMPC in exchange for 5 wood.

The other player has 10 seconds (default) to type /buy, or the offer expires and your item comes back.

Region shops

  1. Stand inside a region you created (/region define MyShop).
  2. Type /shop region add.
  3. Anyone who enters that region and types /shop will only see items listed by the owners and members of that region. Players passing nearby get a chat notice that they are entering your shop.

Configuration

shops.json is created automatically in your tshock folder and can be edited while the server is off:

  • DefaultLanguage: base language for new players (es, en, pt).
  • DirectOfferExpiration: time limit for direct offers and trades (30s, 5m, 1h).
  • ExpirationMinutes: minutes before an item expires in the global shop.

Versões

  1. 1.3.5 · 8 mai 2026 Mais recente
  2. 1.3.3 · 3 mai 2026
  3. 1.3.1 · 14 mar 2026
  4. 1.3.0 · 11 mar 2026
Todas as versões no GitHub