AnimeGitB
48d31e45ed
Fix talentcommand message key
2022-08-19 16:52:02 +09:30
AnimeGitB
fb1bacb0f8
Refactor avatar skilldepot and constellation/talent changing
...
Ensures Traveler retains talent levels and constellations on inactive elements when switching elements.
Relevant for any other skillDepot-changing activities like Windtrace too, though keeping those in the db might not be as useful.
Refactor avatar talent upgrade and access
Refactor skillExtraCharges
2022-08-19 16:43:57 +09:30
AnimeGitB
efa69c007d
Change unlocked scenes from lists to sets
2022-08-18 22:38:55 +09:30
AnimeGitB
325fe6c44a
Fix TalentCommand for Traveler
2022-08-11 16:21:27 +09:30
GanyusLeftHorn
04f0fae898
Handle Unlocking of Waypoints and Statues ( #1608 )
...
Original commits:
* Add necessary protos for scene point/area unlocking.
* Rename PlayerOpenStateManager to PlayerProgressManager and move data to Player.
* Handle unlocking of waypoints.
* Add primo rewards for waypoint unlock.
* Statue unlocking.
* Add statue quest on player login.
* I forgor to add an unlock command.
* Give EXP as reward, fire quest trigger, make EXP UI show up.
2022-08-10 19:33:47 +09:30
KingRainbow44
89575f587e
Move PlayerTeleportEvent
occurrences into World
2022-08-01 21:25:29 -04:00
KingRainbow44
1de402bd6f
Merge branch 'development' into more-events
2022-08-01 21:13:19 -04:00
AnimeGitB
b80126fdda
Add lock function to SetStatsCommand
2022-07-28 04:23:58 -07:00
AnimeGitB
883b6f1fcc
[Bug] New avatars always created with C0 constellation
...
Fixes #1552
2022-07-26 17:56:49 +09:30
lactose
59a412cc83
Set Constellation Command ( #1565 )
...
Original commits:
* create `SetConstCommand` class and translations
* (partially) functional `setconst` command
* fixed punctuation
* added success message
* implemented `SetConstCommand`
* added translation keys
* update keys
* refactor + automatic reload
* Nitpick (Co-authored-by: AnimeGitB <AnimeGitB@bigblueball.in>)
2022-07-26 16:44:17 +09:30
KingRainbow44
41ec2316e4
Attempt to fix the teleport
command.
2022-07-24 13:23:51 -04:00
KingRainbow44
90cded16d9
Merge branch 'development' into more-events
2022-07-24 12:05:35 -04:00
GanyusLeftHorn
d0edd39465
Read Open States from Excels ( #1557 )
...
* Make sure we never access PlayerOpenStateManager::map directly.
* Read OpenStates from excels.
* Add defaultState
* Replace hardcoded open states with the ones read from excels.
* Don't send change notify when unlocking on login.
* Add open state blacklist for default unlocks.
* Add a way to temporarily set open states for dev
* Remove old OpenState.java
* Fix UnlockAllCommand
* Change condType to an enum.
2022-07-24 00:12:07 -07:00
KingRainbow44
956d4023c7
Merge branch 'development' into more-events
...
# Conflicts:
# src/main/java/emu/grasscutter/command/commands/TeleportAllCommand.java
# src/main/java/emu/grasscutter/game/entity/EntityAvatar.java
# src/main/java/emu/grasscutter/game/entity/GameEntity.java
# src/main/java/emu/grasscutter/game/managers/mapmark/MapMarksManager.java
2022-07-22 17:52:58 -04:00
Melledy
e5ff253624
Add unlockall
command to unlock all openstates
2022-07-22 09:26:00 -07:00
AnimeGitB
104e04f70a
Change commands to use new usage message method.
2022-07-22 19:08:26 +09:30
AnimeGitB
2cfbe78184
Refactor Command usage and description strings
2022-07-22 19:08:26 +09:30
github-actions
ae2d1fe438
Fix whitespace [skip actions]
2022-07-21 00:22:26 -07:00
Melledy
408fa90728
Move config java files to their own package
2022-07-21 00:21:00 -07:00
Melledy
cc5b292bc3
Refactor Player::GetPos()
-> Player::GetPosition()
2022-07-21 00:21:00 -07:00
Melledy
2e19e70fe1
Refactor game server managers to systems
2022-07-21 00:21:00 -07:00
AnimeGitB
bc2c5deb48
Add Dispatch Password authentication
2022-07-17 13:43:45 +09:30
KingRainbow44
f6b4016f1b
Add PlayerTeleportEvent
2022-07-15 16:18:46 -04:00
Luke H-W
8843276c41
Language linting ( #1382 )
2022-07-11 16:21:05 +02:00
AnimeGitB
bb84432b4c
Add maximum level/refinement/rank to clear command
2022-07-11 23:45:24 +09:30
Tesutarin
7bae35f51b
Update translation & bug fix ( #1472 )
...
Original commits:
* Update translation
* Bug fix
* Update translation
* Update Announcement.json
2022-07-09 23:09:40 +09:30
shädam
a4a87fe75b
Don't send success upon failure
2022-07-07 22:40:58 +09:30
Someone999
fe50a42a3c
Added permission information to help command ( #1427 )
...
Original commits:
* Added command CommandPermissionCommand. Added permission information in HelpCommand.
* Removed command CommandPermissionCommand
* Display permission for single command when use help.
* Display permission targeted when use help.
2022-07-04 13:51:41 +09:30
Akka
9bafc2c5d5
Implement server announcement ( #1420 )
...
* implement server announcement
* Update src/main/java/emu/grasscutter/command/commands/AnnounceCommand.java
Co-authored-by: Luke H-W <Birdulon@users.noreply.github.com>
* Added arg numbers check
Co-authored-by: Luke H-W <Birdulon@users.noreply.github.com>
2022-07-02 06:43:22 -07:00
AnimeGitB
a80302cdcd
Fix commands in party chat, re-add optional positional item quantity to give command, error out and print usage if excess arguments given to give command
2022-07-02 06:41:56 -07:00
AnimeGitB
9425f672e0
Remove BPLevel, GodMode, NoStamina, SetWorldLevel, UnlimitEnergy, UnlockTower commands
2022-06-25 22:19:29 -07:00
AnimeGitB
baafb4104c
Remove GiveAll, GiveArt, GiveChar commands
2022-06-25 22:19:29 -07:00
AnimeGitB
6fd1ce813c
Remove Drop, ChangeScene, Restart, Broadcast commands
2022-06-25 22:19:29 -07:00
AnimeGitB
bcc20c2d03
Allow PermissionCommand to target offline players again
2022-06-25 02:12:33 -07:00
AnimeGitB
a3b4a11863
Add permission to BanCommand, rework its targeting
2022-06-25 02:12:33 -07:00
Melledy
5eb1d34b14
Implement battle pass triggers/rewards
2022-06-24 01:12:52 -07:00
AnimeGitB
c9363ef5e5
Move weather from Scene to Player
2022-06-23 02:32:38 +09:30
AnimeGitB
371acb9ba5
Deduplicate some translation keys
2022-06-22 23:20:16 +09:30
AnimeGitB
dcd3c696ea
Add default Climates per weather
2022-06-22 22:41:07 +09:30
诗音澄鸢 镜苑芳依
b9bf33c2f7
implement BattlePass (Except missions) ( #1316 )
...
* BattlePass
* BattlePass
2022-06-21 07:18:13 -07:00
Yazawazi
3ccaf535ef
2nd null check
2022-06-17 19:42:42 -07:00
Yazawazi
aba4080b0e
feat(ban): Implementing ban
.
...
Rough code, not based on permission.
2022-06-17 19:42:42 -07:00
4Benj_
bb07d9ea41
Custom Permission Handler ( #1282 )
...
Co-authored-by: Melledy <52122272+Melledy@users.noreply.github.com>
2022-06-16 08:00:03 -07:00
Melledy
6d59159b8b
Cleanup package names
2022-06-16 07:57:57 -07:00
ImmuState
50c8f43d5b
Fix giveall and givechar giving broken characters.
2022-06-15 23:10:04 -07:00
Tesutarin
7c9db30bca
KickCommand: Remove unnecessary subpermission
2022-06-14 01:14:33 -07:00
Luke Hubmayer-Werner
2fd2fab54c
Partial revert of #1245
2022-06-12 21:49:47 -07:00
Tesutarin
c5b45358e7
Command: Add permissionTargeted or targetRequirement
2022-06-12 17:55:19 -07:00
liizfq
934fb5873a
add new command (unlimitenergy):toggle energyusage for each player ( #1186 )
...
* add new command (unlimitenergy):toggle energyusage for each player while energyusage is ture in config.json
* Solve the problem of layout and naming errors
* make currentActiveTeam's Avatar full-energy while turn on the ule.
* Resolve language document errors
* add config_error message while player try to execute UnlimitEnergyCommand in GAME_OPTIONS.energyUsage == false
2022-06-04 19:14:52 -07:00
Melledy
910a5749f0
Refactor and optimize DatabaseHelper::checkIfPlayerExists
2022-06-03 19:32:10 -07:00
AZthemute
06546707e1
Fixed sendmessage command output.
...
Also clarified coop command in help command.
2022-06-03 19:11:47 -07:00
Tesutarin
66b642ef06
Language: Update translation
2022-06-03 10:16:45 -07:00
Paimon2022
4119f8b787
Add coordinate support for spawn command (monster only)
...
Now the spawn command is: spawn <entityID> [amount] [level(monster only)] <x> <y> <z>(monster only, optional)
The coordinate is optional
2022-06-03 03:19:59 -07:00
Magix
27b7ce7cc1
Update NoStaminaCommand.java
2022-06-02 19:02:26 -04:00
tamilpp25
71b53e0be4
Adding toggle feature to "nostamina" command similar to "godmode" command ( #1152 )
...
* stamina command enhancement
* added "ns" as command aliases for NoStaminaCommand
2022-06-02 03:33:46 -07:00
Tesutarin
d10fe0cdd3
WeatherCommand: Make it clear
2022-06-01 06:27:07 -07:00
tester233
ba6a9fc798
Usage: Unified specification
2022-05-31 02:41:43 -07:00
Melledy
184eec82b3
Limit spawn amount if too many entities are in the world
...
Can be controlled in the config with `sceneEntityLimit`
2022-05-30 20:06:25 -07:00
Anush
18721758cc
Fix Aqua Simulacra & Fading Twilight not given by GiveAll command
2022-05-30 20:06:25 -07:00
Melledy
a23b29b65a
Rename excel classes
2022-05-30 20:06:25 -07:00
tester233
2a3d9fd06c
CoopCommand: Fix usage
2022-05-28 21:34:38 -07:00
tester233
02e737e920
Complement usage
2022-05-28 16:01:21 -07:00
tester233
9af10859bb
Update translation keys
2022-05-28 04:22:53 -07:00
Luke H-W
eb899ccd91
Fix setstats command feedback for targeting others ( #1079 )
...
Co-authored-by: AnimeGitB <AnimeGitB@bigblueball.in>
2022-05-28 13:03:31 +02:00
Melledy
243ad3abe5
Refactor accounts to not use a player uid
2022-05-27 00:22:55 -07:00
ProxyismGH
880d177034
TeamManager avatar add refactor.
2022-05-26 22:54:36 -07:00
tester233
9b9e29b5d3
Fix usage & update zh-CN.json
2022-05-24 14:19:24 -07:00
Luke H-W
117a947b07
Fix team command ( #1035 )
...
* Fix logic error in team command
* Sugar team command messages
Co-authored-by: AnimeGitB <AnimeGitB@bigblueball.in>
2022-05-23 02:45:03 -07:00
tester233
2d2dc5d0a8
Update translation keys
2022-05-22 12:55:45 -07:00
Luke H-W
0ae3c3d7da
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
tester233
d0ab5fa5df
Add translation key
2022-05-17 04:24:18 -07:00
tester233
263369af9a
Modify usage
2022-05-17 04:24:18 -07:00
tester233
b5632aa62d
Fix usage & remove outdated text
2022-05-17 04:24:18 -07:00
RDsatan
21478b0a33
fixed
2022-05-16 21:53:16 -07:00
RDsatan
34ea3089b6
Optimize the join and remove commands to team
2022-05-16 21:53:16 -07:00
AnimeGitB
f5cdedcc88
Fix logic error in remove command
2022-05-15 01:17:26 -07:00
AnimeGitB
efd7467a71
Fix targeting on Join and Remove commands
2022-05-15 01:17:26 -07:00
lsCoding666
7a66f22827
fix join command and remove command bug and update docs ( #904 )
...
* feat:new command "join" and "remove" to force join or remove avatar in your current team
* fix:change MaxAvatarsInTeam from 9 to 4
* feat:update & merge branch.Translate fix
* fix(command):fix remove command a stupid bug.Loop delete element bug.
* fix(command):fix join command. When adding avatars, repeat avatars skip and non repeat avatars join.
* fix(language):fix join command remove command translate
* fix(ReadMe):update README.md join and remove command.
2022-05-14 23:27:23 -07:00
muhammadeko
b05a5f85f6
fix permission command
2022-05-14 21:06:57 -07:00
tiantian520
5b3c05a9a0
Add a new command "nostamina" ( #877 )
...
* Add a new command " nostamina\
* Fix
* Fix 2
* Renamed some names.
* Update zh-CN.json
Fix an existing language expression error.
2022-05-14 16:06:48 -07:00
lsCoding666
741e5749ad
new command join and remove to force join or remove avatars into your current team ( #549 )
...
* feat:new command "join" and "remove" to force join or remove avatar in your current team
* fix:change MaxAvatarsInTeam from 9 to 4
* feat:update & merge branch.Translate fix
2022-05-14 06:28:02 -07:00
zrll_
470007a6c0
Fix connot execute quest command in console
2022-05-14 05:28:57 -07:00
Melledy
f4770cf20a
Merge pull request #816 from Grasscutters/dev-quests
...
Implement quests
2022-05-13 05:36:30 -07:00
Hotaru
2451d2c897
Build region_list and cur_region dynamically
2022-05-12 14:54:33 -07:00
Melledy
51844b6535
Merge branch 'development' into dev-quests
2022-05-11 03:56:59 -07:00
Melledy
e9d7d5d5f2
Implement quests
2022-05-11 03:56:40 -07:00
Secretboy-SMR
e3fd2eaa17
Removed invalid code in getLanguageFileDescription,When the language is not discovered, it will use the built-in language fallback mechanism to fall back,At the same time, we also fix the issue that using language in the server does not save the settings of the server side locale
2022-05-11 03:11:10 -07:00
Secretboy-SMR
04f6e73447
fixed language not found prompt
2022-05-11 01:18:10 -07:00
gentlespoon
37e1ffed28
Fix incorrect ascension level in givechar command
2022-05-11 01:17:10 -07:00
Secretboy-SMR
a26afe7d47
Fix language switching prompt and save
2022-05-10 13:36:57 -07:00
Secretboy
94409b8635
fixed pr780, uploaded LanguageCommand.java ( #782 )
...
* 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
* I forgot to git add...sorry,,this pr is to fix pr780, uploaded LanguageCommand.java
2022-05-10 06:35:37 -07:00
Secretboy
ecf028d0c6
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
b1bd0a5a95
fixed KillCharacter help command description typo case
2022-05-10 05:21:13 -07:00
Kinesis
c2230485c1
fixed error KillCharacter description in the help command
2022-05-09 12:51:08 -07:00
ImmuState
19e798a28b
Change ccount delete to delete all referenced items in the database.
2022-05-09 12:50:47 -07:00
筱傑
bdc9e483ae
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
9a7d78e0b7
Update translation keys to fix issues 648 677
...
fix issues 648 677
2022-05-09 04:18:12 -07:00
AnimeGitB
63efef8d05
Fix /talent saving to level instead of id
2022-05-09 04:18:04 -07:00
AnimeGitB
713b2698d0
Fix perm field order consistency on GiveCommand
2022-05-09 01:12:47 -07:00
AnimeGitB
80db118f72
Add permissionTargeted to applicable commands
...
Change target perm from target.perm to x.perm.others
2022-05-09 01:12:47 -07:00