Commit Graph

1960 Commits

Author SHA1 Message Date
Ben Woo
656d9ac208
Refactor map Attempt methods 2023-09-10 22:17:10 +08:00
Ben Woo
2fe6297b1d
Fix unintended changes to result 2023-09-10 21:45:30 +08:00
Ben Woo
c8fed72137
Refactor to Result<S, F> and Attempt<T, F> 2023-09-10 21:37:36 +08:00
Ben Woo
f9877201f5
Revamp results to support value returns 2023-09-10 19:43:56 +08:00
Ben Woo
b780f5c2f3
Update gamerules command to new world manager api 2023-09-10 14:10:40 +08:00
Ben Woo
1740137d1e
Merge branch 'MV5' into world-revamp-continue
# Conflicts:
#	src/main/java/com/onarandombox/MultiverseCore/commandtools/MVCommandCompletions.java
2023-09-10 14:05:41 +08:00
Ben Woo
323145ebf0
Merge pull request #3006 from Multiverse/ben/mv5/config-migrate
Implement worlds.yml config migrate
2023-09-10 14:04:03 +08:00
Ben Woo
1a2b88599a
Merge pull request #3007 from Multiverse/dtm/mv5/world-revamp-continue-tweaks
WorldManager tweaks.
2023-09-10 14:01:18 +08:00
Ben Woo
903941eb01
Fix wildcard imports for worldmanager 2023-09-10 13:59:01 +08:00
Ben Woo
b8c10c412d
Improve gamerules command with filter and page flag 2023-09-10 13:56:50 +08:00
Ben Woo
95a1fddbe5
Fix some regression on command flag registering and completion 2023-09-10 13:54:44 +08:00
Jeremy Wood
1eb33c6972
Clean up some return counts in WorldManager. 2023-09-10 01:35:53 -04:00
Ben Woo
b2ed43ba22
Add docs to new migration classes 2023-09-10 12:23:20 +08:00
Ben Woo
c61c98ff5e
Remove serializable including whitespace and newline 2023-09-10 12:03:35 +08:00
Ben Woo
13b9419b85
Improve and fix minor migration regressions 2023-09-10 11:55:00 +08:00
Jeremy Wood
e81296015e
Ignore DeclarationOrder check. 2023-09-09 23:54:05 -04:00
Jeremy Wood
6b40c3a190
Add interface for keeping world settings for options. 2023-09-09 23:53:45 -04:00
Ben Woo
fcbaffc821
Implement basic config migration for worlds.yml 2023-09-10 00:50:58 +08:00
Jeremy Wood
f556f6f98a
Refactor populateWorldFromConfig to be smaller. 2023-09-09 11:48:54 -04:00
Jeremy Wood
c340f16f63
Use different parameter number checks for methods and constructors. 2023-09-09 11:28:24 -04:00
Jeremy Wood
700b0cc81c
Allow checkstyle suppression trailing comments. 2023-09-09 11:25:17 -04:00
Jeremy Wood
34b55e4b4d
Merge pull request #3004 from Multiverse/dtm/mv5/world-revamp-continue-tweaks
Tweaks for world revamp
2023-09-09 11:19:22 -04:00
Jeremy Wood
df0db292ed
Fix incorrect world name var. 2023-09-09 11:19:10 -04:00
Jeremy Wood
c1d2fe48f0
Reduce Result boilerplate in WorldManager. 2023-09-09 11:14:01 -04:00
Jeremy Wood
ba5c054298
Add a bunch of missing package-info.java. 2023-09-09 10:54:10 -04:00
Jeremy Wood
503d054859
Temporarily reduce severity of PackageName check. 2023-09-09 10:52:59 -04:00
Jeremy Wood
6fd56e56e1
Create private message replacement methods in WorldManager. 2023-09-09 10:51:52 -04:00
Jeremy Wood
1affa421d3
Only report on warning/error. 2023-09-09 10:28:55 -04:00
Jeremy Wood
09e1e11016
Give pr write permission to checkstyle workflow. 2023-09-09 10:26:20 -04:00
Jeremy Wood
7a8bd674d2
Fix more checkstyle issues in WorldManager. 2023-09-09 10:23:13 -04:00
Ben Woo
ac3666cf7c
Merge pull request #3003 from Multiverse/ben/mv5/world-revamp-codestyle
Loosen up some codestyle
2023-09-09 22:21:45 +08:00
Jeremy Wood
f5dc049b35
Loosen ClassFanOutComplexity check. 2023-09-09 10:14:59 -04:00
Jeremy Wood
ffb578039f
Try github-pr-review reporter for checkstyle workflow. 2023-09-09 10:02:10 -04:00
Jeremy Wood
654c12b627
Make checkstyle concessions. 2023-09-09 09:59:00 -04:00
Ben Woo
c71bdd83d6
Merge pull request #2997 from Multiverse/better-flag-handling
Better flag handling
2023-09-09 20:05:21 +08:00
Ben Woo
b70960d39c
Add javadocs to new command flag methods 2023-09-09 20:02:50 +08:00
Ben Woo
2f65bf4597
Merge pull request #2992 from zax71/MV5-gamerules-command
Implement `/mv gamerules` command
2023-09-09 19:54:21 +08:00
Zax71
ee4a8c8ec9 Fix (some) of the checkstyle violations 2023-09-09 12:27:44 +01:00
Zax71
48ff8d8bd1 Switch to ContentDisplay API 2023-09-09 12:16:48 +01:00
Ben Woo
0f105b1777
pain: Add docs to the new world related classes 2023-09-09 13:46:32 +08:00
Ben Woo
4cbe2eaca9
Loosen up some codestyle 2023-09-09 12:32:37 +08:00
Ben Woo
8e95c22c4d
Refactor and fix some world manager code style 2023-09-09 12:31:43 +08:00
Ben Woo
5c7c9ba465
Improve world config management with parsing of new and removed worlds on reload 2023-09-09 00:41:36 +08:00
Ben Woo
b4617c1c1f
Eradicate all reference of offline world 2023-09-08 23:41:26 +08:00
Ben Woo
f0d2499dd2
Refactor multiverse world class and getters naming 2023-09-08 23:19:43 +08:00
Ben Woo
17f2f58c1d
Fix clone command newworld replacement id 2023-09-08 23:10:47 +08:00
Ben Woo
27ff3b7a7b
Merge pull request #3001 from Multiverse/dtm/mv5/world-revamp-continue-patch
Apply basic checkstyle fixes.
2023-09-08 22:43:14 +08:00
Jeremy Wood
8f439abd1b
Merge remote-tracking branch 'origin/world-revamp-continue' into dtm/mv5/world-revamp-continue-patch
# Conflicts:
#	src/main/java/com/onarandombox/MultiverseCore/worldnew/WorldManager.java
2023-09-08 09:13:41 -04:00
Jeremy Wood
035005bac3
Apply basic checkstyle fixes to DataStore. 2023-09-08 09:08:30 -04:00
Jeremy Wood
324328f254
Apply basic checkstyle fixes to WorldConfigManager. 2023-09-08 09:07:46 -04:00