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
bigguy345
1c3a11d433
Fixed parameters not highlighting for constructors
2026-01-03 01:29:15 +02:00
bigguy345
b6f69dbe8c
Fixed constructors buggin (is already defined in scope for all single constructors)
2026-01-02 22:46:16 +02:00
bigguy345
791cb3ddc1
Provided correct metadata for enum constant marks
2026-01-02 22:38:03 +02:00
bigguy345
4f00870b9b
Improved marking logic of ALL variables in all scopes
2026-01-02 22:37:36 +02:00
bigguy345
5be3d934b7
Marked global variables for script types
2026-01-02 22:08:53 +02:00
bigguy345
e3228632a3
oops forgor
2026-01-02 21:55:18 +02:00
bigguy345
9a575919b4
Refined FieldChainMarker
2026-01-02 21:55:04 +02:00
bigguy345
4e0c5e91da
Cleaned up markChainedAccessFields heavily
2026-01-02 21:24:45 +02:00