Commit Graph

512 Commits

Author SHA1 Message Date
lhhxxxxx
eef216aea8 Update Account.hasPermission()
Add wildcard characters to permission nodes under the same namespace. (simple implementation)
2022-04-30 01:30:38 -07:00
Melledy
286ab545e9 Monsters should not drop items inside dungeons 2022-04-30 01:20:44 -07:00
Melledy
7e377dff59 Implement script region check 2022-04-30 01:20:44 -07:00
Melledy
1ed46df6e8 Move script constants to globals 2022-04-30 01:20:44 -07:00
Melledy
3f76ac4cac Temporary fix for scripts that call require 2022-04-30 01:20:44 -07:00
Melledy
f8f4d89cd0 Optimize GetOnlinePlayerListRsp 2022-04-30 01:20:44 -07:00
Melledy
66c2743d6e Update how scene/dungeon map points are handled 2022-04-30 01:20:44 -07:00
lhhxxxxx
c2b8a20e03 Update GiveAllCommand.java
giveall command nomore give arts
2022-04-30 01:04:10 -07:00
筱傑
d8e458cd33 Fix Give Command Promote Level Bug
Should be <=40, just change the order
2022-04-30 01:02:39 -07:00
muhammadeko
8a9dab7d74 Give Artifact: Clear random props first before adding all picked props 2022-04-29 17:11:12 -07:00
KingRainbow44
4db1724d06 Merge branch 'development' into api
# Conflicts:
#	src/main/java/emu/grasscutter/Grasscutter.java
2022-04-29 19:31:33 -04:00
lilmayofuksu
59ff79e23a Limit the amount of vehicles that a player can spawn (#340) 2022-04-29 21:01:07 +02:00
BaiSugar
7e6b20de1a Added interface display for multiplayer games (#360) 2022-04-29 18:20:46 +02:00
赤座あかり
79165aa402 Add command to get reliquary with specific props (#300) 2022-04-29 16:31:22 +02:00
omg-xtao
7fdf74986c Merge branch 'development' into tp 2022-04-29 21:38:45 +08:00
真心
48aea3f5e4 Add 'refinement' option to 'give' command 2022-04-29 15:20:28 +02:00
真心
d0ccc48642 Add 'refinement' option to 'give' command 2022-04-29 15:20:28 +02:00
真心
9892cd8480 Delete GiveWeaponCommand.java 2022-04-29 15:20:28 +02:00
真心
2d04758f1c Add GiveWeaponCommand 2022-04-29 15:20:28 +02:00
eaed1aa038 Change NickName to ServerNickname 2022-04-29 19:37:51 +08:00
yangjiahao
e1c0b4a955 改进了clear命令的逻辑,使他在不输入uid时默认为当前玩家。 2022-04-29 13:07:30 +02:00
memetrollsXD
352801b8a3 Merge pull request #344 from BaiSugar/development
Command giveall to remove useless items
2022-04-29 13:04:25 +02:00
LDA
c67e324a2e Fix sitting in chairs 2022-04-29 12:59:50 +02:00
62f0be4966 Support custom server in-game nickname 2022-04-29 18:59:24 +08:00
memetrollsXD
2f39aff4a6 Merge pull request #355 from Grasscutters/dungeon-scripts
Implemented Dungeon Support
2022-04-29 12:58:01 +02:00
Melledy
6d98743025 Prevent console error spam when attacking gadgets 2022-04-29 03:33:14 -07:00
Melledy
d877d7eebc Remove player from challenge if they are leaving the scene 2022-04-29 03:24:36 -07:00
Melledy
cb15a5dec9 Deregister scenes if no one is in them instead of deregistering when no entities are in them 2022-04-29 03:09:17 -07:00
Melledy
ffc1f801e6 Implement spawning monsters by suite 2022-04-29 03:06:33 -07:00
0136425628 Support custom server avatar 2022-04-29 18:04:20 +08:00
74ad63573a Support Teleport from console 2022-04-29 17:53:42 +08:00
Melledy
ae3d9a4dc1 Add a few more functions for the script engine to call 2022-04-29 02:38:25 -07:00
muhammadeko
789e5f57b8 skip loading module-info.class 2022-04-29 02:32:35 -07:00
Melledy
1a5d4cf466 Implement lazy loading of scripts when they enter a new block 2022-04-29 02:07:25 -07:00
Melledy
3af5d20473 Prevent weird crashing if there was an error loading scripts 2022-04-29 01:15:40 -07:00
Melledy
14b6d3ce55 Fix monster levels in dungeons 2022-04-29 01:03:16 -07:00
Melledy
d690590ecf Implement AddExtraGroupSuite 2022-04-29 00:52:40 -07:00
Melledy
72e9a21ce3 Allow the player to finish dungeons 2022-04-29 00:49:05 -07:00
Melledy
8ab2b446cd Clean script events 2022-04-29 00:00:23 -07:00
BaiSugar
1bd8d871bb remove useless items 2022-04-29 14:18:32 +08:00
BaiSugar
76098cdb71 remove useless items 2022-04-29 14:13:09 +08:00
Melledy
30886da0ad Fix compile error caused by merge 2022-04-28 23:09:07 -07:00
Melledy
60cfa40d7f Merge branch 'development' into dungeon-scripts 2022-04-28 22:21:26 -07:00
Melledy
d71b7abfc3 Implement script support needed for dungeons
Only a few are supported right now
You will need certain script files in ./resources/Scripts
2022-04-28 22:19:14 -07:00
KingRainbow44
d359e5111a Player events + mail receive event 2022-04-28 22:21:55 -04:00
KingRainbow44
d701613831 Formatting changes 2022-04-28 22:21:30 -04:00
KingRainbow44
e666dede7e Move events (imports) 2022-04-28 22:13:19 -04:00
KingRainbow44
68cc386baa Move events 2022-04-28 22:12:57 -04:00
KingRainbow44
9d9c6566ed Player join & quit event 2022-04-28 22:12:41 -04:00
KingRainbow44
dc26f9e232 Add plugin data folders 2022-04-28 22:01:40 -04:00
KingRainbow44
91a2a55ed9 Bug fixes & class updates 2022-04-28 21:54:51 -04:00
KingRainbow44
694b5c1548 Merge branch 'development' into api 2022-04-28 21:53:58 -04:00
memetrollsXD
31764fe5d9 Merge branch 'development' into startMail 2022-04-28 22:45:23 +02:00
memetrollsXD
5c02fee7e2 Customisable welcome mail 2022-04-28 22:42:59 +02:00
Kengxxiao
fcb4894387 fix shop config issue 2022-04-28 13:30:50 -07:00
Kengxxiao
275fcc7dd6 shop improvement 2022-04-28 13:30:50 -07:00
Kengxxiao
0559cc4e0b official shop support 2022-04-28 13:30:50 -07:00
Kengxxiao
027bd28afb Add command /coop and /tpall 2022-04-28 21:23:20 +02:00
ayy lmao
0c02ce9f63 Implement HandlerVehicleInteractReq & Rsp and HandlerVehicleSpawnReq & Rsp
Also added opcodes related to vehicles, added LODPatternName to GadgetData and added EntityVehicle class
2022-04-28 21:21:08 +02:00
omg-xtao
31b0dd30e2 Ignore item not found error 2022-04-28 08:43:17 -07:00
Melledy
53cc1822f6 Implement dungeon entry 2022-04-28 08:20:37 -07:00
Kengxxiao
9133742eb0 fix companionship exp
my IDEA lint is not happy on my change
2022-04-28 06:50:37 -07:00
Kengxxiao
7bacd8ab70 do not save virtual item 2022-04-28 06:50:37 -07:00
Kengxxiao
ed98ab152d fix exp drop issue 2022-04-28 06:50:37 -07:00
BaiSugar
a5601e8409 Update the command format of the usage (including source code) 2022-04-28 13:47:32 +02:00
Melledy
9d75c25085 Fix missing player tick function 2022-04-27 19:37:25 -07:00
Melledy
d3925e8c6e Merge pull request #318 from Yazawazi/development
Implementing the `Player Show Avatars`
2022-04-27 15:50:53 -07:00
memetrollsXD
96dbc2fbfd God damn forgot I was in java for a sec 2022-04-27 15:42:25 -07:00
memetrollsXD
b80b8aedd9 Remove default permissions from account command 2022-04-27 15:42:25 -07:00
memetrollsXD
eaf2982ebc Apply to account command 2022-04-27 15:42:25 -07:00
memetrollsXD
0c665d940e Add default permissions 2022-04-27 15:42:25 -07:00
Yazawazi
0cbfcddae4 Should be OK 2022-04-28 06:40:25 +08:00
memetrollsXD
28a0844860 God damn forgot I was in java for a sec 2022-04-28 00:30:04 +02:00
memetrollsXD
8d332614b7 Remove default permissions from account command 2022-04-28 00:28:16 +02:00
memetrollsXD
90df06edd7 Apply to account command 2022-04-28 00:18:59 +02:00
memetrollsXD
5e9f497614 Add default permissions 2022-04-28 00:10:46 +02:00
Yazawazi
02ce62422f kill me plz 2022-04-28 03:46:24 +08:00
Yazawazi
982cbbe5d2 no headimage okay 2022-04-28 03:45:17 +08:00
Yazawazi
e55160dad6 Headimage 2022-04-28 03:40:32 +08:00
Yazawazi
363dae9fa6 Next time I'll never use github.dev again 2022-04-28 03:37:09 +08:00
Yazawazi
9092c9b3f9 import 2022-04-28 03:31:36 +08:00
Yazawazi
f16d33b413 Player show avatar list 2022-04-28 03:21:51 +08:00
Melledy
f6db39926d Fix co-op requests not showing up 2022-04-27 11:23:33 -07:00
Melledy
10e5851a59 Add message about the server being free 2022-04-27 11:23:33 -07:00
Melledy
555937d2aa Fixed concurrency issue in killall 2022-04-27 11:23:33 -07:00
Melledy
8bf17a8bdc Fixed genesis crystals not being given to player 2022-04-27 11:23:33 -07:00
Melledy
1586bab5d7 Gacha banner tweaks
Removed min/maxItemType
Added configurable base weight values for banners
2022-04-27 11:23:33 -07:00
Melledy
1130138a4f Fix internal server error when changing characters 2022-04-27 11:23:33 -07:00
KingRainbow44
d32f706cf3 Merge branch 'development' into api
# Conflicts:
#	src/main/java/emu/grasscutter/plugin/api/ServerHook.java
2022-04-27 14:05:34 -04:00
Yazawazi
2ba16cf8b2 comment & mooncard 2022-04-27 08:42:48 -07:00
Yazawazi
32d322b0be onEnable & onDisable 2022-04-27 08:42:48 -07:00
Yazawazi
5b6ecc7219 Task Improvement 2022-04-27 08:42:48 -07:00
Kengxxiao
669e58d9f3 Merge branch 'development' into dev-feature-drop 2022-04-27 22:54:59 +08:00
Kengxxiao
ee3a0c32fc use better shop config structure 2022-04-27 07:35:31 -07:00
Kengxxiao
3e0ccbbbde implement npc shop 2022-04-27 07:35:31 -07:00
ayy lmao
0e3a80407e Added missing isGiftMail section to GetAllMailRsp 2022-04-27 15:11:57 +02:00
Kengxxiao
57e408012b reset drop table in reload command 2022-04-27 17:44:12 +08:00
Kengxxiao
8b614d8df8 implement simple drop system 2022-04-27 17:42:02 +08:00
Melledy
d1fc8c1faa Moved some files around 2022-04-26 21:27:35 -07:00
Melledy
1c36f0785b Renamed all references to a certain game 2022-04-26 21:27:35 -07:00