1
0
Fork 0
mirror of https://github.com/xHyroM/lighteco.git synced 2024-11-27 00:41:06 +01:00
Commit graph

9 commits

Author SHA1 Message Date
6cd7ad0901
build: add spotless formatter (#9) 2024-07-16 18:22:32 +02:00
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
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
e38c5977ec fix: remove record if balance is < 0
before, there was easy duplication bug
2023-08-30 18:21:56 +02:00
bc6fbb6aaf docs: add readme to sponge-8 and bukkit 2023-08-30 16:29:09 +02:00
22df335df9 feat: sponge support [WIP] 2023-08-30 16:03:38 +02:00
2163f1614e feat(money-currency): add fractional digits to config 2023-08-30 15:26:50 +02:00