Kam
5afa1c8959
Auction System Implementation
2026-01-23 21:53:12 -05:00
Kam
a9b602713c
Large Cleanup to Code Imports and Formatting
2026-01-22 23:07:38 -05:00
Kam
19b01e2099
Compress Script Hooks and Context System
2026-01-22 14:27:48 -05:00
bigguy345
d835d2acb0
Migrated all EffectScript.ScriptType hooks to EnumScriptType
2026-01-22 20:48:17 +02:00
bigguy345
3f8373d76f
Merge branch 'dev' into janino-scripts
2026-01-22 19:53:18 +02:00
Kam
d0dc8a4578
Trader System + Stocks Implemented
...
- Removed Auction System Temporarily for Full Rebase
2026-01-22 12:38:56 -05:00
Kam
04e2a57cb4
Auction Merge
2026-01-20 21:07:18 -05:00
bigguy345
fd0e20f364
Made ScriptContext class based instead
2026-01-13 19:03:01 +02:00
Kam
71dba15270
Add Script Context and better parsing for d.ts handling
2026-01-13 19:02:52 +02:00
Kam
166c8aa228
Ability Push
2026-01-09 15:29:00 -05:00
Claude
740c2852e5
Refactor auction system: consolidate controllers, add lang keys, remove categories
...
- Consolidate AuctionLogger and AuctionNotificationController into AuctionController
- Add inline logging and notification methods to AuctionController
- Add comprehensive LANG keys for all auction GUI strings
- Update EnumAuctionSort and EnumAuctionDuration to use lang keys
- Remove category filtering system (EnumAuctionCategory deleted)
- Update AuctionFilter to remove category references
- Update GuiAuction and all sub-GUIs to use StatCollector.translateToLocal()
- Update AuctionListing to remove category field and NBT serialization
2026-01-04 10:26:56 +00:00
Claude
d09c6b0c81
Add auction filtering and sorting system
...
New files:
- EnumAuctionSort: Sorting options (price, time, name, bids, etc.)
- AuctionFilter: Search/filter criteria with builder pattern
- AuctionDataPacket: Large packet for server->client listing data
AuctionController changes:
- getFilteredListings(): Main filtering/pagination method
- sortListings(): Comprehensive sorting by various criteria
- quickSearch(): Convenience method for simple searches
- FilterResult: Pagination result container
AuctionListing changes:
- Added bidCount field with NBT persistence
- Added creationTime alias methods
AuctionActionPacket changes:
- QueryListings: Filter-based search
- QueryMyListings: Player's own listings
- QueryMyBids: Player's active bids
- QueryClaimable: Items ready to claim
NoppesUtil changes:
- Auction data storage and IAuctionData interface
- Client-side data handling for GUI integration
2026-01-04 09:33:29 +00:00
Claude
c1dc58ae54
Implement Phase 4: Auction House core system
...
- Add auction enums:
- EnumAuctionDuration.java - configurable auction durations (SHORT/MEDIUM/LONG/VERY_LONG)
- EnumAuctionStatus.java - listing statuses (ACTIVE/SOLD/EXPIRED/CANCELLED/CLAIMED)
- EnumAuctionCategory.java - auto-categorization of items for browsing
- Add AuctionListing.java data class:
- Complete auction listing with seller/bidder tracking
- Pricing with starting price, buyout price, current bid
- Timing with snipe protection (extends TO X minutes, not by)
- Item validation (checks trade restrictions and blacklist)
- Previous bidder tracking for refund notifications
- NBT serialization for persistence
- Add AuctionController.java:
- Global auction house management
- Create/cancel/finalize listings
- Bid placement with automatic outbid refunds via claims system
- Buyout support with immediate sale
- Claim system for sellers (proceeds) and buyers (items)
- Search and filter by category/name
- Periodic expiration processing
- Persistence via auctions.dat
- Add RoleAuctioneer.java NPC role:
- Configurable tabs (listings, my listings, my bids, claims)
- Configurable permissions (create, bid, buyout)
- Custom welcome/disabled messages
- Opens auction GUI on interaction
- Update ConfigMarket.java:
- Duration-specific settings (hours and fees)
- Removed deprecated AvailableDurations string
- Update EnumRoleType.java - add Auctioneer
- Update EnumGuiType.java - add PlayerAuction, SetupAuctioneer
- Update DataAdvanced.java - handle Auctioneer role creation
- Update CustomNpcs.java - initialize AuctionController
2026-01-04 08:43:55 +00:00
Claude
c9f77bed05
Implement Phase 2: Trader Enhancements with stock and currency system
...
- Add EnumStockReset.java for stock reset timing types
- NONE, MCDAILY, MCWEEKLY, MCCUSTOM (MC time)
- RLDAILY, RLWEEKLY, RLCUSTOM (real time)
- Helper methods for interval calculation and display formatting
- Add TraderStock.java for stock management
- Per-slot stock limits with -1 for unlimited
- Per-player vs per-server stock tracking modes
- Automatic reset timer with configurable intervals
- PlayerTraderStock inner class for per-player tracking
- NBT serialization for persistence
- Modify RoleTrader.java to support stock and currency
- Add TraderStock instance for stock management
- Add useCurrency flag and slotPrices array for virtual currency
- Auto-check for stock reset on interact()
- Helper methods: hasStock(), getAvailableStock(), consumeStock()
- Helper methods: getSlotPrice(), setSlotPrice(), hasSlotPrice()
- getTimeUntilResetFormatted() for GUI display
- Modify ContainerNPCTrader.java for transactions
- Check stock availability before purchase
- Handle virtual currency purchases via CurrencyController
- Fall back to item-based currency when useCurrency disabled
- Consume stock after successful purchase
2026-01-04 08:29:03 +00:00
Kam
11e326de48
Add mount role for NPCs with rider controls
2025-11-06 00:20:22 -05:00
Kam
578a6ec43a
Manual Positioning
2025-04-15 20:02:34 -04:00
Kam
c8bd3b0c55
Revert "Manual Diagram Type"
...
This reverts commit 0755c44746 .
2025-04-15 19:37:22 -04:00
Kam
0755c44746
Manual Diagram Type
2025-04-15 18:34:43 -04:00
Kam
53441bb2d8
Particles
2025-03-19 00:57:41 -04:00
luisc
5af8a15de7
Removed "id" field from EnumAnimationPart
2025-03-17 17:05:04 -05:00
Kam
3e10207b41
Magic Book Item + Magic Player Packets
2025-03-14 20:32:26 -04:00
Kam
180d257024
Proper Reformating
2025-03-13 17:14:45 -04:00
Kam
382fb0cf9c
Modifiable Magic Data in PlayerData tab
2025-03-07 16:00:06 -05:00
Kam
67a1650fb6
Profile Events
2025-03-06 01:24:51 -05:00
Kam
f0547cf876
Magic Diagram Viewer
2025-03-04 21:03:36 -05:00
Kam
1f17c6638e
Gui Magic Cycle
2025-03-04 17:41:17 -05:00
Kam
ffaf21d3d8
Magic Editor Sub GUI
2025-03-04 16:34:18 -05:00
Kam
4e6d6b7082
Magic Packet Fixes
2025-03-03 23:03:12 -05:00
Kam
9d288e9d09
Remove ScrollGroup Packet
2025-03-03 18:44:05 -05:00
Kam
58ff772e3c
Magic GUI WIP Push
2025-03-03 05:13:07 -05:00
Kam
9f71370c1f
Add Langs
2025-02-21 16:44:40 -05:00
Kam
40154f9c53
Quest Profile Options
2025-02-21 06:19:24 -05:00
Kam
2141c5c4ca
Custom Quest Cooldowns / Shared Profile Cooldowns + Profile Packet Fixes
2025-02-20 22:19:21 -05:00
Kam
c3538836be
Optimize Imports
2025-02-20 21:40:39 -05:00
Luis C.M.
972e930b31
Implemented anvil repair and item destroyed events for custom items and linked items
2025-02-17 21:39:18 -06:00
Luis C.M.
90bd8aeb02
Implemented version change and build events for linked items
2025-02-17 18:01:11 -06:00
Kam
cb2c7910cf
Brush Editor
2025-02-13 02:09:50 -05:00
luisc
00af353e65
Merge remote-tracking branch 'refs/remotes/origin/packet' into animation-events-2
...
# Conflicts:
# src/api
# src/main/java/noppes/npcs/CommonProxy.java
# src/main/java/noppes/npcs/ServerEventsHandler.java
# src/main/java/noppes/npcs/client/PacketHandlerClient.java
# src/main/java/noppes/npcs/client/gui/global/GuiNPCManageAnimations.java
# src/main/java/noppes/npcs/controllers/data/AnimationData.java
2025-02-11 16:53:36 -06:00
Kam
d2c7e634ec
Fix Packets for Effects + Syncing
2025-02-10 16:38:50 -05:00
Kam
9cda5503ed
Anvil Recipes Beginning
2025-02-09 20:49:45 -05:00
Kam
0f948a9d62
Script Packets
2025-02-02 23:15:53 -05:00
Kam
04fc429a53
Merge branch 'packet' of https://github.com/KAMKEEL/CustomNPC-Plus into packet
2025-02-02 22:47:44 -05:00
Kam
d11f72eb0d
More THings
2025-02-02 22:47:40 -05:00
somehussar
c55ef6d0fc
Register packets
2025-02-03 04:45:03 +01:00
somehussar
4143298da3
Merge remote-tracking branch 'upstream/packet' into packet
2025-02-03 04:33:10 +01:00
somehussar
10f12ad036
Get NPC Role packet
2025-02-03 04:32:59 +01:00
Kam
a41a320676
Merge branch 'packet' of https://github.com/KAMKEEL/CustomNPC-Plus into packet
2025-02-02 22:31:43 -05:00
Kam
9841d158ff
Cloner Packets
2025-02-02 22:31:39 -05:00
somehussar
a5c3c6768b
CompanionActionPacket
2025-02-03 04:29:07 +01:00
somehussar
ea1f5b259d
Dialog packet
2025-02-03 04:16:24 +01:00