Commit Graph

2046 Commits

Author SHA1 Message Date
Ben Woo
1dfdb611c6
Set back throw count to 0 2023-09-12 00:15:13 +08:00
Ben Woo
dd4b01f922
Fix a lot of checkstyles throughout 2023-09-12 00:07:25 +08:00
Ben Woo
39f3805ef3
Fix all imports once and for all 2023-09-11 23:09:34 +08:00
Jeremy Wood
d3fa42a035
Merge pull request #3013 from Multiverse/world-revamp-continue
Continue revamping World/WorldManager.
2023-09-11 10:42:47 -04:00
Ben Woo
46d115b2f3
Fix LocalizationTest 2023-09-11 22:13:48 +08:00
Ben Woo
690d956ce2
Merge branch 'MV5' into world-revamp-continue 2023-09-11 22:11:32 +08:00
Ben Woo
ffec23c9ed
Add docs and fix more checkstyles 2023-09-11 21:52:16 +08:00
Jeremy Wood
d77fb43536
Add continue-on-error to step as well. 2023-09-11 08:48:23 -04:00
Jeremy Wood
86e2ab45fb
Change checkstyle workflow back to PR annotations without failure. 2023-09-11 08:44:05 -04:00
Jeremy Wood
5a474d7efa
Merge pull request #3010 from Multiverse/ben/mv5/nested-locale-message
Add support for nested Message within MessageReplacement and fix some checkstyles
2023-09-11 08:30:09 -04:00
Jeremy Wood
ca9b244a89
Merge pull request #3011 from Multiverse/ben/mv5/upstream-checkstyle
Upstream checkstyle changes from world revamp
2023-09-11 08:13:42 -04:00
Ben Woo
329901afa6
Remove public from config nodes and remove names that are the same as path 2023-09-11 17:06:06 +08:00
Ben Woo
61570b1a7f
Merge pull request #3012 from Multiverse/ben/mv5/improve-world-purge
Cleanup world purger and add docs
2023-09-11 16:48:31 +08:00
Ben Woo
aa063007e8
Fix some checktyle issue in WorldPurger 2023-09-11 16:47:39 +08:00
Ben Woo
58c13c1f73
Copy spawn location when cloning world 2023-09-11 16:42:27 +08:00
Ben Woo
c0f2168ba4
Copy spawn location only if seed didnt change on regen 2023-09-11 16:40:03 +08:00
Ben Woo
ef0cb4b893
Do not apply spawn location if it's a null location 2023-09-11 16:39:34 +08:00
Ben Woo
c2ff8a467f
Make unsettable properties have null name 2023-09-11 16:38:49 +08:00
Ben Woo
404a2f4183
Cleanup adjust spawn logic 2023-09-11 16:03:36 +08:00
Ben Woo
a4a5be20f9
Use .get() for world folder, since it should fail if null 2023-09-11 15:49:27 +08:00
Ben Woo
481933b948
Add support for removing players before unloading world 2023-09-11 15:39:06 +08:00
Ben Woo
379e0172c4
Fix regen world keeping seed not working 2023-09-11 15:38:28 +08:00
Ben Woo
d8334ad71a
Refactor world results and add docs 2023-09-11 14:35:56 +08:00
Ben Woo
ba7b6ae951
Upstream checkstyle changes from world revamp 2023-09-11 13:40:50 +08:00
Ben Woo
1745c16bec
Add support for nested Message within MessageReplacement and fix some checkstyles 2023-09-11 13:37:38 +08:00
Ben Woo
7490996ecb
Make getWorldConfig return an Option 2023-09-11 11:49:52 +08:00
Ben Woo
bf7a708fb3
Reorder and add more world blacklisted names 2023-09-11 11:41:40 +08:00
Ben Woo
d02cd63244
Merge pull request #3008 from Multiverse/ben/mv5/results
Revamp results to support value returns
2023-09-11 10:55:08 +08:00
Jeremy Wood
089655fada
Fix some more checkstyle issues. 2023-09-10 13:35:25 -04:00
Jeremy Wood
8ffd716190
Fix some checkstyle issues. 2023-09-10 13:34:36 -04:00
Ben Woo
99846b5567
Add javadocs and fix some checkstyles 2023-09-10 23:00:15 +08:00
Ben Woo
6f9f9085fd
Refactor world results to remove success reason 2023-09-10 22:29:42 +08:00
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
Zax71
d1bc67204b
Update src/main/java/com/onarandombox/MultiverseCore/config/MVCoreConfigNodes.java
Co-authored-by: Ben Woo <30431861+benwoo1110@users.noreply.github.com>
2023-09-10 12:15:05 +01:00
Zax71
c8e1143e32 Implement requested changes 2023-09-10 10:22:13 +01:00
Ben Woo
e318f1e86f
Cleanup world purger and add docs 2023-09-10 15:03:05 +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