diff --git a/README.md b/README.md index a160fc5..8a1c00a 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,8 @@ Optionally, you can supply `category`, `priceOverrides`, and `predicates`. For more information on these, see the example `products.lua` file. +If your shop has multiple categories or currencies and you're playing on SwitchCraft, you'll want to `/monitortrust .public` on your plot so that players can right click on your monitor to change categories and currencies. + # Advanced Settings Radon is designed to be highly configurable. Look through `config.lua` for what you may want to change to suit your needs. There are a few tables or categories within `config.lua`: diff --git a/config.lua b/config.lua index 7c40d62..7b17ec4 100644 --- a/config.lua +++ b/config.lua @@ -15,7 +15,7 @@ footer = "/pay @%name% ", footerNoName = "/pay %addr% ", refundRemaining = "Here is the funds remaining after your purchase!", - refundOutofStock = "Sorry, that item is out of stock!", + refundOutOfStock = "Sorry, that item is out of stock!", refundAtLeastOne = "You must purchase at least one of this product!", refundInvalidProduct = "You must supply a valid product to purchase!", refundNoProduct = "You must supply a product to purchase!", diff --git a/core/ConfigValidator.lua b/core/ConfigValidator.lua index 4fd9ddd..8649303 100644 --- a/core/ConfigValidator.lua +++ b/core/ConfigValidator.lua @@ -91,7 +91,7 @@ __entry = { id = "string", node = "string?", - host = [[regex<^\w{10}$>: address]], + host = [[regex<^[a-z0-9]{10}$>: address]], name = "string?", pkey = "string", pkeyFormat = "enum<'raw' | 'kristwallet'>: pkey format",