Commit Graph

33 Commits

Author SHA1 Message Date
Yazawazi
91f8381fb1 [Anime Game Version update] Support 2.7 (#1072)
* feature(2.7 version): support 2.7 version & upload new protos

1. Support GC in GI 2.7.0;
2. Upload new protos;
3. Fix some bugs cuz by new protos.

BREAKING CHANGE: all

* fix(database helper): fix player uid issues

* fix(ability embryo): uint32 to fixed32

* fix(proto): map mark

rename MAP_MARK_FROM_TYPE_NOE to MAP_MARK_FROM_TYPE_NONE

* fix(game version): change game version to 2.7.0

* perf(proto): remove unused protos

1. Remove unused protos;
2. Temporarily commented out some of the proto fields.

* fix(proto): uint32 to fixed32
2022-05-30 20:06:25 -07:00
line-bear
58df221c6d Remove the extra slash while loading resources. (#893)
* Remove the extra slash

* Update src/main/java/emu/grasscutter/Configuration.java

Co-authored-by: HotaruYS <105128850+HotaruYS@users.noreply.github.com>

* Update src/main/java/emu/grasscutter/Configuration.java

Co-authored-by: HotaruYS <105128850+HotaruYS@users.noreply.github.com>

* Update src/main/java/emu/grasscutter/Configuration.java

Co-authored-by: HotaruYS <105128850+HotaruYS@users.noreply.github.com>

* Import java.nio.file.Paths to use Paths.get

* Mark fields as private to prevent use *FOLDER directly

* Remove unnecessary slash

Co-authored-by: HotaruYS <105128850+HotaruYS@users.noreply.github.com>
2022-05-15 23:32:03 -07:00
KingRainbow44
87bfc25ab8 Refactor dispatch (now called HTTP) server (pt. 2) 2022-05-13 23:22:30 -04:00
KingRainbow44
68e6de8ebb Add plugin loggers 2022-05-11 11:46:36 -04:00
KingRainbow44
89bd4b9aeb Refactor config database settings 2022-05-11 11:38:30 -04:00
KingRainbow44
6894ab8aae Convert to the far superior config system 2022-05-11 00:30:07 -04:00
Magix
f133a8b123 Update PluginManager.java 2022-05-07 17:58:18 -04:00
muhammadeko
5cc9ecfd91 PluginManager: Use the same class loader and add getPlugin method 2022-05-07 19:48:51 +07:00
KingRainbow44
f7311968d6 Convert to the superior language system. (pt. 2) 2022-05-06 00:57:45 -04:00
KingRainbow44
023c5baffe Convert to the superior language system. (pt. 1) 2022-05-05 23:57:55 -04:00
KingRainbow44
47cf1e5898 Merge branch 'development' into api
# Conflicts:
#	src/main/java/emu/grasscutter/Grasscutter.java
2022-04-29 19:31:33 -04:00
muhammadeko
590ea7d920 skip loading module-info.class 2022-04-29 02:32:35 -07:00
KingRainbow44
d1ec5b3553 Add plugin data folders 2022-04-28 22:01:40 -04:00
KingRainbow44
e2d6e695dc Bug fixes & class updates 2022-04-28 21:54:51 -04:00
KingRainbow44
38b782e5c3 Merge branch 'development' into api
# Conflicts:
#	src/main/java/emu/grasscutter/plugin/api/ServerHook.java
2022-04-27 14:05:34 -04: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
KingRainbow44
5b351b955c Add get methods to the server hook 2022-04-26 21:24:37 -04:00
KingRainbow44
34c358669b Added getting resources from the JAR 2022-04-26 21:24:09 -04:00
KingRainbow44
cf7fae8d06 woo back to generics 2022-04-26 20:47:45 -04:00
KingRainbow44
7ac31d9991 Add dispatch to server hook & create instance 2022-04-26 20:47:28 -04:00
KingRainbow44
f1623e9eab Use a custom consumer instead of the built-in one 2022-04-26 20:28:13 -04:00
KingRainbow44
7f5cd1065d Fix handler invocation 2022-04-26 19:58:03 -04:00
WetABQ
b392849577 [BREAKING CHANGE] proto auto compiled by gradle (#226)
* [BREAK] proto auto compiled by gradle

* [BREAK] move proto to submodule

* update gitmodules

* [BREAK] move proto to submodule

* move proto to submodule

* fix merge conflict

* fix github action after merging

* fix merge conflicts and del submodule

* upload the proto
2022-04-26 14:44:30 -07:00
KingRainbow44
26db170a1e Fix Javadoc & Update version 2022-04-26 14:08:48 -04:00
KingRainbow44
727fa8a67d Overhaul event handling (designed by WetABQ#3417) 2022-04-26 13:52:10 -04:00
Magix
30d4fec9d4 Merge branch 'api' into development 2022-04-26 11:17:02 -04:00
muhammadeko
2bd470c574 load all classes from plugin 2022-04-26 19:45:23 +07:00
KingRainbow44
9fd5aef687 Add more events 2022-04-26 02:07:00 -04:00
KingRainbow44
9ee8974fea Begin on plugin API 2022-04-26 00:39:43 -04:00
KingRainbow44
8b34222ceb Implement an event handler 2022-04-23 01:58:37 -04:00
KingRainbow44
2a6984229e Plugin enabling & disabling 2022-04-23 01:17:35 -04:00
KingRainbow44
6243c4e6e8 Basic plugin manager 2022-04-22 21:45:44 -04:00