Commit Graph

1912 Commits

Author SHA1 Message Date
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
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
Ben Woo
5208028e65
Add todo on comparing config file 2023-08-31 23:25:30 +08:00
Ben Woo
55fd08e0b1
Remove stray white spacing 2023-08-31 23:22:23 +08:00
Ben Woo
904bd8634a
Improve tests for world config file 2023-08-31 23:21:27 +08:00
Ben Woo
02b02530bd
Revert delete command changes 2023-08-31 23:02:19 +08:00
Ben Woo
5fca5b18b8
Remove from commands and add to tests 2023-08-31 22:58:33 +08:00
Ben Woo
aa412b1060
Add todo for loading worlds 2023-08-31 15:17:51 +08:00
Ben Woo
54c8bac3d3
Config node automatically use the enum node serializer 2023-08-31 15:16:41 +08:00
Ben Woo
decf20f95f
Add basic tests for world config 2023-08-31 14:59:31 +08:00
Ben Woo
6888783d01
Implement world blacklist config 2023-08-31 14:21:33 +08:00
Ben Woo
c569bc797f
Implement node serialisation 2023-08-31 14:21:33 +08:00
Ben Woo
5dba9b5904
Starting to shift worlds.yml to new config api 2023-08-31 14:21:32 +08:00
Ben Woo
55b21bf17e
Fix config tests 2023-08-31 14:14:55 +08:00
Ben Woo
4ff1663353
Temp fix to fix tests 2023-08-31 14:03:03 +08:00
zax71
ac6d42549d Reorder logic to make it more readable 2023-08-30 17:40:52 +01:00
zax71
b500afd8f0 Whitespace fixes 2023-08-30 17:28:04 +01:00
zax71
0c79c6577e Rename Services and LogsType enums 2023-08-30 17:26:15 +01:00