Commit Graph

2128 Commits

Author SHA1 Message Date
Ben Woo
c62aa91db7
Move world listener to handle new world manager 2023-09-04 11:27:25 +08:00
Ben Woo
90eb1c882b
Dumps command use new wm and fix some imports 2023-09-04 10:48:08 +08:00
Ben Woo
891f7ca136
Remove old wm reference in bstats, tests and placeholders 2023-09-04 10:34:32 +08:00
Ben Woo
55703e6f39
Merge pull request #2989 from zax71/MV5-fix-dumps-command
Fix /mv dumps to support ANSI and UTF-8 encoded log files
2023-09-04 09:59:30 +08:00
Ben Woo
f280e2076c
Minor cleanup 2023-09-04 09:54:00 +08:00
zax71
17dff457b2 Chore: codestyle changes 2023-09-03 17:36:14 +01:00
Ben Woo
4eb8dfbc67
Move command completion, context, conditions to new world manager api 2023-09-04 00:16:44 +08:00
Ben Woo
08b87cba39
Move destination to new world manager api 2023-09-03 23:42:38 +08:00
Ben Woo
791d8b653c
Allow permission check for offline worlds 2023-09-03 23:40:08 +08:00
Ben Woo
6f673066a8
Fix list command permissions checking 2023-09-03 23:38:22 +08:00
Ben Woo
f524c5bdde
Implement proper spawn location 2023-09-03 23:25:10 +08:00
Ben Woo
dc75e87223
Move entrycheck, playerlistener and worldnamechecker to api 2023-09-03 22:21:28 +08:00
Ben Woo
d77d7032dd
Update list command and fix importWorld bug 2023-09-03 16:15:55 +08:00
Ben Woo
fa4391e543
Merge branch 'MV5' into world-revamp-continue 2023-09-03 15:52:56 +08:00
Ben Woo
046840f0d9
refactor: Remove deprecated and unused classes 2023-09-03 15:52:02 +08:00
Ben Woo
3356757c13
Implement proper reloading of worlds config 2023-09-03 15:39:57 +08:00
Ben Woo
dff192f3ce
Make MVWorld constructor non-public 2023-09-03 14:55:39 +08:00
Ben Woo
f2a3d3f85a
Refactor newMVWorld instance creation 2023-09-03 14:53:51 +08:00
Ben Woo
550dae92e9
Implement more world manager features 2023-09-03 14:35:27 +08:00
zax71
1fef714b8f Fix /mv dumps to support ANSI and UTF-8 encoded log files 2023-09-02 19:08:09 +01:00
zax71
b42b77b0bf implement /mv gamerules command 2023-09-02 18:04:31 +01:00
Ben Woo
b154606922
Finish basic CRUD for new world management 2023-09-03 00:51:07 +08:00
Ben Woo
7828c92926
Add entryfee, spawning and spawn location 2023-09-02 23:07:39 +08:00
Ben Woo
1f7b8ffa96
Add remaining world properties methods 2023-09-02 22:30:06 +08:00
Ben Woo
35993419ca
Implement basic load, unload and remove world 2023-09-02 21:59:53 +08:00
Ben Woo
a8fbeb53d4
Update bukkit world when world config node set 2023-09-02 17:04:30 +08:00
Ben Woo
e1eae48bc7
Implement basic create and delete world 2023-09-02 16:54:33 +08:00
Ben Woo
5dd22b5d9b
Basic mvworld and offline world 2023-09-02 16:12:34 +08:00
Ben Woo
07b543a845
Implement AddWorldOptions to condense method parameters 2023-09-02 15:19:30 +08:00
Ben Woo
f7295e2c2e
Cleanup TODO messages 2023-09-02 14:50:10 +08:00
Ben Woo
a7644b6866
Merge pull request #2975 from zax71/MV5-version-command
Implement `/mv dumps` command
2023-09-01 23:52:45 +08:00
Ben Woo
381f440a6b
Merge branch 'MV5' into MV5-version-command 2023-09-01 23:42:55 +08:00
Ben Woo
4300d83c90
Merge pull request #2986 from zax71/MV5-coord-command
Add `/mv coordinates` command
2023-09-01 23:42:04 +08:00
Ben Woo
adcbcdb7df
Merge pull request #2987 from Multiverse/new-config-migrate
Do not migrate if new config file is created
2023-09-01 23:41:51 +08:00
Ben Woo
b57b70aa28
Merge pull request #2988 from Multiverse/world-config-props
World config props
2023-09-01 23:41:38 +08:00
Ben Woo
7a8f468f98
Minor refactor to dumps command 2023-09-01 23:39:36 +08:00
Ben Woo
867f4a447d
Better error handling for finding files in server directory 2023-09-01 23:33:30 +08:00
Ben Woo
55aac81258
Merge branch 'MV5' into pr/2975
# Conflicts:
#	src/main/java/com/onarandombox/MultiverseCore/world/SimpleMVWorldManager.java
2023-09-01 23:28:05 +08:00
Ben Woo
194dc8ef8a
Fix error message i18n path key 2023-09-01 23:26:23 +08:00
Ben Woo
c7c344730b
Minor refactor to coord command and fix tests 2023-09-01 23:21:57 +08:00
Zax71
f8b75c0781
Update src/main/java/com/onarandombox/MultiverseCore/commands/CoordinatesCommand.java
Co-authored-by: Ben Woo <30431861+benwoo1110@users.noreply.github.com>
2023-09-01 23:20:09 +08:00
Zax71
dc89161a04
refactor: rename permission 2023-09-01 23:20:08 +08:00
zax71
90522a014e
Add /mv coordinates 2023-09-01 23:20:08 +08:00
Ben Woo
6effeacd1b
Add getWorldConfig method 2023-09-01 11:20:25 +08:00
Ben Woo
42eadd91a5
Adda remaining properties methods to WorldConfig 2023-09-01 11:00:59 +08:00
Ben Woo
1b2f8889ce
Do not migrate if new config file is created 2023-09-01 00:03:29 +08:00
Ben Woo
1e9f19b01f
Merge pull request #2841 from Multiverse/list-command
feat: Implement list command
2023-08-31 23:58:56 +08:00
Ben Woo
da1d059b84
Update list command to new api changes 2023-08-31 23:55:40 +08:00
Ben Woo
55805aa618
Merge branch 'MV5' into list-command
# Conflicts:
#	src/main/java/com/onarandombox/MultiverseCore/MultiverseCore.java
2023-08-31 23:34:10 +08:00
Ben Woo
d1ff487a00
Merge pull request #2984 from Multiverse/worlds-config
Worlds config
2023-08-31 23:27:10 +08:00