Commit Graph

65 Commits

Author SHA1 Message Date
Teriuihi 84fe7237be Added support for unbreaking with lava damage
Buffed fire protection
2023-09-28 02:50:38 +02:00
Teriuihi 6debaf32bf Replaced 63 with Material.FISHING_ROD.getMaxDurability(); 2023-09-28 02:13:51 +02:00
Teriuihi 27af918829 Removed todo that was solved in a different way 2023-09-28 02:12:12 +02:00
Teriuihi 75d417da44 Fixed repairing
- charges money now
- correctly checks if they already have it repaired enough
- repairs to the correct value
2023-09-28 02:11:45 +02:00
Teriuihi 173324c68f Prevent lava fishing and the start of lava fishing from having multiple active instances per player 2023-09-28 01:48:21 +02:00
Teriuihi dc6a233c1b Assign actual enchant levels when starting LavaFishing 2023-09-28 01:26:54 +02:00
Teriuihi 54556d3ea5 Added the ability for upgrade npc to repair as well 2023-09-28 01:19:17 +02:00
Teriuihi 4e2d82a0aa Made fish generator work for both fish types
Load lava fish
Change from title messages to action bar messages
2023-09-27 23:40:01 +02:00
Teriuihi c971e11d9f Implemented lava fishing 2023-09-27 23:27:43 +02:00
Teriuihi 49fdb5a602 Initialize scoreboard before starting saving task involving scoreboard so its created on the main thread 2023-09-27 21:38:27 +02:00
Teriuihi 73af8a8243 Fixed setting multiple locations per villager 2023-09-27 21:36:05 +02:00
Teriuihi fb577b7b72 Made it so you can have multiple locations per NPC 2023-09-26 23:53:52 +02:00
Teriuihi e576c1cc33 Implemented a max point limit per rarity for fish that are too long 2023-09-26 23:50:11 +02:00
Teriuihi 510d5130aa Fixed spelling error 2023-09-26 23:44:51 +02:00
Teriuihi 7baf9a7f97 Added more information to upgrade items and notify players of what they upgraded and their remaining points after they purchase an upgrade 2023-09-26 23:26:02 +02:00
Teriuihi c42886b15a Added price to item lore for prize 2023-09-26 23:14:56 +02:00
Teriuihi 16bea6d0f9 Notify players when there is a new player in first place 2023-09-25 23:21:29 +02:00
Teriuihi 12e7dee374 Display position in scoreboard and fix sorting for top 10 2023-09-25 23:12:11 +02:00
Teriuihi df48d5da87 Save every minute instead of every 5 2023-09-25 23:04:37 +02:00
Teriuihi 9059a1f3d5 Fix rarity for everything that needs it as a component 2023-09-25 23:03:55 +02:00
Teriuihi c5cca1c5aa Made rarity be able to use <tags> in the name for colors
Made Sell window bigger so a whole inventory fits in it
2023-09-25 22:15:50 +02:00
Teriuihi 7b818cb126 Implemented timer and commands to start/stop the event
Prevent players from fishing while the event is not active
2023-09-25 22:05:29 +02:00
Teriuihi 430e827e32 Added logging top 10 PlayerScore in case of crash 2023-09-25 03:45:55 +02:00
Teriuihi bb01068080 Moved PlayerScore 2023-09-25 03:41:58 +02:00
Teriuihi 7573ca71c5 Implemented scoreboard 2023-09-25 03:35:48 +02:00
Teriuihi fb511d27e2 Reworked fish rarities to allow fishes to be caught in both water and lava and make the rarities easier to configure 2023-09-25 02:00:30 +02:00
Teriuihi 9a8a38f4a4 Fixed bug that prevented stacked items from being returned if they weren't sellable 2023-09-25 00:15:36 +02:00
Teriuihi 46edaf59fb Run save task when the server closes 2023-09-25 00:00:32 +02:00
Teriuihi de164e6d69 Backup current saved data just incase 2023-09-24 23:59:26 +02:00
Teriuihi b611e4b206 Updates default already have fishing rod message 2023-09-24 23:12:39 +02:00
Teriuihi 569e6a3334 Fixed messages for npc's and made the left/right click actions more consistent 2023-09-24 23:07:42 +02:00
Teriuihi 7960cece04 Enabled loading/saving points data 2023-09-24 22:53:30 +02:00
Teriuihi 6046fdb15a Fix default fishing rod name 2023-09-24 20:01:22 +02:00
Teriuihi a7a49fcb72 Double-check a player can't buy the same enchant twice 2023-09-24 05:17:54 +02:00
Teriuihi bbd4c6d99b Don't allow players to buy the same prize twice 2023-09-24 05:15:42 +02:00
Teriuihi 6de8d07e34 Fixed upgrading enchantments 2023-09-24 05:07:34 +02:00
Teriuihi a904e0cfa5 Ensure points are properly assigned if a user somehow gets duplicate fish 2023-09-24 04:49:42 +02:00
Teriuihi e77485ea68 Fix error when closing if player had another inventory open (not the gui) 2023-09-24 04:33:15 +02:00
Teriuihi 94158019bc Notify players when they don't have enough points after the initial check
Fix points check checking if they have more than they need instead of less
2023-09-24 04:26:01 +02:00
Teriuihi 803e4d3d3d Only notify player of points earned if they earned more than 0 2023-09-24 04:25:06 +02:00
Teriuihi d00b9b195a Moved todo to the right place 2023-09-24 04:01:08 +02:00
Teriuihi 1c135be1ba Implemented buying prizes 2023-09-24 00:32:44 +02:00
Teriuihi 31b3cc69e4 Register GUI listener 2023-09-22 02:37:05 +02:00
Teriuihi b79540e317 Update inventory after adding items back 2023-09-22 02:36:56 +02:00
Teriuihi 7f547bff68 Update inventory after adding items back 2023-09-22 02:36:47 +02:00
Teriuihi fab02637f4 Load npc location config 2023-09-22 02:22:00 +02:00
Teriuihi 6c6528b180 Initialize NPC lib 2023-09-22 02:21:53 +02:00
Teriuihi d5ef8cbc18 Added sell type 2023-09-22 02:21:38 +02:00
Teriuihi 4d8a4772d7 Fixed open being called async 2023-09-22 02:21:31 +02:00
Teriuihi c19f30b0e5 Added missing SellType npc 2023-09-22 02:21:21 +02:00