1
0
Fork 0
mirror of https://github.com/xHyroM/lighteco.git synced 2024-11-21 14:31:09 +01:00
Commit graph

95 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
75a1e8274a
build: support 1.21 2024-06-14 22:18:08 +02:00
08050e15e5
build: update grale 2024-05-08 18:03:28 +02:00
b7c90ae5c8
fix: don't register balance commands as main currency command 2024-02-25 18:00:28 +01:00
9c0968ded2
build: bump deps 2024-01-09 21:28:03 +01: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
572738dab5
build: strip commit hash 2023-10-30 12:15:15 +01:00
a2be61eb95
refactor: code cleanup 2023-10-16 17:47:46 +02:00
4d192eefd5
build: bump commandapi 2023-10-12 22:20:59 +02:00
9454f2db90
docs: add SECURITY.md 2023-10-12 18:12:31 +02:00
ca5086621b
fix(bukkit): remove max value from commands 2023-10-07 13:34:03 +02:00
4c832f11f1
fix(bukkit): dont load commandapi twice 2023-10-07 12:56:28 +02:00
58cf77e2b9
fix(currency-money): format double 2023-10-05 22:09:48 +02:00
7ff6cbde47
fix(currency-money): load at STARTUP 2023-10-05 21:39:21 +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
af3e64063f
build: make currency-money description different 2023-09-29 14:17:10 +02:00
2b9beb74da
ci: more things in pom, set project descriptions 2023-09-29 14:16:14 +02:00
1f0f663b06
ci: publish sources jar 2023-09-29 14:01:31 +02:00
1d808680d1
ci: add publishing to repo.jopga.me 2023-09-28 17:01:16 +02:00
13c8e75402
d 2023-09-28 16:23:38 +02:00
a0acd6e760
docs(README): fix typo 2023-09-28 16:23:10 +02:00
Saturn
670f2b5dbd
ci: add build workflow (#3)
* GitHub CI (Untested)

* Fix

* Remove BukkitTest for now due to missing gradle plugin

* Readd Bukkit Test

* build: add plugins repo

* ci: build currency-money

---------

Co-authored-by: Jozef Steinhübl <xhyrom.hyro@gmail.com>
2023-09-02 21:13:24 +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
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
f4bfa954b0 refactor(currency-money): make datadirectory final 2023-08-30 15:03:59 +02:00
97939ff379 feat(bukkit): add balance_formatted 2023-08-30 13:53:27 +02:00
f0fda5bcbf feat(currency-money): add config 2023-08-30 13:42:28 +02:00
ec573d8357 docs: readme for money currency 2023-08-30 10:39:45 +02:00
8720610db4 feat(currency-money): use SLF4J logger again 2023-08-30 10:33:32 +02:00
f6fa8ad8f2 feat: make lighteco-bukkit actually supports bukkit 2023-08-30 10:32:53 +02:00
1ae9a2e5bc feat: make jar even more small, dependency relocation 2023-08-30 09:53:50 +02:00
3802dba410 build: update serverloader to 1.2 2023-08-30 08:46:30 +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