My Worlds

Version: 1.65 | Craftbukkit/Spigot: CB 1.5.1 R1.0 / CB 1.6.1 / CB 1.6.2
Description
This plugin features everything related to worlds. Features:
- Load, unload, copy, delete, save and create worlds (Read more...)
- Show information of worlds and list available chunk generators and worlds
- Set world game mode, difficulty, time, weather, autosaving, PvP
- Set world mob spawn restrictions
- Evacuate worlds to clear them from players
- Repair broken worlds to some extend
- Make portals cross-world, one-way, simple, no commands needed
- World-specific chat rooms using permissions
- Automatically load worlds when the server starts and persistent settings
- Extensive permission system, you can even set who can enter what world
- Can act as a tool for other plugins to teleport players from one world to the other
- Simple teleportation commands
- Set OP lists for specific worlds to make players operator on certain worlds
- Easy-to-remember commands: with aliases and chat-message help
- World inventory separation, merging and disabling (clear)
- Main world where players spawn can be configured
- Can set to re-spawn all players on the main world at all times
- Remember the last known position of a player on a world, and teleport him to it (Read more...)
- Auto-import the configuration from Multiverse (Read more...)
Separate inventories?
Yes, MyWorlds now supports per-world inventories. This feature is by default disabled, to enable it, set useWorldInventories to true in the config.yml. By default no worlds share inventories and player inventories are saved and loaded per world. To share inventories, use /world inventory merge followed up by the world names to merge. Split (or detach) gives all worlds specified a separate non-shared inventory. You can use /world inventory enable or disable to disable inventories for worlds. Enabled inventories will save data, disabled won't and result in all items being cleared.
Advice for having plugin-generated or flat worlds
The main world loads (and generates) before My Worlds enables. The Bukkit plugin architecture makes it impossible to load My Worlds before worlds load, since that causes some other incompatibilities. Anyway, if you want to have a 'main' world that is not a nether/the_end/overworld Vanilla world, you will have to do the following:
- Set up the main world to be anything you like (even if you don't use it on your server...you need one)
- Create a new world for the world type you want (flatworld, custom chunk generator, etc.)
- Stop the server and open up the config.yml of MyWorlds
- Change 'mainWorld' to your newly created custom world
- Start the server again and notice how new players join your custom world
- Optionally: disable the 'keep spawn in memory' for the 'server' main worlds (you are not using)
Just to avoid any confusions: it is impossible to let My Worlds alter or replace the main worlds generated by the server. If there is any fix to this or you know 'some way' to do it, let us know. We do consider halting the server enabling process asking for you to create the main worlds, after which enabling continues as usual. But for this, we need to disable the default main worlds from loading up.
Links
For more information:
For help with loading, creating, saving, unloading, etc. worlds.
Look at the changelog
Disclaimer (because things CAN go wrong)
I am not responsible for world damages done by this plugin or by certain commands this plugin performs. If you, for example, loaded 20 worlds and hosted it on a buggy computer with 30 players, odds are the server (and your computer) will crash and worlds become corrupted. Repair can fix worlds, but this does not recover damaged chunks, so don't think you are always covered. Also, never forget to make backups of your worlds, but I guess this is common sense... Just a warning for those that blame their own mistakes on the plugin developer :)
Metrics
This plugin sends server count statistics to MCStats.org. You can (globally) opt out in the PluginMetrics/config.yml file.







-
View User Profile
-
Send Message
Posted Oct 8, 2012Additions to the other additions:
Fixes (more):
-
View User Profile
-
Send Message
Posted Oct 8, 2012@netherfoam I suppose someone used '/world info'. It then has to compute the size of a single world. Now, for some reason, this calculation is either too slow or it is blocked by something. Not sure how I can solve it, as processing the world size is almost instant when I use it.
Is it possible that there are a lot of files in that world folder? That can explain this problem.
EDIT
I'll rewrite the world size algorithm to be a bit more efficient. I noticed that the world size is no longer stored in the level.dat, which is why it now has to calculate it all the time. This does mean, however, that the 'world size' now refers to the total size of all the region files combined, not to all files.
EDIT2
Ok that is pointless, most files are in the region folder and thus that one takes longest to read from. For now, I'll add an 'don't calculate world size' configuration option.
-
View User Profile
-
Send Message
Posted Oct 8, 2012http://pastebin.com/X0iXKcmL
So, uh, ideas? BKT 1.50 I think, MW 1.51
-
View User Profile
-
Send Message
Posted Oct 7, 2012I fixed the firstplayed problem quickly. It was actually a stupid Bukkit bug, but oh well. It's not like they know how to write proper logic *rolls eyes*
Added a fix for this myself.
@sgcsim Update BKCommonLib to v1.30. See the newly added download page when you click 'download' and click the huge-ass banner. There is a /world config load and /world config save command to load/save worlds configuration. There is none for the myworlds config, though.
EDIT
New version coming up soon. First going through the tickets. Fixes so far:
If you have anything to say or request, please comment. Then I can include that in the next version ASAP.
EDIT2
Marked for TODO:
-
View User Profile
-
Send Message
Posted Oct 7, 2012@bergerkiller Ok there is Err01, Err02 and there is plugin list Plugins ... And can you add "reload command" (/worlds reload)
-
View User Profile
-
Send Message
Posted Oct 7, 2012@Stuntweed Hmm yes, I should add the default configuration for worlds somewhere I suppose.
Unfortunately I was busy until 10 PM so I couldn't work on this. I'll start working on the 'first played problem' on monday and make some stubs for a default config.
@DarkOMesias What exactly happens? Or what needs support? I don't use any permissions plugin on my server, as I rely on player.hasPermission and expect it to work. Need to know the exact scenario to find out what to fix.
-
View User Profile
-
Send Message
Posted Oct 7, 2012Suggestion
Is it possible that you can add the possibility to have pvp turned off by default in all new worlds that are created?
-
View User Profile
-
Send Message
Posted Oct 7, 2012Hello, I can't use this on my server because of PEX. If I put any permissions in the config PEX it messes up the whole thing with all the other permissions, and with the ranking system. Could you please look further into this? I really want this plugin to work, best world management plugin out there.
Thank you!
-
View User Profile
-
Send Message
Posted Oct 7, 2012@bergerkiller
Awesome! You're a legend mate! Keep up the good work! This is the only decent multi world plugin out, so dont give up! :D
-
View User Profile
-
Send Message
Posted Oct 6, 2012@ohJey @sgcsim Can you pastebin the errors? When players change worlds a lot of properties are updated, such as gamemode, inventory and more. Can't tell what it is without an error.
@MrRhino27 Ok, hopefully I won't spend the full day on my electronics project on sunday, then I can look into it. Been busy today...
@surfarcher Strange, because the self-teleport works similarly to how player teleport works. Could be something I overlooked.
-
View User Profile
-
Send Message
Posted Oct 6, 2012Im getting 'could not pass playerchange event' when switching worlds.
-
View User Profile
-
Send Message
Posted Oct 6, 2012@bergerkiller I used it but im getting another errors ...
-
View User Profile
-
Send Message
Posted Oct 5, 2012@bergerkiller
Could you please look into it sooner :3 I even tried using a different plugin, it also stops it.
-
View User Profile
-
Send Message
Posted Oct 5, 2012@bergerkiller
At the moment /tpp player world doesn't send them to the spawn, but somewhere else. Somewhere static for the player but different for each player? Given I am using /tpp to send the player to a SkyBlock world they appear in the air in survival mode and fall oyut of the world. LOL
Anyway, I think it would be a great enhancement to an awesome world plugin!
-
View User Profile
-
Send Message
Posted Oct 5, 2012@sgcsim Yes, you have to use 1.51, the latest version. It had some compatibility changes for BKCommonLib.
@MrRhino27 Hmm that could be caused by the fact that the inventory loading logic always loads data. Maybe there is a 'first played' property that gets overridden or something. I'll look into it at some point.
-
View User Profile
-
Send Message
Posted Oct 5, 2012Not working from 1.48 :( http://dl.ps-bred02.eu/err.txt
-
View User Profile
-
Send Message
Posted Oct 5, 2012Hey,
I have found that MyWorlds blocks the new player message in essentials..... :L
-
View User Profile
-
Send Message
Posted Oct 5, 2012@ZzMCKanDoozZ ...And /mw is actually an alias that exists :)
@surfarcher I guess I can do that, yes. /tpp would allow you to put in a portal, world name, or world name + position. Just a world name would teleport to the world spawn.
-
View User Profile
-
Send Message
Posted Oct 4, 2012@TheFluffey
+1!
I am having issues with a SkyBlock template tho *sigh*
Any chance of extending /tppos so that you can also specify an XYZ in the destination world?
-
View User Profile
-
Send Message
Posted Oct 4, 2012A comment for those looking to switch over from Multiverse: DO IT!
I run a production 150 slot Minecraft Hunger Games server. Previously, I was always capped at 16gb ram (Multiverse...). I decided to make the switch after a comment on the multiverse page. Trust me when I say 10x as good. First off: Very easy to switch over... Within 5 minutes I had everything ready to go, exactly the same as before. Extremely lightweight yet powerful. Takes up WAY less RAM than multiverse did. Seems to handle chunks much better too. Additionally, multiverse was throwing exceptions and teleporting players to random places. With My Worlds, no more. SO bug free, so good.
Try it and you won't ever look back.
Mike