Commit Graph

154 Commits

Author SHA1 Message Date
Secretboy
b133825dd4 add /language command (#780)
* Fix the following issues:
1. HashMap non-thread-safe issus
2. Fix the same problem in pr621, but use a better implementation

Add the following functions:
1. There is now a language cache inside getLanguage to prepare for different languages corresponding to different time zones where the accounts in the server are located

* add /language command,each account has their own Locate
2022-05-10 05:33:45 -07:00
Kinesis
55b91ad150 fixed KillCharacter help command description typo case 2022-05-10 05:21:13 -07:00
Kinesis
e3daf684a5 fixed error KillCharacter description in the help command 2022-05-09 12:51:08 -07:00
ImmuState
b7ed76c79b Change ccount delete to delete all referenced items in the database. 2022-05-09 12:50:47 -07:00
筱傑
32232ff6f9 Fixed MissingFormatArgumentException (#727)
Format string is `"given_level": "Given %s with level %s %s times to %s"`
2022-05-09 12:50:23 -07:00
Mateoust
a63d87b0bc Update translation keys to fix issues 648 677
fix issues 648 677
2022-05-09 04:18:12 -07:00
AnimeGitB
c2d41ca0cf Fix /talent saving to level instead of id 2022-05-09 04:18:04 -07:00
AnimeGitB
993fe3131e Fix perm field order consistency on GiveCommand 2022-05-09 01:12:47 -07:00
AnimeGitB
e23b72f298 Add permissionTargeted to applicable commands
Change target perm from target.perm to x.perm.others
2022-05-09 01:12:47 -07:00
ImmuState
8c7a46e8ef -Make the _tier suffix optional. 2022-05-08 15:59:09 -07:00
ImmuState
2a12ed5694 Fix incorrect @Command annotation. 2022-05-08 15:59:09 -07:00
ImmuState
e8e48600ae Fix invalid translation key. 2022-05-08 15:59:09 -07:00
ImmuState
14bf96e907 Added to ability to specify main and substats for /giveart via names instead of IDs. 2022-05-08 15:59:09 -07:00
Akka
916b7412fd Persist Tower Data && Set The Tower Schedule 2022-05-08 06:06:32 -07:00
方块君
b3317bd6d7 Using annotation key translation 2022-05-08 01:47:26 -07:00
方块君
f49862145c add Command description 2022-05-08 01:47:26 -07:00
方块君
05e1e5502c Add command description multilingual 2022-05-08 01:47:26 -07:00
Piotr Blecharski
1445fe9ce5 Command list with descriptions in handbook 2022-05-07 14:45:42 -07:00
zhaodice
fadda64699 fix issue 635
fix #635
2022-05-07 14:42:25 -07:00
KingRainbow44
438f845e3a Convert to the superior language system. (pt. 3) 2022-05-06 18:50:18 -04:00
KingRainbow44
f7311968d6 Convert to the superior language system. (pt. 2) 2022-05-06 00:57:45 -04:00
Luke H-W
775f4cb7c1 GiveCommand: fix edge case with unspaced multiple args (#539)
Co-authored-by: AnimeGitB <AnimeGitB@bigblueball.in>
2022-05-05 15:23:48 +02:00
Melledy
b61672e046 Fix clear command causing a concurrency error 2022-05-05 02:29:43 -07:00
AnimeGitB
bc19f2da93 Add R# LVL# X# arg syntax to GiveCommand 2022-05-05 00:14:17 -07:00
AnimeGitB
2cfaeac6bc Command Targeting overhaul fixes 2022-05-05 00:03:10 -07:00
AnimeGitB
0c715f0856 Commands Targeting rework 2022-05-05 00:03:10 -07:00
AnimeGitB
e198907143 Move command prefix stripping to ChatManager 2022-05-05 00:03:10 -07:00
AnimeGitB
bf654ced36 [WIP] Command Targeting overhaul 2022-05-05 00:03:10 -07:00
Melledy
b6fa6fe2d7 Move languages to languages package 2022-05-04 00:44:33 -07:00
方块君
8451f960d4 Optimize multilingualism (using variables)
Optimize multilingualism (using variables)
2022-05-03 22:17:41 -07:00
DancingSnow
1452c0565b fix giveart command when times about 200, account will crash 2022-05-03 10:45:11 -07:00
AnimeGitB
f456460185 Refactor SetStatsCommand, add target UID and all FightProperty stats 2022-05-03 10:37:32 -07:00
方块君
9407e6374b Add multilingual support
Add multilingual support
2022-05-03 02:38:37 -07:00
dogdie233
9c358744e7 Add EnterDungeonCmd, fix error when enter dungeon by changescene, import spawn cmd 2022-05-02 10:50:08 -07:00
DancingSnow
50740b3560 fix World level not in 0-8 2022-05-02 02:26:11 -07:00
筱傑
29c95cb1b6 Add /setstats mhp to set Max HP (#407)
* Fixed `/setstats hp` without changing the max hp.

The Max HP should be modified.

* Add `/setstats mhp` to set Max HP
2022-05-01 20:22:29 +02:00
JimWails
2c0576f697 Fixed can set avatar level more than 90 and cause game to freeze
Limit the avatar level given by "/givechar" command.
If avatar level >90, the game will freeze if open the character interface.
2022-05-01 10:05:28 -07:00
筱傑
ec09bc28f2 Fixed can set talent level to 16 bug (#408)
Level should be **lower than 16**
2022-05-01 16:42:02 +02:00
Magix
0b0e8991b1 Merge pull request #381 from Coooookies/development
Show the player's UID with the `/list` command
2022-04-30 16:16:18 -04:00
Magix
78f6e6b7cf Forgot to add to null execution 2022-04-30 16:15:39 -04:00
Magix
3a45a5b5c4 Change to () and add space 2022-04-30 16:14:40 -04:00
Magix
a1a36dc7a7 Merge branch 'development' into api 2022-04-30 16:07:54 -04:00
coooookies
1d6916bca1 Uids will not be showed until the parameter <uid> is added,
like this: /list uid
2022-05-01 03:43:41 +08:00
coooookies
caffe859b8 List command should show player uid 2022-05-01 00:17:08 +08:00
赤座あかり
2fd73e043a Give Artifact: Fix error & Rename alias (#370)
* Give Artifact: Fix error & Rename alias

* Update README.md
2022-04-30 13:19:22 +02:00
omg-xtao
a7b0880d02 Merge branch 'development' into tp 2022-04-30 16:48:24 +08:00
lhhxxxxx
c2b45a7a0d Update GiveAllCommand.java
giveall command nomore give arts
2022-04-30 01:04:10 -07:00
筱傑
b5582099f9 Fix Give Command Promote Level Bug
Should be <=40, just change the order
2022-04-30 01:02:39 -07:00
muhammadeko
d37a326e9a Give Artifact: Clear random props first before adding all picked props 2022-04-29 17:11:12 -07:00
KingRainbow44
47cf1e5898 Merge branch 'development' into api
# Conflicts:
#	src/main/java/emu/grasscutter/Grasscutter.java
2022-04-29 19:31:33 -04:00