1
0
Fork 0
mirror of https://github.com/xHyroM/lighteco.git synced 2024-12-22 20:41:05 +01:00
Commit graph

62 commits

Author SHA1 Message Date
23e73cb5da
feat!: better command abstraction (#4)
* feat: better command abstraction

* feat: OfflineUserArgument type

* feat: balance, balance other cmds in common & double, integer arg

* feat: command manager, better arguments abstraction

* feat: map args

* feat: some things

* feat(better command abstraction)!: switch to brigadier (#8)

* feat: switch to brigadier

* some updates

* feat: make suggestion provider work

* supress warnings

* feat: pay & set command

* feat: give & take command, better suggestions, permissions

* refactor: cleanup

* fix: dont register pay if currency is not payable

* fix: send commands only if you have perms

* make second test currency not payable

* feat: use command's description & name

* refactor: cleanup, rename bukkit to paper

* refactor: cleanup, rename bukkit to paper

* feat: add built-in info command

* ci: build paper, not bukkit

* refactor: better test organization

* refactor: better test organization

* feat: locks

* feat: finish locking

* feat: handle missing user

* refactor: move methods to CommandHelper

* refactor: change minimum api version

* feat: console support
2024-07-16 18:04:37 +02:00
35f94eac3b
feat: messaging (#7)
* feat: messaging

* fix: some things

* feat: make it actually working

* feat: disable messaging by default

* fix: avoid infinity loop

* feat: multiple channels

* remove todo message

* fix: global channel should be lighteco:messages

* fix: check if CHANNELS not null

* refactor: set channels in constructor

* fix: push user updates on quit when user is dirty
2023-12-24 15:46:13 +01:00
b1d5ae7c09
feat(pay): send message to target (#6)
* feat(pay): send message for target

* fix: set audience on enable
2023-10-30 16:08:31 +01:00
a2be61eb95
refactor: code cleanup 2023-10-16 17:47:46 +02:00
1e86142a58
feat: handle maximum balance 2023-10-05 17:31:52 +02:00
f4d4bbe856
feat: currency identifier aliases 2023-09-29 15:05:03 +02:00
9c8e459ca8
fix(ExpiringSet): lifetime must be millis 2023-09-01 21:15:36 +02:00
8112b41d12
refactor: one currency, one table (#2)
* refactor: rewrite how users are loaded

* finish

* feat: use \' instead ` in CREATE_TABLE

* fix: remove record if user has zero balance

* add housekeeper

* feat: add housekeeper config
2023-08-31 18:14:13 +02:00
2e20dee652 refactor: cleanup 2023-08-31 10:53:47 +02:00
48807e8a8b refactor: remove unused imports 2023-08-31 10:50:15 +02:00
463df35a44 fix: log debug output only if debug is enabled 2023-08-30 18:27:22 +02:00
e38c5977ec fix: remove record if balance is < 0
before, there was easy duplication bug
2023-08-30 18:21:56 +02:00
22df335df9 feat: sponge support [WIP] 2023-08-30 16:03:38 +02:00
97939ff379 feat(bukkit): add balance_formatted 2023-08-30 13:53:27 +02:00
1ae9a2e5bc feat: make jar even more small, dependency relocation 2023-08-30 09:53:50 +02:00
2452314fad feat: unhook platform hooks 2023-08-30 08:44:54 +02:00
759140cf6f fix: save users on disable && debug option in config 2023-08-30 08:33:24 +02:00
0c35ff18b0 feat: saveInternal in config 2023-08-30 00:48:38 +02:00
63dc921539 feat: task schedulers 2023-08-30 00:41:09 +02:00
2cfba60fbe feat: pool settings 2023-08-29 13:11:16 +02:00
c52e9da63d refactor: sonarqube 2023-08-29 09:13:25 +02:00
0e3af38d55 feat: postresql 2023-08-29 08:46:59 +02:00
75d80b0480 style: cleanup 2023-08-29 08:12:19 +02:00
eb62c51541 feat: mariadb works 2023-08-29 07:34:10 +02:00
e556356e56 feat: mariadb [wip]
some weird syntax issues
2023-08-28 23:15:18 +02:00
818ffe28cf feat: mysql [wip] 2023-08-28 22:17:58 +02:00
66bb95559c feat: auto dependency download 2023-08-28 20:40:47 +02:00
341bc3eb44 fix: respect if currency is payable 2023-08-28 18:28:30 +02:00
5c0867c348 feat: sql impl working
must do dependency downloading
2023-08-28 18:23:31 +02:00
39b2211131 feat: sql storage provider 2023-08-28 16:53:48 +02:00
0578cdf3f4 feat: sqlite connection factory 2023-08-28 12:18:26 +02:00
e340b32e86 feat(sql): impl load user 2023-08-28 12:12:56 +02:00
2a5a7133bb feat: load whole user sql statement 2023-08-28 11:42:30 +02:00
c4c6671c7c feat: more storage providers [WIP] 2023-08-28 11:24:05 +02:00
3758d0abcc feat: make all messages configurable 2023-08-28 08:51:11 +02:00
4213601132 feat: vault, papi 2023-08-28 08:35:43 +02:00
f937943bdd feat(currency-money): vault support, feat(common): messages 2023-08-27 23:10:15 +02:00
c82b04970b fix: handle franctional digits 2023-08-27 18:01:16 +02:00
c902a6a989 fix(pay): add check if you're trying to pay yourself 2023-08-27 14:05:04 +02:00
a99fb995e4 feat: add currency-money addon 2023-08-27 13:59:35 +02:00
9305b33f13 feat: allow global cmds registration for one currency 2023-08-27 13:23:10 +02:00
7ebcfedcf6 docs: add TODO 2023-08-26 22:56:08 +02:00
63e911a12c fix(pay): substract original amount from sender 2023-08-26 22:55:47 +02:00
0cd8e50f9c feat: handle pay + improve tax system 2023-08-26 22:52:56 +02:00
314d41f287 feat: select storage provider from config 2023-08-26 16:46:41 +02:00
4f988b53d2 feat: command manager 2023-08-26 16:45:04 +02:00
b9c7b9eb88 feat: command manager [WIP]
must finish this
2023-08-26 11:57:08 +02:00
7a58f7fbea feat: configuration file 2023-08-26 10:44:38 +02:00
2ab1bdeb85 feat: save every currency as BigDecimal 2023-08-26 10:03:18 +02:00
xHyroM
871b320f6c
feat(common): use configurate for config [wip]
not finished, just starting
2023-08-04 16:43:55 +02:00