benwoo1110
f5a2d7bc47
Add getPotentialWorlds method to WorldManager.
2021-03-09 10:40:46 +08:00
benwoo1110
24295025ef
Add option to lookup mvworlds without checking for aliases.
2021-03-09 10:35:42 +08:00
benwoo1110
0d4595d511
Implement new WorldNameChecker for better preliminary checks of world name.
2021-03-08 18:03:35 +08:00
benwoo1110
425b1c80cc
Update to all use static logging.
2020-12-12 10:49:49 +08:00
Jeremy Wood
e7dd4fee51
Merge pull request #2430 from benwoo1110/clone-cleanup
...
Remove uneeded variables from clone method
2020-10-07 22:41:01 -04:00
Ben Woo
146075de69
Loads unloaded world before deleting ( #2431 )
...
* Loads unload world before deleting
Fixes issue where unloaded worlds can't be deleted.
* Missing commit line smh
2020-10-07 22:38:45 -04:00
benwoo1110
b345baf20e
Remove uneeded variables from clone method
2020-10-06 21:12:18 +08:00
Ben Woo
36094e2bea
Disallow world names with spaces ( #2393 )
...
* Disallowed world names with spaces
* Fixed wildcard imports
* Use Pattern regex check for worldname validation
Co-authored-by: wben1110 (desktop) <unconfigured@null.spigotmc.org>
2020-10-05 23:58:18 -04:00
Jeremy Wood
ad1b733498
Merge pull request #2379 from rti/master
...
load cloned world with doLoad() instead of addWorld() (fixes #2378 )
2020-10-05 00:29:25 -04:00
Robert Timm
b8acd339b3
load cloned world with doLoad() instead of addWorld() ( fixes #2378 )
2020-10-02 10:01:54 +02:00
benwoo1110
e1494808f3
Fixed inability to clone due to unable to copy session.lock ( #2392 )
...
* Added ability to exclude files when copying folders
* Remove wildcard imports
* Added unit testing for ignoring files as well
Co-authored-by: wben1110 (desktop) <unconfigured@null.spigotmc.org>
2020-08-27 08:47:57 -04:00
wellnesscookie
c70e254dbf
Fixes alias not clearing after cloning the world
...
This will rather set an alias to an empty string which will automatically be resulted in alias being as same as the name of the cloned world.
Previously, it was not working as intended and kept the alias of the oldWorld.
2020-04-30 20:43:11 +02:00
Brokkonaut
d0180f05d5
Option to disable the automatic purge of entities ( #1933 )
2019-01-25 13:16:29 -05:00
Jeremy Wood
d2d243caec
Deny import of "plugins" and "logs" folder as a world. Should fix #1655
2016-02-15 10:40:07 -05:00
Jeremy Wood
865434d1b1
Don't accept null worlds from the server. Addresses #1649 .
2016-02-04 09:39:30 -05:00
JBYoshi
528dc25fcb
Update cloneWorld().
...
- Make it actually work.
- Support for unloaded worlds - saves memory!
- The Thread code seems unnecessary since the main thread just waits for it to finish, so I'm removing it.
- Added cloneWorld(String, String).
- Deprecate the old cloneWorld() method.
Closes #1436
Closes #1491
Due to some limitations, I have to temporarily load the old world in
order to properly clone. However, **no chunks are loaded during this
process.**
2015-10-27 22:06:56 -04:00
Liam
65cc817573
Changing words
...
mc-region-fixer instead of chunkster because it's the only one that works of the two.
2015-07-14 20:24:18 +01:00
Jeremy Wood
21aaf4a03e
Non-default worlds will now no longer initially load their spawn chunks if keepSpawnInMemory is false. Fixes #1079
2014-02-06 13:12:14 -05:00
bloodshot
cbe6c2c901
Added World Load/Unload Event listeners to support Forge.
...
* Added extra check to WorldManager.doLoad to check parent folder when
loading worlds. This is required by Forge since the world container is not
MC root but the overworld root.
2013-05-24 11:47:02 -04:00
main()
4a66a2f5bb
If the debug level is >= 1: stacktrace
2013-03-18 18:02:55 +01:00
main()
a8040abd52
"Not MV's fault"-Message for getChunkGenerator()
...
If a plugin, for whatever weird reason, gets loaded and enabled correctly,
but just getDefaultWorldGenerator() throws, people might think it's MV's
fault. Not anymore.
2013-03-18 17:27:03 +01:00
main()
fa9191dd8f
The message now CLEARLY states that it's not Multiverse's fault.
2012-12-22 15:26:20 +01:00
main()
4043d5abcb
Getting the generator is now wrapped in a try block.
...
The Bukkit API calls a plugin method. If that method throws exceptions, they fall through right into our face and then Bukkit blames us. Not good.
Thanks andrewkm for mentioning this.
2012-12-22 00:53:03 +01:00
Jeremy Wood
ff22077adf
New worlds now use the correct scale. Fixes #979 .
2012-11-27 14:09:33 -05:00
Jeremy Wood
cce1ccc967
Now caches the world properties before unloading the world in order to prevent NPE on unload then load. Really fixes #947 .
2012-11-15 09:30:19 -05:00
Jeremy Wood
e5537dd8f1
"mv regen" now respects world type!
2012-11-14 20:55:12 -05:00
Jeremy Wood
7d1c47c2fc
Shifted world properties to its own class WorldProperties so we can now only initialize an MVWorld if there is a 'more solid' world reference. Let's hope this works! Should fix #947
2012-11-13 17:30:35 -05:00
Jeremy Wood
d4347d0cff
Fixed incorrect log level.
2012-10-25 15:48:28 -03:00
Jeremy Wood
b033d59b8a
Optimized some log messages and change some Level.INFO messages to Level.CONFIG for the new silent start mode. Fixes #697 .
2012-10-25 14:36:44 -04:00
Ammar Askar
895360ce8b
Only delete world folder contents on mv regen, fixes #767
2012-10-22 19:06:19 +02:00
Jeremy Wood
d9a7275682
Stop checking for null worlds.
2012-08-21 15:06:55 -04:00
Jeremy Wood
f2e1053b88
Now using ConcurrentHashMap instead of locks for worlds Map.
2012-08-21 14:54:49 -04:00
Jeremy Wood
9196973d1c
Fixed NPE in world loading.. Thanks Grimlock257 for spotting this.
2012-08-21 13:20:13 -04:00
Jeremy Wood
eb1dc502cd
Now using ReentrantLock instead of synchronized blocks. Should help debug lag issue.
2012-08-11 23:21:58 -04:00
main()
48adbec011
dat style
...
CheckStyle is merciless!
2012-08-06 15:34:01 +02:00
main()
a9a5d7467a
Fixed world regeneration
2012-08-06 15:17:14 +02:00
main()
b8a0891c4c
Fixed again...
2012-08-06 12:06:50 +02:00
main()
3395f3d7c7
We shouldn't try to load deleted worlds
2012-08-06 11:29:54 +02:00
Jeremy Wood
b2f3b74062
Synchronized all access to worlds map in WorldManager.
2012-08-05 00:00:46 -04:00
Matt H
f57468126a
Added '/mv clone' command to clone a world.
2012-08-04 14:29:13 -06:00
main()
21a3eeacc8
That's the way it should be.
2012-05-03 16:20:59 +02:00
main()
f1779c9e68
Shame on me. -.-
2012-05-01 18:46:47 +02:00
main()
5d9941d073
Why is 'null' deserialized to "null" instead of null!?
2012-05-01 15:31:10 +02:00
main()
d7a3e1839e
Should fix environment, seed and generator-issues.
2012-05-01 12:23:04 +02:00
main()
1496d940bf
Merge pull request #547 from Multiverse/mvworld-plus-serializationconfig-equals-awesome
...
MVWorld + SerializationConfig = Awesome
2012-04-30 13:54:37 -07:00
Eric Stokes
3f93fb3648
Add new param to the PTPE, Don't die if we don't find or can't access bukkit.yml
2012-03-18 17:26:24 -06:00
main()
d1280a9031
Some fixes + added tests.
2012-03-07 19:59:20 +01:00
main()
fd227960b9
Now correctly saving worlds
2012-03-04 20:21:42 +01:00
main()
0efc0b965b
Fixed removeWorldFromConfig(String).
2012-03-04 19:53:40 +01:00
main()
bbe134bd1a
Dots in world-names are now possible! :D
2012-03-04 19:36:14 +01:00