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.
Hey bergkiller, any ideas what could cause that? http://pastebin.com/M73GbJFD Nothing was being done with MyWorlds at that time. It is a one time crash, but still decided to investigate it. Spigot, if it matters.
@AZDiablo Be sure to split the inventories too, otherwise it will still share. Easiest way is using /world inventory split [worldname] which will give that world an inventory of it's own, not sharing with the other worlds. Sorta what @stgram said
@Teetor Update BKCommonLib too. (or..only)
@Cubby219 1.) Remove the block BELOW the portal block to break it. This functionality is added to allow for manually placing/building portals. You can disable this in the config.yml: overridePortalPhysics: false
2.) Peaceful is a difficulty, not a gamemode. Use /world difficulty peaceful.
Hello I have two comments but I thought I would consolidate them into 1
1. When deleting an allready made nether portal the portal doesn't dissapear. In vanilla breaking 1 block will destroy it all! However in bukkit with your plugin breaking on e of the obsidian blocks creats 3 unbreakable portal pieces.
2. I have a plugin that has roads that make you go really fast. However people allways use 3 hunger while on it. Since that road is in its Seperate road I would like to turn it on to peaceful since hunger isn't in peaceful. When I do the command it says game mode cleared.
Just me or nothing working? No portals. No /world commands.
@Brangspears
@bergerkiller
I believe the Essentials Chat has that option, to include the {WORLDNAME} tag. If using it, check http://ess.khhq.net/cfg/ on line 525. If not, consult the chat plugin's documentation.
@AZDiablo
You should simply enable useWorldInventories: true, and each world will have a separate inventory. Are you testing with OP? If yes, then you have by default the perm. myworlds.world.keepinventory, which saves your invetory throughout the worlds.
I have 4 worlds. 1 is creative the other 3 are survival. I tried disabling world inventories on the creative world, but that only cleared my inventory. i can still bring items back and forth.
@Brangspears I considered that more of a chat-related feature than a world-related feature so I left it out. If enough people want this I don't mind adding a world properly for it, as it's very easy to do. (just time...)
@Salamantis @mbt15 Thank you, I will look into these problems during my further tests then. Do use /plugins to check that MyWorlds loaded up properly. In the case of worlds.yml not generated, do make sure you use /stop when stopping the server, otherwise it can't save. You can also manually save using /world config save.
@stgram
Thanks. :)
@mbt15
http://pastebin.com/3dMVYRQe
Here is one of mine. The commands info doesnt work at all, that is not from the update. Use the descriptive page here. :)
Using latest DEV builds of MyWorlds (1.6.7) and BKCommonLIB (1.5.7-SNAPSHOT). I am running both on 1.7.2-R0.1 #2930. Just switched from Multiverse to MyWorlds. - Removed all Multiverse files. I have no errors and synced all my worlds to MyWorlds. Two problems that I'm having are: the worlds.yml file wasn't generated, and /help myworlds won't show any commands. (nor /world). Just wanted to point this out. I need to correct worlds.yml outline so i can manually create the file myself. Thanks.
Remembering last player position doesn't seem to work using the latest 1.7.2 builds of My Worlds and BKCommonLib. It always teleports me to 0,0 of the destination world. Can anyone confirm?
Thanks for your update work!
@bergerkiller
Is there any posibility to add an prefix for each world? I have 5 worlds and I wanna add prefix because I wanna know which player in which world is when he write on chat.
Thanks for the great plugin by the way :D
@stgram That error was posted elsewhere too. I think it has to do with my ProtocolLib packet handler in BKCommonLib, which I will look into this afternoon.
@kiddrangon
Yes, both latest dev builds, so far, works like a charm. Spigot latest.
@bergerkiller
http://pastebin.com/MGE7ubrV This gets spammed on startup. Got it after updating protocollib.
@stgram
In the plugin list ( /pl ) does it appear red or green? Just wondering... Also do you have the dev build for BKcommonLib while on 1.7?
It works 90% fine with 1.7.2 but can be improoved in future with some additions :D
PS:Can I add an prefix for every world? exemple [Survival]Name [Hub]Name,I hope you understand what I mean.
@bergerkiller
Just got on 1.7, everything is working as expected. Will report problems if any. :)
Thank you.
@stgram The only possibility is that, due to some internals change I did not notice, player data is incorrectly loaded or saved. World damages are not possible, unless perhaps the repair command fails (that one keeps backups of altered region files, so no worries).
I recommend making a backup because of the player data, primarily, as people losing items is never a nice thing to see. That said, I kept my items during the tests, but I did not have enough time to test every aspect of it (for example, teleporting between two worlds with split inventory).
Backups because it's still 'unstable' until all critical parts are tested. If no one has had problems thus far, state it here so others know what is and isn't safe.
@bergerkiller
Could there be any permanent damages to worlds, or the bugs expected are in the range of stack traces due to mistaken events and such?
Great work otherwise, keep up. I feel sorry for those who are already on 1.7.2, meaning that they block their imagination to a single world only.