Commit Graph

192 Commits

Author SHA1 Message Date
012d1df099 Allows 0 for positive integers and doubles
It wasn't possible to set extra enchantment chance to 0. This fixes that problem.
2022-11-04 21:31:56 +01:00
10bfd29468 Removes outdated presets for the reforgeAbleItems list 2022-10-26 21:02:36 +02:00
849e9d7a9d Adds Economy plugin to dependencies to prevent confusion 2022-10-26 20:33:44 +02:00
89d1f79f7d Improves description of the reforge-able items format 2022-10-26 20:20:35 +02:00
36e254c0df Fixes README formatting creating an unintended space 2022-10-26 20:08:34 +02:00
05440e66a0 Bumps version to 1.0.1 2022-10-26 19:51:33 +02:00
4d740521f3 Fixes tab-completion when editing default messages 2022-10-25 19:45:45 +02:00
b38cfbe710 Improves description of unsetting per-material/enchantment costs 2022-10-25 18:46:12 +02:00
cc7d66f270 Fixes several bugs and problems
Fixes getting the name of enchantments
Fixes inconsistencies in material and enchantment name-checking
Allows using "null" or "-1" to unset per-material or per-enchantment configuration options
Fixes a bug where basePrice was set to a material name instead of the price for the material being displayed
Adds missing tab-completion for material/enchantment costs
Prevents inconsistencies in deciding if a value is null
2022-10-24 13:57:58 +02:00
39e164c9c8 Implements language selection properly
Adds a configuration option for the plugin language
Loads the selected language instead of always loading "en"
Makes sure the language is updated upon reloading
2022-10-21 00:46:01 +02:00
9f433cb0f1 Fixes some bugs regarding displaying the exact time remaining 2022-10-20 12:03:16 +02:00
64004e4267 Fixes some problems in the calculation of the remaining cool-down time 2022-10-18 13:09:38 +02:00
3c677c18cb Makes sure to invalidate sessions properly
Sessions are invalidated if the player leaves the NPC or if 10 seconds pass, but only if the blacksmith isn't currently reforging.
2022-10-18 12:44:35 +02:00
9b1480453b Adds missing descriptions for some new config options 2022-10-18 12:34:01 +02:00
f075adafd7 Adds license files and language customization info 2022-10-18 12:19:29 +02:00
e9b5fc316d Removes some legacy unused files 2022-10-18 12:01:02 +02:00
8326da5425 Removes nodeName and uses commandName instead 2022-10-18 11:56:54 +02:00
154c17b2c6 Improves un-setting of NPC values #10 2022-10-18 11:41:25 +02:00
430c168de5 Adds HELMET, BOOTS, LEGGINGS and CHESTPLATE filters 2022-10-18 10:59:39 +02:00
dbdb38d158 Adds support for randomly selecting a time interval entry #11 2022-10-15 11:30:53 +02:00
0357de1cf7 Adds most of the code necessary for #11 2022-10-14 21:45:57 +02:00
0c6a28d7df Adds blacksmith title #9 2022-10-14 11:28:00 +02:00
4fa47349c6 Removes unnecessary options #8
Removes the DISABLE_COOL_DOWN option
Removes the DISABLE_DELAY option
Uses the old DISABLE_COOL_DOWN behavior if cool-down is set to 0 or below
Uses the old DISABLE_DELAY behavior if max-delay is set to 0 or below
2022-10-14 00:33:39 +02:00
12f807060e Implements a mix of #3 and #7
Adds a preset command which can be used to see available presets
Adds preset filters which can be used to specify item sub-categories within a preset
Removes SWORD_SMITH and RANGED_SMITH, as those are replaced by the RANGED and SWORD filters
Adds a list of usable filters for each preset
2022-10-13 18:40:38 +02:00
6a55300c1e Updates README to mirror recent behavioral changes 2022-10-12 13:37:25 +02:00
b3128c0525 Improves README by using tables 2022-10-12 13:31:35 +02:00
907389f978 Saves NPCs immediately after they are changed
Additionally:
Updates Citizens dependency to the newest version
Removes some redundancy in NPC settings' path
2022-10-07 17:14:58 +02:00
fb483a4c2a Makes /blacksmith for an unset value display the default value instead of "null" 2022-10-07 16:17:32 +02:00
878ad3aa67 Makes sure blacksmith messages include all arguments 2022-10-07 16:05:36 +02:00
7d682c93b4 Adds some important TODOs 2022-10-07 02:09:45 +02:00
30bddfa9c8 Adds possibility for message customization and translation #5 2022-10-03 18:15:38 +02:00
3d333c6406 Fix for #6 2022-10-03 15:41:00 +02:00
505d6bfb2b Adds a new check for items with full durability (#4) 2022-10-03 13:03:21 +02:00
5897f68b42 Updates API version to 1.19 2022-10-03 12:50:56 +02:00
2489cac8db Changes configuration values to lower camelcase
Also fixes some grammar mistakes related to the word reforge
2022-10-03 12:39:15 +02:00
9ffd788e29 Restricts raw value output to messages 2022-10-03 12:15:18 +02:00
7bf9e062a2 Adds a permission for usage, and updates to 1.19.2 2022-10-03 00:11:39 +02:00
cbe5a9c02a Adds proper information in the README 2022-10-03 00:11:02 +02:00
b8ec805f1c Improves random enchantment level logic 2022-10-02 23:50:07 +02:00
f058f4eec8 Fixes reforge-able items and displaying color formatting codes 2022-10-02 21:03:17 +02:00
a6e9163dbd Adds tons of changes to messages 2022-09-29 01:49:12 +02:00
3cfa7a2a0a Adds ability to display current value of blacksmith commands 2022-09-19 15:05:22 +02:00
f3169c9255 Adds some unfinished changes for improving blacksmith commands 2022-09-05 13:51:41 +02:00
e1191dad7d Splits the blacksmith command into two commands, and much more 2022-08-19 19:08:54 +02:00
755db8c497 Adjusts output of blacksmith setting messages 2022-08-08 20:08:39 +02:00
1dea0f6c6a Adds a response message when a setting has been changed, and adds some coloring 2022-08-08 19:33:51 +02:00
64617accf8 Makes sure only intended items are re-forge-able, and changes version to 1.0.0 2022-08-08 19:27:54 +02:00
7dc2228781 Makes sure to use the name enchantment cost internally 2022-08-08 18:48:46 +02:00
4be950a327 Displays a warning when encountering unknown materials or enchantments 2022-08-08 18:45:28 +02:00
9d28f89c15 Makes sure to copy the default config 2022-08-08 18:38:21 +02:00