Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
RestoreMonarchy committed Nov 10, 2024
1 parent 173ec59 commit 97a4f85
Showing 1 changed file with 29 additions and 27 deletions.
56 changes: 29 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,56 +60,58 @@ This is our 2.0 version of popular ZaupShop plugin originally created by **Zamir
```xml
<?xml version="1.0" encoding="utf-8"?>
<ZaupShopConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<MessageColor>yellow</MessageColor>
<MessageIconUrl>https://i.imgur.com/aMxb6pb.png</MessageIconUrl>
<ItemShopTableName>uconomyitemshop</ItemShopTableName>
<VehicleShopTableName>uconomyvehicleshop</VehicleShopTableName>
<CanBuyItems>true</CanBuyItems>
<CanBuyVehicles>true</CanBuyVehicles>
<CanSellItems>true</CanSellItems>
<QualityCounts>true</QualityCounts>
<QualityCounts>false</QualityCounts>
</ZaupShopConfiguration>
```

## Translations
```xml
<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Translation Id="buy_command_usage" Value="Usage: /buy [v.]&lt;name or id&gt; [amount] (amount optional, default: 1)" />
<Translation Id="cost_command_usage" Value="Usage: /cost [v.]&lt;name or id&gt;" />
<Translation Id="sell_command_usage" Value="Usage: /sell &lt;name or id&gt; [amount] (amount optional)" />
<Translation Id="shop_command_usage" Value="Usage: /shop &lt;add/remove&gt; [v.]&lt;itemid&gt; [cost] [buyback]" />
<Translation Id="error_giving_item" Value="Error: Unable to give you {0}. You have not been charged" />
<Translation Id="error_getting_cost" Value="Error: {0} is not for sale" />
<Translation Id="item_cost_msg" Value="Item: {0} | Buy: {1} {2} | Sell: {3} {4}" />
<Translation Id="vehicle_cost_msg" Value="Vehicle: {0} | Buy: {1} {2}" />
<Translation Id="item_buy_msg" Value="Purchase successful: {5} {0} for {1} {2}. Your balance: {3} {4}" />
<Translation Id="vehicle_buy_msg" Value="Purchase successful: 1 {0} for {1} {2}. Your balance: {3} {4}" />
<Translation Id="not_enough_currency_msg" Value="Insufficient funds: You need {0} {1} to buy x{2} {3}" />
<Translation Id="buy_command_usage" Value="Usage: /buy [[b]][v.]&lt;name or id&gt;[[/b]] [amount] (amount optional, default: 1)" />
<Translation Id="cost_command_usage" Value="Usage: /cost [[b]][v.]&lt;name or id&gt;[[/b]]" />
<Translation Id="sell_command_usage" Value="Usage: /sell [[b]]&lt;name or id&gt;[[/b]] [amount] (amount optional)" />
<Translation Id="shop_command_usage" Value="Usage: /shop [[b]]&lt;add/remove&gt;[[/b]] [v.]&lt;itemid&gt; [cost] [buyback]" />
<Translation Id="error_giving_item" Value="Error: Unable to give you [[b]]{0}[[/b]]. You have not been charged" />
<Translation Id="error_getting_cost" Value="Error: [[b]]{0}[[/b]] is not for sale" />
<Translation Id="item_cost_msg" Value="Item: [[b]]{0}[[/b]] | Buy: [[b]]{1} {2}[[/b]] | Sell: [[b]]{3} {4}[[/b]]" />
<Translation Id="vehicle_cost_msg" Value="Vehicle: [[b]]{0}[[/b]] | Buy: [[b]]{1} {2}[[/b]]" />
<Translation Id="item_buy_msg" Value="Purchase successful: [[b]]{5} {0}[[/b]] for [[b]]{1} {2}[[/b]]. Your balance: [[b]]{3} {4}[[/b]]" />
<Translation Id="vehicle_buy_msg" Value="Purchase successful: [[b]]1 {0}[[/b]] for [[b]]{1} {2}[[/b]]. Your balance: [[b]]{3} {4}[[/b]]" />
<Translation Id="not_enough_currency_msg" Value="Insufficient funds: You need [[b]]{0} {1}[[/b]] to buy [[b]]x{2} {3}[[/b]]" />
<Translation Id="buy_items_off" Value="Error: Item purchasing is currently disabled" />
<Translation Id="buy_vehicles_off" Value="Error: Vehicle purchasing is currently disabled" />
<Translation Id="item_not_available" Value="Error: {0} is not available in the shop" />
<Translation Id="vehicle_not_available" Value="Error: {0} is not available in the shop" />
<Translation Id="could_not_find" Value="Error: Unable to find an ID for {0}" />
<Translation Id="item_not_available" Value="Error: [[b]]{0}[[/b]] is not available in the shop" />
<Translation Id="vehicle_not_available" Value="Error: [[b]]{0}[[/b]] is not available in the shop" />
<Translation Id="could_not_find" Value="Error: Unable to find an ID for [[b]]{0}[[/b]]" />
<Translation Id="sell_items_off" Value="Error: Item selling is currently disabled" />
<Translation Id="not_have_item_sell" Value="Error: You don't have any {0} to sell" />
<Translation Id="not_enough_items_sell" Value="Error: You don't have {0} {1} to sell" />
<Translation Id="sold_items" Value="Sale successful: {0} {1} sold for {2} {3}. Your balance: {4} {5}" />
<Translation Id="no_sell_price_set" Value="Error: {0} cannot be sold to the shop at this time" />
<Translation Id="not_have_item_sell" Value="Error: You don't have any [[b]]{0}[[/b]] to sell" />
<Translation Id="not_enough_items_sell" Value="Error: You don't have [[b]]{0} {1}[[/b]] to sell" />
<Translation Id="sold_items" Value="Sale successful: [[b]]{0} {1}[[/b]] sold for [[b]]{2} {3}[[/b]]. Your balance: [[b]]{4} {5}[[/b]]" />
<Translation Id="no_sell_price_set" Value="Error: [[b]]{0}[[/b]] cannot be sold to the shop at this time" />
<Translation Id="no_itemid_given" Value="Error: Item ID is required" />
<Translation Id="no_cost_given" Value="Error: Cost is required" />
<Translation Id="invalid_amt" Value="Error: Invalid amount entered" />
<Translation Id="invalid_cost" Value="Error: Invalid cost value entered" />
<Translation Id="invalid_buyback" Value="Error: Invalid buyback value entered" />
<Translation Id="v_not_provided" Value="Error: Specify 'v' for vehicle or use item ID. Example: /shop add 363 1000 50" />
<Translation Id="v_not_provided" Value="Error: Specify [[b]]'v'[[/b]] for vehicle or use item ID. Example: /shop add 363 1000 50" />
<Translation Id="invalid_id_given" Value="Error: Please provide a valid item or vehicle ID" />
<Translation Id="no_permission_shop_add" Value="Error: You don't have permission to use the shop add command" />
<Translation Id="no_permission_shop_rem" Value="Error: You don't have permission to use the shop remove command" />
<Translation Id="changed_or_added_to_shop" Value="Success: {0} added to the shop with cost {1}" />
<Translation Id="changed_or_added_to_shop_with_buyback" Value="Success: {0} added to the shop with cost {1} and buyback {2}" />
<Translation Id="error_adding_or_changing" Value="Error: Failed to add or update {0}" />
<Translation Id="removed_from_shop" Value="Success: {0} removed from the shop" />
<Translation Id="not_in_shop_to_remove" Value="Error: {0} is not in the shop and cannot be removed" />
<Translation Id="not_in_shop_to_set_buyback" Value="Error: {0} is not in the shop and cannot have a buyback price set" />
<Translation Id="set_buyback_price" Value="Success: Buyback price for {0} set to {1}" />
<Translation Id="changed_or_added_to_shop" Value="Success: [[b]]{0}[[/b]] added to the shop with cost [[b]]{1}[[/b]]" />
<Translation Id="changed_or_added_to_shop_with_buyback" Value="Success: [[b]]{0}[[/b]] added to the shop with cost [[b]]{1}[[/b]] and buyback [[b]]{2}[[/b]]" />
<Translation Id="error_adding_or_changing" Value="Error: Failed to add or update [[b]]{0}[[/b]]" />
<Translation Id="removed_from_shop" Value="Success: [[b]]{0}[[/b]] removed from the shop" />
<Translation Id="not_in_shop_to_remove" Value="Error: [[b]]{0}[[/b]] is not in the shop and cannot be removed" />
<Translation Id="not_in_shop_to_set_buyback" Value="Error: [[b]]{0}[[/b]] is not in the shop and cannot have a buyback price set" />
<Translation Id="set_buyback_price" Value="Success: Buyback price for [[b]]{0}[[/b]] set to [[b]]{1}[[/b]]" />
<Translation Id="invalid_shop_command" Value="Error: Invalid shop command entered" />
</Translations>
```
Expand Down

0 comments on commit 97a4f85

Please sign in to comment.