forked from N3X15/DynamicMarket
-
Notifications
You must be signed in to change notification settings - Fork 2
/
messages.yml
167 lines (167 loc) · 7.51 KB
/
messages.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
# Please use ALL CAPS when dealing with colors.
custom_colors:
CMD: AQUA
ERR: RED
NRM: WHITE
PRM: GOLD
BKT: LIGHT_PURPLE
add:
# Available variables: item & shop.
success: "{PRM}$item$ {NRM}is now for sale at {PRM}$shop${NRM}."
buy:
too_much: "{ERR}You cannot buy that much at once."
low_stock: "{ERR}We don't have enough in stock, sorry."
command:
player_only: "You must be logged in to issue that command."
# Available variables: player.
need_permission: "{ERR}You don't have permission to do that!"
export:
# Available variables: filepath.
failure: "{ERR}Database export FAILED!"
# Available variables: filepath.
success: |
{NRM}Database successfully exported to:
$filepath$\shops.csv
help:
add: |
{CMD}/shop add {BKT}<{PRM}id{BKT}>[{CMD}:{BKT}<{PRM}subtype{BKT}>] [{PRM}tags{BKT}]
{NRM}Adds a product to the shop.
{NRM}See also: {CMD}/shop help tags
buy: |
{CMD}/shop buy {BKT}<{PRM{id{BKT}>[{CMD}:{BKT}<{PRM}subtype{BKT}>] [{PRM}amount{BKT}]
{PRM}amount {NRM}is the number of bundles of the item you want to buy.
{NRM}If no {PRM}amount {NRM}is specified it defaults to 1.
# Available variables: commands, shortcuts, & topics.
default: |
{CMD}/shop help {BKT}[{PRM}topic{BKT}]
{NRM}Displays information about {PRM}topic{NRM}.
{NRM}Commands: {CMD}$commands${NRM}.
{NRM}Shortcuts: {CMD}$shortcuts${NRM}.
{NRM}Other topics: {CMD}$topics${NRM}.
export: |
{CMD}/shop export
{NRM}Exports the database to shops.csv.
{NRM}The file's location can be set in the config.yml.
{NRM}The file is editable by most spreadsheet programs.
ids: |
{NRM}Format: {BKT}<{PRM}id{BKT}>[{CMD}:{BKT}<{PRM}subtype{BKT}>]
{NRM}Subtypes are used for wool/dye colors, log types, etc...
{NRM}You can use the full name of the item instead.
import: |
{CMD}/shop import
{NRM}Imports the database from shops.csv.
{NRM}The file's location can be set in the config.yml.
{NRM}The format MUST be in the same format as the export format.
{NRM}THIS WILL OVERWRITE THE DATABASE; backup your database first.
info: |
{CMD}/shop info {BKT}<{PRM}id{BKT}>[{CMD}:{BKT}<{PRM}subtype{BKT}>]
{NRM}Shows detailed information about a product.
list: |
{CMD}/shop list {BKT}[{PRM}filter{BKT}] [{PRM}page{BKT}]
{NRM}Displays items for sale.
{NRM}List format: {BKT}<{PRM}id{BKT}> <{PRM}fullName{BKT}> {NRM}Bundle: {BKT}<{PRM}bundleSize{BKT}> {NRM}Buy: {BKT}<{PRM}buyPrice{BKT}> {NRM}Sell: {BKT}<{PRM}sellPrice{BKT}>
{NRM}Page 1 is displayed if {PRM}page {NRM}is not specified.
{NRM}If {PRM}filter {NRM}is provided, displays only products containing {PRM}filter {NRM}in their name.
{NRM}Ex: {CMD}/shop list diamond 2 {NRM}- Shows the second page of products that contain diamond in their names.
reload: |
{CMD}/shop reload
{NRM}Restarts the plugin.
{NRM}Reloads config.yml and the database.
{NRM}Does not reload messages.yml (restart the server to do this).
remove: |
{CMD}/shop remove {BKT}<{PRM}id{BKT}>[{CMD}:{BKT}<{PRM}subtype{BKT}>]
{NRM}Removes an item from the shop.
sell: |
{CMD}/shop buy {BKT}<{PRM}id{BKT}>[{CMD}:{BKT}<{PRM}subtype{BKT}>] [{PRM}amount{BKT}]
{PRM}amount {NRM}is the number of bundles you want to sell.
{NRM}If {PRM}amount {NRM}is not specified it defaults to 1.
update: |
{CMD}/shop update {BKT}<{PRM}id{BKT}>[{CMD}:{BKT}<{PRM}subtype{BKT}>] <{PRM}tags{BKT}>
{NRM}Changes the characteristics of an item.
{NRM}See also: {CMD}/shop help tags
tag:
baseprice: |
{CMD}basePrice:{BKT}<{PRM}basePrice{BKT}> {NRM}- Base purchase price.
{NRM}Base price of the item at stock level 0.
{NRM}All other prices are derrived from this starting value.
{NRM}Referenced by salesTax, stock, volatility.
{NRM}Limited by minPrice and maxPrice.
buyable: |
{CMD}buyable:{BKT}<{PRM}T/F{BKT}> {NRM}- Buyability of an product.
{NRM}Use to allow buying an product from the shop.
{NRM}Set to Y or T to allow buying the product from the shop.
{NRM}Set to N or F to prohibit buying the product from the shop.
default: |
{NRM}Tag format: {BKT}<{PRM}tagName{BKT}>{CMD}:{BKT}<{PRM}value{BKT}> <{PRM}tagName{BKT}>{CMD}:<{PRM}value{BKT}>{NRM}...
{NRM}Available tags: basePrice, salesTax, canBuy, canSell, volitility,
{NRM}stock, maxStock, minStock, maxPrice, minPrice, buyable, sellable.
{NRM}Use {CMD}/shop help tag {BKT}<{PRM}tagName{BKT}> {NRM}for tag descriptions.
#Available variables: tag.
invalid: |
{PRM}$tag$ {ERR}is not a valid tag!
{NRM}Use {CMD}/shop help tags {NRM}to list all of thevalid tags.
maxprice: |
{CMD}maxPrice:{BKT}<{PRM}maxPrice{BKT}> {NRM}- Highest price.
{NRM}The price will never go above maxPrice.
maxstock: |
{CMD}maxStock:{BKT}<{PRM}maxStock{BKT}> {NRM}- Highest stock level.
{NRM}If maxStock is reached, customers will no longer be able to sell the product.
minprice: |
{CMD}minPrice:{BKT}<{PRM}minPrice{BKT}> {NRM}- Lowest price.
{NRM}The price will never go below minPrice.
minstock: |
{CMD}minStock:{BKT}<{PRM}minStock{BKT}> {NRM}- Lowest stock level.
{NRM}If minStock is reached, customers will no longer be able to buy the product.
salestax: |
{CMD}salesTax:{BKT}<{PRM}salesTax{BKT}>
{NRM}Percent difference in buy and sell price in decimal format.
{NRM}buyPrice = sellPrice + {BKT}({NRM}sellPrice * salesTax{BKT})
{NRM}salesTax is applied before maxPrice and minPrice.
sellable: |
{CMD}sellable:{BKT}<{PRM}T/F{BKT}> {NRM}- Sellability of an product.
{NRM}Use to allow players to sell the product to the shop.
{NRM}Set to Y or T to allow players to sell the product to the shop.
{NRM}Set to N or F to prohibit players from selling the product to the shop.
stock: |
{CMD}stock:{BKT}<{PRM}stock{BKT}> {NRM}- Current stock level.
{NRM}Stock level of this item in bundles.
{NRM}Decreases or increases when products are bought or sold.
{NRM}Affects buy and sell prices, if volatility > 0.
{NRM}Limited by minStock and maxStock.
volatility: |
{CMD}volatility:{BKT}<{PMR}volatility{BKT}> {NRM}- Price volatility.
{NRM}Percent price increase in decimal format per bundle bought.
{NRM}0 prevents the price from changing with the stock level {BKT}({NRM}flat pricing{BKT}){NRM}.
{NRM}1 increases the price by 100% per each bundle bought.
{NRM}0.01 increases the price by 1% per each bundle bought.
{NRM}Calculations are compound versus current stock level.
import:
failure: "{ERR}Import FAILED!"
success: "{NRM}Import successful."
list:
# Available variables: page.
no_results: "{ERR}No such products are available!"
page:
# Available variables: page.
negative: "{ERR}You must specify a positive page number!"
# Available variables: page.
non_numeric: "{PRM}$page$ {ERR}is not a page number!"
# Available variables: page.
too_high: "{ERR}There aren't that many pages!"
reload:
before: "{NRM}Reloading."
after: "{NRM}Reloaded."
remove:
# Available variables: product & shop.
success: "{PRM}$product$ {NRM} is no longer sold at {PRM}$shop${NRM}."
sell:
no_space: "{ERR}The shop doesn't have enough of that to sell to you."
transaction:
amount:
# Available variables: amount.
non_numeric: "{PRM}$amount$ {ERR}is not a valid amount!"
update:
# Available variables: product.
success: "{PRM}$product$ {NRM}has been successfully updated."
flag:
non_numeric: "{ERR}Invalid flags, some of the update may have been successful."