Commit Graph

51 Commits

Author SHA1 Message Date
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
Teriuihi 1c0bd3f037 Added missing debug message 2023-09-22 02:21:13 +02:00
Teriuihi 67a0871ae5 Fixed npc's not being visible 2023-09-22 02:20:59 +02:00
Teriuihi d453072465 Added plugin instance directly from config instead of adding it later 2023-09-22 01:46:14 +02:00
Teriuihi a385684eff Fixed argument numbers being one too high 2023-09-22 01:45:55 +02:00
Teriuihi 4f53fa1330 Fixed missing plugin instance for Fishes 2023-09-22 01:33:36 +02:00
Teriuihi bae943b0d7 Spawn all npc's 2023-09-22 01:33:21 +02:00
Teriuihi 6f8debde93 Added points command 2023-09-22 01:29:55 +02:00
Teriuihi feca8ec77c Added todo 2023-09-22 01:19:25 +02:00
Teriuihi f7ee3841f7 Notify player how much they earned
Set owner of dropped items so no one else can pick them up
2023-09-22 01:18:19 +02:00
Teriuihi 12f37d471e Removed unused imports 2023-09-22 01:09:54 +02:00
Teriuihi ccf0f31be6 Made Sell window 2023-09-21 22:55:41 +02:00
Teriuihi f7088a89f3 Changed upgrading to require points and use tracks 2023-09-21 02:48:47 +02:00
Teriuihi e50bf5a4b2 Added NPC location config 2023-09-21 00:18:35 +02:00
Teriuihi 140a0f0e97 Created NPC types and created the config needed to load them 2023-09-21 00:18:10 +02:00