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 Dec 10, 2012@bergerkiller
@Bergerkiller: Will you implement a "normal" Netherportal mode with scale 8 or custom scale in MyWorlds? I would like to change from multiverse to myworlds cause of the traincart support. But I would like to still have the nether portals function as usual. So if a player creates a obsidian portal at 800/x/800 a obsidian portal in the nether at 100/x/100 should be created. Basically the functionality that multiverse-netherportals is for.
Will this come to myworlds or is in in the dev versions already?
I would like to TP trains
BR Rob
-
View User Profile
-
Send Message
Posted Dec 10, 2012@TheKmaGuy
Yes you can!
-
View User Profile
-
Send Message
Posted Dec 10, 2012can i download a world and load it as one of my worlds PLease Help!!??
-
View User Profile
-
Send Message
Posted Dec 9, 2012I left MyWorlds because of BK commonLib.
But i'm now tempted to come back as MultiverseCore is 1.6MB in size. Multiverse Inventories is another 216K and Portals is another 82K.
I used my worlds for ages until 1.4.2 when people started falling off the world. Everyone blamed bkcommon lib so i ditched the lot.
Assuming its now fixed i would like to come back but here is my question...
Can i import the inventories from Multiverse Inventories? I'm guessing they are a standard file, so maybe i just move them?
Thanks.
-
View User Profile
-
Send Message
Posted Dec 5, 2012Okay I got only one problem left. My old "creative" world will always load the inventory of the world you connect from and will also come with the "mode" (e.g. survival) of that world. I already tried copying the configuration in worlds.yml from a working world without success. Splitting the inventory ingame doesnt work either. It worked before I got the sharing inventory working, but now I just don't get it right. I imported the world from Single player, could this be the problem? Generating a new world would work in worst case, but keeping the curent map would be great :o
Pastebin from the worlds.yml if it even helps: http://pastebin.com/TczsVNkP
EDIT: It seems there is just an error with the world under its world name. If I move the level.dat and the associated region files to a newly created world it works. If I change the name of the map to the name of the old map it doesn't work again. I searched for all plugin or option files where some settings of this world could have been saved, but I'm clueless. Guess I have to work with a fresh install of the server or another mapname.
EDIT2: For whatever reason it works now. I deleted all plugins and put them back again. Don't know the cause, but I hope it stays this way. Thanks again for your support berger :p
-
View User Profile
-
Send Message
Posted Dec 5, 2012MyWorlds and BKCommonLib doesn't work on latest spigot of today : http://ci.ecocitycraft.com/job/Spigot/
Edit :
Please update with newest Bukkit API, there have been change that must be recompiled. Thanks !
Read HERE for more info
-
View User Profile
-
Send Message
Posted Dec 5, 2012Hi, if i enable split of inventories can i store inventories in MySQL ?
-
View User Profile
-
Send Message
Posted Dec 5, 2012@bergerkiller
That seems to be finally the solution for me. Though it's really mysterious what the general problem is or rather was. Thank you very much for your effort.
EDIT: At first it seemed to work, but now every world shares all items and I can't do prevent it with the ingame commands. I'm testing a bit further myself though.
EDIT2: I created 2 "test" worlds where all works fine. In the 2 regular worlds the settings are resetted as before after a reload/restart.
EDIT3: Guess I found the root of the problem: The plugin has problems with world names written with caps e.g. "MyWorld" -> "myworld" seems to work now. I hope it stays this way ._.
EDIT4: Sharing inventories works great now, but maybe the Dev build damaged the "split inventory" function. I'll try the 1.55 update again and see if it works.
-
View User Profile
-
Send Message
Posted Dec 5, 2012@iBaer New version is now in the development build. I fixed the following things related to the inventories:
Hopefully this fixes your issue.
-
View User Profile
-
Send Message
Posted Dec 5, 2012Forgot to delete the old files, I'll try it asap with new regenerated files.
EDIT: Color bug is fixed now. But the inventories get still resetted.
-
View User Profile
-
Send Message
Posted Dec 5, 2012@iBaer Nothing weird to it, though I did notice you were using the older version (not the latest dev build). You said it happened on both, so I consider this to be of no issue.
I couldn't reproduce it yet, but I suspect it has to do with the world loading order. I'll be double-checking all logic relevant to that.
-
View User Profile
-
Send Message
Posted Dec 5, 2012@bergerkiller
http://pastebin.com/Qa9nrUL1
-
View User Profile
-
Send Message
Posted Dec 5, 2012@iBaer What is your current config.yml of MyWorlds? (pastebin it)
-
View User Profile
-
Send Message
Posted Dec 5, 2012i already tested it with your indev build. stilk get the same result. tonight i will check if their is an incompatibility with other plugins. though i should get an error in the sever.log that way, shouldnt i? and i guess the error doesnt lie in using java7 either.
EDIT: Retried it with only BKCommonLib and My Worlds enabled, still the same error: Inventory settings aren't saved and are on default (not merged) after a restart.
-
View User Profile
-
Send Message
Posted Dec 4, 2012The development version (See top header of this page) has several bugfixes, if not all bugfixes reported in the tickets section. If you have any other problems, or the problem I tried to fix isn't fixed, please post a comment.
@iBaer I tried to reproduce it but to no avail. You can try the development version, but I didn't do anything related to inventories there, so doubt that it is fixed 'magically'. Feel free to try though. I'll do some more extensive testing tomorrow.
-
View User Profile
-
Send Message
Posted Dec 3, 2012@bergerkiller
I just tested it again, it seems that it isn't saved correctly at my server. I have 3 basic worlds + 1 nether/end world. 3 worlds (1 basic and the 2 sub worlds) share the inventory, the others don't. It works when I set it ingame, but the inventory.yml stays empty and after 1-2 (?) reloads/restarts the inventories are all seperated again (similiar to the color thing, which gets corrupted after some reloads).
Did I forget some important settings? useWorldInventories: true + the ingame settings are the only ones, or not?
PS: Just now it showed the following in the inventory.yml but later it vanished again and the file was empty:
EDIT Note: While the text above was in the .yml file, the all inventories were seperated. But it's the first time that I saw anything in the file. So it seems to be temporary only.
-
View User Profile
-
Send Message
Posted Dec 3, 2012@iBaer inventories.yml contains all the inventory groups on the server. Single 'stand alone' groups are not saved (that is why, when all inventories are separate, the file is empty)
-
View User Profile
-
Send Message
Posted Dec 2, 2012Thanks. Can't wait for the BKCLib update. Though I have another problem with the MyWorlds plugin. For some reasons the "inventory settings" (split/merged inventories) are resetted as well. Maybe it would be great if you would set the inventory settings in the world.yml (or the inventories.yml? don't even know what this is used for).
-
View User Profile
-
Send Message
Posted Dec 2, 2012@iBaer I fixed it already in my latest changes for BKCommonLib. Text style codes are automatically converted in the configuration load/save sections. When saving the color character, it will save a & instead. (and when loading converts it back if the character after the & is a valid code)
-
View User Profile
-
Send Message
Posted Dec 2, 2012@bergerkiller: Maybe the localization file would not get corrupted if you change the color code from "§" to "&" like most plugins use it. Btw, the whole bukkit page about localization is kind of outdated.
Hope there is a solution for this.
Here is exactly what happens at our linux server: