Commit Graph

482 Commits

Author SHA1 Message Date
KingRainbow44
749293350d Add dispatch to server hook & create instance 2022-04-26 20:47:28 -04:00
KingRainbow44
88bdaf155f Use a custom consumer instead of the built-in one 2022-04-26 20:28:13 -04:00
KingRainbow44
993255235e Fix handler invocation 2022-04-26 19:58:03 -04:00
KingRainbow44
0e514b9002 Fix handler creation 2022-04-26 19:57:32 -04:00
KingRainbow44
46d897ac92 Fix handlers 2022-04-26 14:09:00 -04:00
KingRainbow44
35ff35039b Fix Javadoc & Update version 2022-04-26 14:08:48 -04:00
KingRainbow44
82bca7a612 Overhaul event handling (designed by WetABQ#3417) 2022-04-26 13:52:10 -04:00
Magix
33426fb7a4 Merge pull request #263 from Grasscutters/development
Update API branch
2022-04-26 11:17:20 -04:00
Magix
627a2f1ee8 Merge branch 'api' into development 2022-04-26 11:17:02 -04:00
KingRainbow44
444270fd9c Ignore gradle.properties 2022-04-26 11:14:39 -04:00
KingRainbow44
c9299d8444 Publish to Maven central 2022-04-26 11:14:05 -04:00
Magix
fe055af5e0 Merge pull request #262 from exzork/plugin-system
load all classes from plugin
2022-04-26 10:27:36 -04:00
muhammadeko
9fb5b69ddd load all classes from plugin 2022-04-26 19:45:23 +07:00
Melledy
57c7c704ee Merge pull request #256 from Grasscutters/dev-entity
Implement natural spawns
2022-04-26 00:40:53 -07:00
KingRainbow44
e27bdd9bb6 Add more events 2022-04-26 02:07:00 -04:00
KingRainbow44
502fe7ed13 Reimplement the region list event 2022-04-26 00:45:42 -04:00
KingRainbow44
e681453a15 Begin on plugin API 2022-04-26 00:39:43 -04:00
KingRainbow44
d23050ffa5 Bug fix & Cleanup 2022-04-26 00:39:30 -04:00
KingRainbow44
2369f92cb4 Fix command issue 2022-04-26 00:39:05 -04:00
KingRainbow44
03988414ce Refactor classes 2022-04-26 00:04:03 -04:00
Melledy
297db2ad33 Merge branch 'dev-entity' of https://github.com/Grasscutters/Grasscutter into dev-entity 2022-04-25 14:39:07 -07:00
Melledy
b2f1142116 Add getter for DispatchServer's HttpServer 2022-04-25 14:34:37 -07:00
Melledy
614477181f Fix concurrency related error while spawning monsters 2022-04-25 14:28:45 -07:00
Melledy
2228332f9d Call checkSpawns from World instead of from Player 2022-04-25 14:28:45 -07:00
Melledy
c3f9fd3ce3 Synchronize scene entity map 2022-04-25 14:28:45 -07:00
Melledy
1c691748f5 Make monsters scale off world level 2022-04-25 14:28:45 -07:00
Melledy
f28f21b061 Dont deregister scenes if the player is going to tp back into them 2022-04-25 14:28:44 -07:00
Melledy
711e6eabd0 Natural spawn test
(without luas)
2022-04-25 14:28:44 -07:00
Melledy
0ea3edb73b Fix concurrency related error while spawning monsters 2022-04-25 14:27:54 -07:00
Melledy
5f4afc8ee9 Call checkSpawns from World instead of from Player 2022-04-25 14:12:35 -07:00
Magix
c4bdcc387c Merge pull request #232 from RealHeart/java-17
Update Java to 17
2022-04-25 17:09:46 -04:00
Magix
a505b041f2 Merge pull request #135 from Grasscutters/plugin-system
Implement a plugin system
2022-04-25 17:08:38 -04:00
Magix
dce13cf6af Merge branch 'development' into plugin-system 2022-04-25 17:08:18 -04:00
Melledy
d6544d123a Synchronize scene entity map 2022-04-25 13:59:42 -07:00
b6fedcf262 Support kill from console 2022-04-25 11:01:18 -07:00
dc6702eb5c Add a new alias to the command killcharacter 2022-04-25 11:01:18 -07:00
00a40a84bb Add killcharacter command 2022-04-25 11:01:18 -07:00
alt3ri
5dd5f70903 Merged /clearartifacts and /clearweapons
I merged ClearArtifactsCommand and ClearWeaponsCommand to ClearCommand with UID parameter. Still no send from console cuz I forgor 💀
Usage: /clear <wp | art | mat | all> [uid]
2022-04-25 11:00:10 -07:00
alt3ri
56eb711055 Delete ClearArtifactsCommand.java 2022-04-25 11:00:10 -07:00
alt3ri
c1ef679e30 Delete ClearWeaponsCommand.java 2022-04-25 11:00:10 -07:00
Melledy
eb997006ca Make monsters scale off world level 2022-04-25 04:04:01 -07:00
Melledy
02d2d72890 Dont deregister scenes if the player is going to tp back into them 2022-04-25 02:16:01 -07:00
真心
4c75f9d9cf Update Java to 17 2022-04-25 16:57:46 +08:00
真心
f78e018029 Update Java to 17 2022-04-25 16:55:21 +08:00
Melledy
b8614d63fe Natural spawn test
(without luas)
2022-04-25 01:50:58 -07:00
Melledy
d9e1ed5083 Merge branch 'stable' into development 2022-04-25 00:58:53 -07:00
Magix
cfeec14d01 Update issue templates 2022-04-25 00:56:31 -07:00
zhufengning
16e8439058 fix spelling in README_zh-CN.md 2022-04-25 00:55:07 -07:00
Asnxthaony
480374fb39 fix indent by using smart tabs 2022-04-25 00:54:11 -07:00
Asnxthaony
4e5d72a99a sanity check 2022-04-25 00:54:11 -07:00