Commit Graph
103 Commits
Author SHA1 Message Date
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 9df3db48ce Update DEV Api Reference 2025-10-28 00:10:58 -04:00
lonewolf8351 6e43c34e91 Added getPartyMembers() method to Iplayer 2025-10-28 00:06:41 -04:00
Kam 9c541999f3 Optimize Imports 2025-07-23 14:22:52 -04:00
Kam 8a497f82a0 Fix Bad Packet 2025-07-07 17:27:35 -04:00
bigguy345 d58b4bb905 ActionLogger !! 2025-07-07 21:22:34 +03:00
bigguy345 e6d4e1f3fd ActionManager name 2025-07-07 13:21:39 +03:00
bigguy345 e017ad1f83 Fixed player.getActionManager() NULL (data was null) 2025-07-03 18:35:00 +03:00
bigguy345 6de09c1ee4 Added player's ActionManager getter to API 2025-06-28 09:38:38 +03:00
Kam 43bc1eb81f Code Cleanup / Reformat 2025-05-20 13:53:26 -04:00
Kam cc148c02d7 Convert all getPlayerData() to PlayerData.get() 2025-04-08 22:48:32 -04:00
Kam ef389da110 Fix Player Rotation 2025-03-31 22:46:20 -04:00
Kam 9691c90ffc Scripting for Attribute Handling on Players, Items, Totals, etc 2025-03-14 05:35:23 -04:00
Kam 180d257024 Proper Reformating 2025-03-13 17:14:45 -04:00
Kam 7a16cdf520 Magic for PlayerData and NPCs 2025-03-05 19:40:55 -05:00
Kam 40154f9c53 Quest Profile Options 2025-02-21 06:19:24 -05:00
Kam c3538836be Optimize Imports 2025-02-20 21:40:39 -05:00
Kam db2144116f Reorg -- Data Packets designed to send to Client 2025-01-30 13:54:49 -05:00
Kam db7473fd57 Delete more 2025-01-30 12:45:10 -05:00
Kam c3179b36f2 Remove PacketHandlerClient 2025-01-30 12:44:39 -05:00
Kam fb496ce1e2 SyncController 2025-01-30 09:26:10 -05:00
Kam d91d4668d6 WHEN WILL THIS END! 2025-01-29 21:50:55 -05:00
luisc d57571ea0d Made API return a DBC player object if a player is a DBC player. Deprecated old getDBCPlayer() function. 2024-10-24 17:12:00 -05:00
Kam 96560034cc Fix Remove Item not taking into account ignoreNBT and ignoreDamage 2024-03-28 01:32:45 -04:00
Kam dd7a0b7f12 Add Insane Sync Data Control from BACK in the BROKEN 1.9 BETA >:D 2024-03-07 22:22:39 -05:00
Kam bf6a77d183 Quest Location Party Complete 2024-03-03 20:19:08 -05:00
Kam e46b78ff71 Optimize Imports 2024-02-15 17:54:28 -05:00
Kam a9f511f873 Merge branch 'dev' into experimental 2024-01-18 16:09:51 -05:00
Kam e1f5c912e7 Change to Wiki 2024-01-18 16:05:38 -05:00
Goodbird c3b134b5ae Implemented the ability to get the screen size from server 2024-01-05 16:31:57 +03:00
Kam da313f6d0a Compatibility Helper DBC 2023-07-19 11:17:11 -04:00
Luis C.M b592bb5d5e IPos objects now use double values in calculations for distance, addition, cross product, etc. 2023-07-07 17:51:51 -05:00
Kam 491e377a3e CAPITAL I cause it looks cool 2023-06-05 22:12:48 -04:00
Kam 54b46129a9 Capital "I" for Instance 2023-06-05 19:35:27 -04:00
Kam fa7fb7f734 ??? Fix Quest Cooldown Times ??? 2023-05-11 11:57:39 -04:00
Luis C.M 6913cadc79 IModelData:
-Implemented hidePart() abd hidden() functions
2023-03-17 02:59:33 -05:00
Luis C.M be18e756fc Animation overhaul, along with animation changes to the API. 2023-01-16 13:53:15 -06:00
KAMKEEL bda76bafe6 Optimize Imports 2023-01-12 21:33:06 -05:00
KAMKEEL 6e92f08851 Config Overhaul 2023-01-07 00:21:08 -05:00
Luis C.M 1ac0b3b0a3 Added more functions to IPlayer, IEntityLiving, IEntityLivingBase, and IAnimal. 2022-12-26 01:13:28 -06:00
Luis C.M 5d520837b1 Implemented a way to play ISound(s) to players without using a sound ID. 2022-12-21 19:07:19 -06:00
Luis C.M aa02e5dcc3 Fixed API interface errors, added casts for custom item script handlers in EventHooks, and added some event interfaces. 2022-11-23 23:59:01 -06:00
KAMKEEL be9ae94163 Start API Branch 2022-11-15 15:25:53 -05:00
Luis C.M c8a8e866cb IPos:
-Added crossProduct(IPos), divide(scalar), and to/FromLong functions.

NpcAPI:
-Added getAllInBox(from,to)

IBlock:
-Added setPosition functions

IBlock, IPos, IEntity, IWorld: -Added a readable toString() function
2022-11-06 15:08:58 -06:00
Luis C.M 8d3cd3fd82 Revert "Merge remote-tracking branch 'origin/dev' into dev"
This reverts commit 66edbcea80, reversing
changes made to 3fd962289c.
2022-11-06 01:25:28 -06:00
KAMKEEL 6ae465c5d0 Revert "Added several more functions to pre-existing classes:"
This reverts commit e9a8f8cebc.
2022-11-06 00:10:04 -04:00
Luis C.M e9a8f8cebc Added several more functions to pre-existing classes:
-Spawner, Transport, Healer, Guard, Bard jobs received more functions.
-Added more functions to the transporter role.
-IRole: Added getNpc() function.
-IAnimal, IEntityLiving, and IEntityLivingBase received more functions from their MC counterparts.
-Nearly every function with that takes position/vector parameters now has an equivalent with IPos as a parameter instead.
2022-11-05 20:19:14 -05:00
c0508383 0f5df933ae IPlayer:
-Added kick function
2022-08-02 13:50:18 -05:00
c0508383 9c9e9c0a40 IPlayer:
-Added dialog functions that use IDialog objects as parameters.
-Added quest functions that use IQuest objects as parameters.
2022-07-14 20:18:45 -05:00
c0508383 d1762654ba ISound:
-Allows for the changing of several sound attributes, including volume, pitch, repeating, etc.

NpcAPI, IPlayer, IWorld:
-Added more sound functions, with sounds that can be stopped and started based on an ID.
2022-07-13 19:27:27 -05:00