Blacksmith: Difference between revisions
From Citizens Wiki
(Created page with "FILL THIS PAGE! <br>~~~~") |
No edit summary |
||
Line 1: | Line 1: | ||
=Configuration= | |||
< | The configuration file for Blacksmiths is found in ''/plugins/Blacksmith/config.yml'' and is generated automatically when not present. | ||
==Example Configuration== | |||
Mouseover each section to view it's description. | |||
<nowiki></nowiki># Blacksmith Configuration | |||
<nowiki></nowiki>{{H:title|Base-prices block|base-prices:}} | |||
{{H:title|Default base price. All other prices will be based off of this|default: 10}} | |||
<nowiki></nowiki>{{H:title|Default settings block, most can be changed per-NPC|defaults:}} | |||
{{H:title|Messages block. All messages that are sent to the player involving the blacksmith|messages:}} | |||
{{H:title|Message sent to the player(s) when the blacksmith is already working on something|busy-with-player: <c>I'm busy at the moment. Come back later!}} | |||
{{H:title|Message sent to the player who gave the blacksmith the item it is working on|busy-with-reforge: <c>I'm working on it. Be patient!}} | |||
{{H:title|Message sent to the player during the cool down period|cooldown-not-expired: <c>You've already had your chance! Give me a break!}} | |||
{{H:title|Message sent to the player to confirm they want to reforge the item|cost: <nowiki><e>It will cost <a><price> <e>to reforge that <a><item><e></nowiki>! Click again to reforge!}} | |||
{{H:title|Message sent to the player when the reforge fails|fail-reforge: <nowiki><c></nowiki>Whoops! Didn't mean to do that! Maybe next time?}} | |||
{{H:title|Message sent to the player when they don't have enough money to complete the reforge|insufficient-funds: <nowiki><c></nowiki>You don't have enough money to reforge that item!}} | |||
{{H:title|Message sent to the player when they try to reforge an invalid item|invalid-item: <nowiki><c></nowiki>I'm sorry, but I don't know how to reforge that!}} | |||
{{H:title|Message sent to the player when the reforge starts|start-reforge: <nowiki><e></nowiki>Ok, let's see what I can do...}} | |||
{{H:title|Message sent to the player when the reforge is successful|successful-reforge: <nowiki><a></nowiki>There you go! All better!}} | |||
{{H:title|The percent chance of the reforge failing|percent-chance-to-fail-reforge: 10}} | |||
{{H:title|Delays block. Determines delays for blacksmith usage|delays-in-seconds:}} | |||
{{H:title|Maximum time it will take to reforge an item|maximum: 30}} | |||
{{H:title|Minimum time it will take to reforge an item|minimum: 5}} | |||
{{H:title|Time the player has to wait after reforging something before trying again|reforge-cooldown: 60}} | |||
<nowiki></nowiki>{{H:title|Enchantment modifiers block|enchantment-modifiers:}} | |||
{{H:title|Price modifiers for each enchantment|default: 5}} |
Revision as of 18:39, 21 February 2012
Configuration
The configuration file for Blacksmiths is found in /plugins/Blacksmith/config.yml and is generated automatically when not present.
Example Configuration
Mouseover each section to view it's description.
# Blacksmith Configuration base-prices: default: 10 defaults: messages: busy-with-player: <c>I'm busy at the moment. Come back later! busy-with-reforge: <c>I'm working on it. Be patient! cooldown-not-expired: <c>You've already had your chance! Give me a break! cost: <e>It will cost <a><price> <e>to reforge that <a><item><e>! Click again to reforge! fail-reforge: <c>Whoops! Didn't mean to do that! Maybe next time? insufficient-funds: <c>You don't have enough money to reforge that item! invalid-item: <c>I'm sorry, but I don't know how to reforge that! start-reforge: <e>Ok, let's see what I can do... successful-reforge: <a>There you go! All better! percent-chance-to-fail-reforge: 10 delays-in-seconds: maximum: 30 minimum: 5 reforge-cooldown: 60 enchantment-modifiers: default: 5