Item Cost Calculator will allow administrators to more accurately price items in their shops (e.g. GUI Shop, Server Rewards).
Note: This plugin does NOT add items to the shops. So you will still need to go in and add items to the applicable shops. (Just copy & paste...)
Features
- Inspects each item in the game, breaks down the components needed to make it, and prices the item based on the values set for components in the config file.
- Any item could be placed in the config and that is the price it will have, furthermore if that item is a component of a different item it will become part of the multiplier.
- GatherRateOffset setting that can be set to increase cost based on server gather rates. Setting this value at 2 would double prices. Setting it at 3 would triple prices.. etc.
- RarityList which is adds the ability to specify additional weight to an item.By adding an items shortname and a numerical value it will add additional cost to the item as a percentage. For example, if a hammer requires 100 wood and wood is set at 1 (in the config materials list) it would cost 100 "currency" to buy. If you added hammer and 50 to the rarityList it would then calculate the price of a hammer at a 50% increase of 150 "currency". Conversly if you added hammer and 0 to the rarityList Its price will not change.
Console Commands
- costfile shop [language] -- Create its cost data file for GUIShop. You need to put it in the config of GUIShop. If you want to use the language option, you must load the RustTranslationAPI plugin. e.g. costfile shop zh-cn
- costfile reward [language] -- Create its cost data file for ServerRewards. You need to put it in the reward_data.json of ServerRewards. If you want to use the language option, you must load the RustTranslationAPI plugin. e.g. costfile shop zh-cn
- costfile ingredients -- Create ingredient lists for items.
Note: This plugin does NOT add items to the shops. So you will still need to go in and add items to the applicable shops. (Just copy & paste...)