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
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
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
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
cc39f8879a
Improves code structure, and performs some necessary work for commands
2022-08-08 14:14:42 +02:00
c557d969b7
Majorly changes most plugin code
...
Changes the entire settings structure
Splits settings into NPC settings and global settings
Adds some command classes in preparation for a new command system
Moves a lot of code away from BlacksmithPlugin
Adds a new EconomyManager class which takes care of everything economy and pricing
Removes HyperConomy softdepend
Changes the reload command to /blacksmith reload
Adds a proper configuration file to make possible to change stuff without a bloody wiki
2022-08-07 01:21:47 +02:00
e2b167e020
Major changes
...
Removes HyperConomy support
Removes Paper dependency
Builds against Spigot 1.19.1
Adds a lot of comments
Improves some code
2022-08-05 17:07:16 +02:00
3870ead92f
Changes package name to net.knarcraft
2022-07-19 02:41:01 +02:00
555d405bcc
Removes some redundant code
2022-07-19 02:38:35 +02:00
781999c995
Style improvements and cost calculation alternative
...
This commit adds a lot of missing comments, and fixes a lot of bad formatting. Some spelling errors have also been fixed.
Warning: This commit changes the name of some config values. Existing configurations will be broken!
This commit also adds a natural cost option, which defaults to true. With natural cost turned on, the cost of repairing an item will increase with each damage the item has taken, rather than the cost decreasing for every damage taken.
2022-07-19 01:25:42 +02:00
2b321993d7
Cleans comments and code mess in BlacksmithTrait
2022-07-16 14:56:29 +02:00
b16bb933e2
Prevents an exception caused by enchantment start level being higher than enchantment max level
2022-07-11 17:35:47 +02:00
348a404066
Prevents players from equipping armor when right-clicking a Blacksmith
2022-02-02 00:36:15 +01:00
d82121a3ef
Updates some terrible code structure and fixes the durability updating
2022-02-01 22:24:39 +01:00
a65a58fb10
Fixes the handling of calculating durability
2022-02-01 20:23:55 +01:00
049b2c89d7
Adds some missing tools and armor
2022-02-01 20:07:52 +01:00
a2155e2654
Updates depreciated code, and fixes code style
2022-02-01 19:52:41 +01:00
Тимофей Бирюков
915876f7d2
update some deprecated
2021-02-25 20:49:27 +03:00
Тимофей Бирюков
1f6e267753
15.2 v0.8
2021-02-25 18:36:02 +03:00
mcmonkey
bc1b5a3559
minimal update to 1.13
2018-10-12 12:00:54 -07:00
HurricanKai
b60d9cef0d
Fixed Dropitem
2017-07-31 12:20:32 +02:00
HurricanKai
9760a1da4d
Trying to find out why drop item isnt loading
2017-07-31 12:12:56 +02:00
HurricanKai
187f02068e
Update for 1.12
...
Fixed for 1.12
removed CitizensAPI dependency
added disabledelay
added disablecooldown
fixed drop-item
2017-07-31 11:53:59 +02:00
instinx
38d2525015
Changed price for reforge. Explore way to link it to Hyperconomy to get item prices.
2012-06-02 02:11:27 -04:00
aPunch
a4c342c545
Fix bugs, refactor a bit
2012-04-11 14:54:11 -05:00
aPunch
0f60be96ad
Missing @Override
2012-04-07 20:09:32 -05:00
aPunch
a14fb5b5b4
Change
2012-03-20 20:31:03 -05:00
aPunch
46810ddf0e
Remove ant files
2012-03-20 20:29:06 -05:00
aPunch
e5bbe641ed
Convert to maven
2012-03-20 20:10:32 -05:00