bigguy345
5bc3e5451a
Lowered static penalty for strong prefix matches (so it pops to the top)
2026-01-04 17:53:16 +02:00
bigguy345
6e602c45a9
Penalized auto complete static members when in a non-static context
2026-01-04 17:50:27 +02:00
bigguy345
7b7667f2c5
Autocomplete suggestions UsageTracker implementation
2026-01-04 17:35:25 +02:00
bigguy345
a496061455
Added auto complete strict matching for non-member access first word.
...
i.e "Event" can only show words that start with Event, not contains it
2026-01-04 16:00:48 +02: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
a1de79053b
Implement Phase 6: GUI components, notifications, and logging system
...
Add auction GUI components:
- GuiAuction: Main auction browse interface with search, categories,
sorting, pagination, and live countdown timers
- SubGuiAuctionBid: Bid placement dialog with quick bid buttons
- SubGuiAuctionCreate: Listing creation form with duration options
- SubGuiAuctionDetails: Item details view with 2x scaled rendering
- ContainerAuction: Container class for auction GUI inventory
Add notification system:
- AuctionNotificationController: Handles real-time notifications
- Supports outbid, won, sold, expired, cancelled events
- Queues notifications for offline players
- Sends pending notifications on player login
Add auction logging:
- AuctionLogger: Comprehensive logging to CNPC+ log system
- Logs all auction events (create, bid, buyout, expire, claim)
- Includes system startup and processing tick logs
- Admin action tracking
Integrate with existing systems:
- Initialize AuctionNotificationController on server start
- Hook player login for notification delivery
- Add logging calls to all AuctionController methods
2026-01-04 10:09:40 +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
57f9b706bf
Implement Phase 5: Network packets, permissions, and scripting API
...
- Add auction permission nodes (use, list, bid, buyout, admin)
- Create AuctionActionPacket for client-server communication
- Supports: CreateListing, PlaceBid, Buyout, CancelListing, ClaimItem, ClaimProceeds
- Includes permission checks and validation
- Register packet in PacketHandler
- Add auction scripting API methods to ScriptPlayer:
- getAuctionListingCount()
- getMaxAuctionListings()
- hasAuctionClaims()
- getAuctionClaimCount()
- getActiveAuctionBidCount()
2026-01-04 08:57:13 +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
dc9d15f3e3
Implement Phase 3: Item Attributes & Restrictions
...
- Add ItemTradeAttribute.java for trade restriction utilities
- TAG_UNTRADEABLE for items that cannot be traded
- Check existing TAG_PROFILE_SLOT and TAG_SOULBIND tags
- canTrade() checks all three restriction types
- getTradeBlockReason() returns localization key for UI
- Utility methods for setting/getting each restriction type
- clearAllRestrictions() and getRestrictionSummary() helpers
- Add AuctionBlacklist.java controller
- Blacklist items by registry name (e.g., "minecraft:diamond_sword")
- Blacklist entire mods by mod ID (e.g., "minecraft")
- Blacklist items with specific NBT tags (supports dot notation)
- isBlacklisted() and getBlacklistReason() for checking
- Persistence via auction_blacklist.dat
- Add/remove methods for each blacklist type
- Initialize AuctionBlacklist in CustomNpcs.java
- Add scripting API methods to ScriptItemStack.java
- canTrade() - check if item can be traded
- getTradeBlockReason() - get block reason
- isUntradeable() / setUntradeable() - manage untradeable flag
- isProfileSlotBound() / getProfileSlot() / setProfileSlotBound()
- isSoulbound() / getSoulbindOwner() / removeSoulbind()
- clearTradeRestrictions() - remove all restrictions
- getRestrictionSummary() - human-readable summary
2026-01-04 08:34:45 +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
Claude
60b985d33d
Fix currency storage to use main PlayerData file
...
- Currency now stored in main player save file, not separate file
- Currency excluded from getNBT/setNBT (slot-specific data)
- Currency saved in save() after getNBT(), loaded before setNBT()
- This ensures currency is preserved during profile slot changes
- Removed loadCurrency() and saveCurrency() separate file methods
- Updated VaultHelper to call save() instead of saveCurrency()
2026-01-04 08:23:50 +00:00
Claude
7e6b17c106
Implement Phase 1: Currency System foundation
...
- Add ConfigMarket.java with separate market.cfg config file
- Currency settings (name, starting balance, max balance, Vault integration)
- Auction settings (durations, fees, snipe protection, claim expiration)
- Trader settings (stock system defaults)
- Add PlayerCurrencyData.java for balance storage
- NOT profile slot bound - shared across all slots
- Tracks balance, lifetime earned, and lifetime spent
- Deposit/withdraw with overflow protection
- Add VaultHelper.java for Bukkit hybrid server integration
- Reflection-based VaultAPI integration
- Falls back to internal currency when Vault unavailable
- Supports getBalance, deposit, withdraw, transfer operations
- Add CurrencyController.java for currency operations
- Claims system for auction refunds and NPC payments
- Claim expiration with configurable days
- Persistence via currency_claims.dat
- Update PlayerData.java to integrate currency
- Separate loadCurrency/saveCurrency methods
- Currency file stored separately from slot data
- Add scripting API methods to ScriptPlayer.java
- getCurrencyBalance(), addCurrency(), removeCurrency()
- canAffordCurrency(), getCurrencyName(), formatCurrency()
- hasPendingClaims(), getPendingClaimsTotal(), claimAllCurrency()
2026-01-04 08:14:29 +00:00
Kam
a1461665d1
Update api
2026-01-04 02:30:39 -05:00
Kam
c5c35a1113
Update api
2026-01-04 02:10:58 -05:00
Kam
1eef2f871a
Merge remote-tracking branch 'origin/claude/plan-market-updates-od0M1' into dev
2026-01-04 02:10:43 -05:00
bigguy345
ac92210771
Implemented AUTO IMPORT SUGGESTION COMPLETIONS
2026-01-04 03:59:51 +02:00
bigguy345
04a0fbc84d
CRAZY !!! ClassIndex for class auto-import suggestions by matching prefix
...
i.e. Typing "Ent" suggests "net.Minecraft.entity.Entity" and all other classes that start with Ent
2026-01-04 03:48:10 +02:00
bigguy345
acae8d84d0
Removed duplicate enums
2026-01-04 03:44:07 +02:00
bigguy345
5332774c3d
Made ENUM constants highest priority in autocomplete dropdown menu
2026-01-04 02:39:39 +02:00
bigguy345
ff7fbd411d
Smart tab completion: replace till next separator
2026-01-04 02:39:27 +02:00
bigguy345
02ce0912c7
Got backspace + autocomplete (CTRL SPACE) working, now functions when cursor mid sentence/word
2026-01-04 02:22:23 +02:00
bigguy345
9886dae519
Moved fullScreenButton rendering into GuiScriptTextArea
2026-01-04 02:13:33 +02:00
bigguy345
ef51f4acd8
Fixed buttons drawn under AutoComplete drop down being clickable through it
2026-01-04 01:56:13 +02:00
bigguy345
a4112008bd
OOps wrong logic
2026-01-04 01:49:01 +02:00
bigguy345
bf858a7a1a
Removed AutoComplete list limit
2026-01-04 01:27:14 +02:00
bigguy345
297c8129de
Autocomplete ignores whitespaces between cursor and receiver "Minecraft.getMinecraft(). "
2026-01-04 01:09:55 +02:00
bigguy345
b42cd4d1a3
Dismissed AutoCompleteManager on gui init/window resize
2026-01-04 01:02:47 +02:00
bigguy345
5163044494
Added args to autocomplete methods and highlighted them in dark gray
2026-01-04 00:55:50 +02:00
bigguy345
82632d9131
Made Autocomplete respect static/non static contexts
2026-01-04 00:42:00 +02:00
bigguy345
d1db2067f8
oops forgor
2026-01-04 00:41:33 +02:00
bigguy345
117f85096f
Added mouse drag to autocomplete scroll bar
2026-01-04 00:40:46 +02:00
bigguy345
ea38cd23b6
Rendered Script Text Areas last thing in GuiNpcInterface
2026-01-04 00:23:47 +02:00
Kam
a0de82b8e4
Merge branch 'claude/fix-npc-spawn-biomes-hPE8Q' into dev
2026-01-03 15:55:31 -05:00
bigguy345
85d79dd786
Disabled script area textbox typing when a matching keycode KeyPreset is down
2026-01-03 14:49:05 +02:00
bigguy345
c4d5178472
Moved KeyPrest isDown handling to KeyState
2026-01-03 14:48:32 +02:00
bigguy345
2361246f0b
LMAO Autocompletion Bar LMFAO
2026-01-03 14:23:35 +02:00
Kam
c0f2846907
Update api
2026-01-03 01:23:56 -05:00
Kam
12696996a6
1.10.3
2026-01-03 01:23:45 -05:00
bigguy345
79d1b74a0f
JS PARSER MK.I
2026-01-03 05:06:41 +02:00
somehussar
f78fc30660
Ban java.lang.reflect package
2026-01-03 02:54:08 +01:00
bigguy345
6948690042
Proper enum formatting for hover info
2026-01-03 02:43:23 +02:00
bigguy345
cf4f4a48a0
Marked all un-marked identifiers as UNDEFINED
2026-01-03 02:39:48 +02:00
bigguy345
aeda4f0f39
Fixed parseLocalFields breaking with generics list List<String>
2026-01-03 02:35:46 +02:00
bigguy345
f3ba05068d
Fixed IndexOutOfBounds
2026-01-03 02:05:43 +02:00
bigguy345
df8833103e
Fixed IndexOutOfBounds
2026-01-03 02:02:54 +02:00
bigguy345
b613ec86fe
drawn KEYWORD token color for primitive types in hover info
2026-01-03 02:00:23 +02:00
bigguy345
4146b156a2
Removed "final" and "extends Enum" from enum hover info
2026-01-03 01:50:08 +02:00
bigguy345
931858c554
Returned unresolved TypeInfo for types not found
2026-01-03 01:46:14 +02:00
bigguy345
bc6e9786da
Fixed error hover info for enums being broken
2026-01-03 01:29:41 +02:00