32 Commits

Author SHA1 Message Date
ProxyismGH
fc687a3bde TeamManager avatar add refactor. 2022-05-26 22:54:36 -07:00
Luke H-W
afbeaf300c
Allow commands to target offline players (#1022)
* Add targetRequirement annotation for Command

* Added MTL lines for other langs

* Fix TargetRequirement enum scoping

* Adjust commands to targetRequirement system

* Add translation message sugar to prevent future messages from being translated for wrong player

* Temporarily disable offline targeting on /permission and /clear

* Preliminary README cleanup

* Readme commands cleanup

* Clean up command table in README, including column shuffle

Co-authored-by: AnimeGitB <AnimeGitB@bigblueball.in>
2022-05-22 01:02:11 -07:00
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
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
方块君
b3317bd6d7 Using annotation key translation 2022-05-08 01:47:26 -07:00
方块君
05e1e5502c Add command description multilingual 2022-05-08 01:47:26 -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
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
bf654ced36 [WIP] Command Targeting overhaul 2022-05-05 00:03:10 -07:00
方块君
9407e6374b Add multilingual support
Add multilingual support
2022-05-03 02:38:37 -07:00
Magix
a1a36dc7a7
Merge branch 'development' into api 2022-04-30 16:07:54 -04:00
lhhxxxxx
c2b45a7a0d Update GiveAllCommand.java
giveall command nomore give arts
2022-04-30 01:04:10 -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
BaiSugar
cacba61b79
Added interface display for multiplayer games (#360) 2022-04-29 18:20:46 +02:00
BaiSugar
d16c809b0d remove useless items 2022-04-29 14:18:32 +08:00
BaiSugar
65cd5a0f67 remove useless items 2022-04-29 14:13:09 +08:00
KingRainbow44
2e119efb86
Formatting changes 2022-04-28 22:21:30 -04:00
BaiSugar
5a422ef5ff Update the command format of the usage (including source code) 2022-04-28 13:47:32 +02:00
BaiSugar
cb5c2c460d
Merge branch 'Grasscutters:development' into development 2022-04-27 20:31:40 +08:00
Melledy
4480ce14a7 Moved some files around 2022-04-26 21:27:35 -07:00
Melledy
556018d9a9 Renamed all references to a certain game 2022-04-26 21:27:35 -07:00
BaiSugar
2de749906f Update the command format of the usage (including source code) 2022-04-27 10:14:24 +08:00
BaiSugar
0132ad66ab remove test avatar 2022-04-26 16:35:06 +08:00
BaiSugar
1567e480e1 remove test avatar 2022-04-25 15:17:55 +08:00
BaiSugar
05c6b29831 fix 2022-04-24 22:49:33 +08:00
BaiSugar
5eccbc8565 Corrected format 2022-04-24 22:45:30 +08:00
BaiSugar
271f9b9ec5 Revert "Corrected format"
This reverts commit 153593b64c57e68ce275b6138c5e17d83371f863.
2022-04-24 22:42:44 +08:00
BaiSugar
153593b64c Corrected format 2022-04-24 22:38:53 +08:00
BaiSugar
95871abb5b Added command to get all items 2022-04-24 21:52:50 +08:00
BaiSugar
d761b50656 Added command to get all items 2022-04-24 14:01:03 +08:00