Inactive [ADMN/GEN/INFO/TP/RPG] MyWorlds v1.48 - Multi-world plugin with a touch [2320]

Discussion in 'Inactive/Unsupported Plugins' started by bergerkiller, Aug 15, 2011.

  1. Offline

    bergerkiller

    [​IMG]

    You may wonder, why so many tags? Well, that is because this plugin simply contains a lot of features that fall under those tags! I originally made (parts of) this plugin for our server, but it proofed to be a 'publishable' plugin as well. :)

    Description

    This plugin features everything related to worlds. Features:
    • Load, unload, copy, delete, save and create worlds
    • 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
    A nice tutorial by FrozdY



    BukkitDev page

    For configuration, commands, etc, look on the BukkitDev page under Links.
    All documentation pages are now on Bukkit Dev.

    Known bugs:
    - None
    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...

    FAQ:
    - Different inventories per world? No, you can use World Inventories for that.
    - Or try MultiInv while it is still maintained.
    - Repair ruined your world? Backup of region files can be found in the region folder, simply restore.


    Important links:

    Download the MyWorlds.jar from GitHub
    Look at the source at GitHub
    BukkitDev page

    Changelog

    Show your appreciation for my plugins by donating
    [​IMG]
     
  2. Offline

    bergerkiller

    Scudz then do you get any errors in the log about MyWorlds when disabling?
     
  3. Offline

    Scudz

    2012-02-23 22:00:00 [SEVERE] java.net.SocketException: Socket closed
    2012-02-23 22:00:00 [SEVERE] at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116)
    2012-02-23 22:00:00 [SEVERE] at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
    2012-02-23 22:00:00 [SEVERE] at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
    2012-02-23 22:00:00 [SEVERE] at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
    2012-02-23 22:00:00 [SEVERE] at java.io.DataOutputStream.flush(DataOutputStream.java:123)
    2012-02-23 22:00:00 [SEVERE] at net.minecraft.server.NetworkWriterThread.run(SourceFile:103)
    20


    Wondering if this means anything?

    01:49:41 [SEVERE] java.net.SocketException: Broken pipe
    2012-02-24 01:49:41 [SEVERE] at java.net.SocketOutputStream.socketWrite0(Native Method)
    2012-02-24 01:49:41 [SEVERE] at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
    2012-02-24 01:49:41 [SEVERE] at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
    2012-02-24 01:49:41 [SEVERE] at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
    2012-02-24 01:49:41 [SEVERE] at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
    2012-02-24 01:49:41 [SEVERE] at java.io.DataOutputStream.flush(DataOutputStream.java:123)
    2012-02-24 01:49:41 [SEVERE] at net.minecraft.server.NetworkWriterThread.run(SourceFile:103)
    2012-02-24 0


    Or this?
     
  4. Offline

    bergerkiller

    Scudz just one of the many worthless errors in CraftBukkit, ignore them. They happen all the time when a client disconnects in a certain way. (usually when pressing [x] on the window)
     
  5. Offline

    Scudz

    Well, back to the matter at hand, portals still aren't listed after a server restart/crash. The signs still exist, i believe I still get the message about breaking a portal when removing a sign, but they do not function until replaced.
     
  6. Offline

    Royalgamer06

    I think I have the same problem, after an update or something, portals don't work anymore, I have to replace the sign...
     
  7. Offline

    bergerkiller

    Scudz Royalgamer06 just in case..what OS do you run the server on, and what Java version? This could be a newline char issue.
     
  8. Offline

    Royalgamer06

    win7, java 7 (both 64bit)
     
  9. Offline

    Scudz

    Same as Royal
     
  10. Offline

    Phoenix_8754

    is there anyway you could,put a already saved world into this ????

    is there any way to make a flat world on here?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  11. Offline

    samuelvisser

    Really an amazing plugin!!
    But I have some problems using permissions, people can't built or teleport, but they have the permissions for it.
    I’m using permissionsEX
    Only I can do everything, but that's because I have all the permissions ( '*' )
    but the other people, who not have this, could not use any of the commands of MyWorlds...
    I found out, that, if the are op, the can use it, but I don’t want them being op...

    yes, you can.
    just put your world into your server and type: /world load <worldname>

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  12. Offline

    ledhead900

    bergerkiller
    Greetings old friend.

    Got something for you that I need help with, I have suspicion it is from this plugin even tho it is not an error from this plugin, I have discussed this already with the plugin developer but he cannot replicate it and advices me to check for plugins that handle this function and report the error to them.

    Code:
    2012-03-25 19:17:48 [SEVERE] Could not pass event PlayerPortalEvent to mmSupernaturals
    org.bukkit.event.EventException 
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303) 
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459) 
    at net.minecraft.server.ServerConfigurationManager.changeDimension(ServerConfigurationManager.java:384) 
    at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:306) 
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:341) 
    at net.minecraft.server.Packet10Flying.handle(SourceFile:126) 
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) 
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) 
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) 
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554) 
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452) 
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490) 
    Caused by: java.lang.NullPointerException 
    at me.matterz.supernaturals.listeners.SNPlayerMonitor.onPlayerPortal(SNPlayerMonitor.java:61) 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
    at java.lang.reflect.Method.invoke(Unknown Source) 
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) 
    ... 12 more 
    Ideas ? Happens when someone logs in and sometimes randomly just asking you to check your work for this conflict if its found could inform me how to fix this. It may be a different plugin but we don't use anything else that deals with portal events but this.
     
  13. Offline

    bergerkiller

    ledhead900 I'll look into this, it is possible that I set the world of 'to' to null somewhere. But not sure...

    EDIT

    Nope, I don't use getTo() anywhere...and getLocation() is turned into a Block and then no longer used. Might be some other plugin, or the plugin itself setting it to null.
     
  14. Offline

    iFamasssxD

    16:37:25 [SEVERE] Could not load 'plugins\MyWorlds.jar' in folder 'plugins'
    org.bukkit.plugin.UnknownDependencyException: BKCommonLib
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:195)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:541)
    at org.bukkit.Bukkit.reload(Bukkit.java:182)
    at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:
    22)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    6)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:4
    73)
    at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.
    java:469)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:599)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:568)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Help? Trying something other then MultiVerse cause that cause errors on reload. I have no plugins on cause i thought that might be the reason. Its a 1.2.4 server. Please help
     
  15. Offline

    bergerkiller

    iFamasssxD also place the included 'BKCommonLib.jar' in the PLUGINS folder (not libs)
     
    iFamasssxD likes this.
  16. Offline

    phanaticd

    i made a world called survival and a nether world called survival_nether is there any way i can get portals made in survival to automatically link up? because right now nothing happens when a portal is made
     
  17. Offline

    bergerkiller

    phanaticd try using this command, while being in the 'survival' world:
    It will then send all players to the nether when they enter a portal in survival. (A portal without a sign nearby)
     
  18. Offline

    samuelvisser

    Edit post #987:

    I also found out, that if you give people the - myworlds.* permission, the can use everything.
    But if I give them the - -myworlds.create for example, the can still use the /world create command.
    How can I fix this?
     
  19. Offline

    McGarnicle

    bergerkiller

    the new RB is finally out, yay! Is myworlds good to go for 2126? My players are begging!
     
  20. Offline

    bergerkiller

    McGarnicle I've seen no incompatibilities with the 2126 build (no errors in my project), so I guess 1.44 is good to go for 2126
     
  21. Offline

    McGarnicle

    sweet! I'll be migrating over to the 2126 in the next day or two, I'll holla if anything is weird. TrainCarts is good to go to?
     
  22. Offline

    Joey249

    Please make a option for when you teleport to a new world it has separate inventories because I want it for when they teleport to my "Test World" tht they will be on creative and thn when they go back to "Main World" thay wont hav like a load of diamonds because they wont be in creative in the "Main World" just in the "Test World" for if they want to test something out or what ever.
    Thanks :)
     
  23. Offline

    bergerkiller

    Joey249 there is a plugin for it called 'World Inventories', and you can try 'MultiInv' too if it still exists. Since a plugin exists for it, I didn't bother implementing it myself. (something I wish other plugin developers did too...)
     
  24. Offline

    iFamasssxD

    I cant go into worlds that i know exist.
    i do /world list and the worlds that i created are not avaliable but are [unloaded/offline] just started happening.
    Any suggestions?
     
  25. Offline

    trepnick

    bergerkiller
    I have one hopefully small request. This plugin seems to be inches away from supporting adventure maps that are replayable (i.e. they reload from disk when empty, and do not save any changes to the world to disk, so every time they become empty, the next player to enter will get a fresh version of the map). The only thing that's preventing me from using this to create adventure worlds is the fact that my autosave settings for worlds are not persistent between server restarts or reloads. I humbly request that you make this possible, as I'm currently unable to find any other way to run adventure maps properly on my server. Hopefully this isn't too big a change, I'm not requesting that you add a full-on adventure mode for maps (although that would be just plain awesome), just that you make the per-world autosave setting persistent between server restarts/reloads.

    Thank you in advance,
    trepnick

    p.s. I tried to fork the github project myself and make this happen, but I'm not very good with java, I was basically just copy-pasting code for the other world config options :D
     
  26. Offline

    bergerkiller

    iFamasssxD Use /world load [name] to load your world.

    trepnick I did give a try at reloading worlds from disk dynamically, but unloading and then loading worlds seems to cause a lot of bugs. For one of them, if you teleport to them, you suddenly teleport to a whole different world instead. This made it impossible for me to add a 'reload' command or automated system.
     
  27. Offline

    trepnick

    :/ too bad... well is the current reloadWhenEmpty world config option ok? It seems to work ok in my testing, and I can probably jury-rig something that'll work for my server until someone figures out how to do adventure maps properly.
     
  28. Offline

    bergerkiller

    trepnick well that option was experimental (hence not documented entirely). Not sure if it even works...

    Try the following and check if it works or not:
    If all 4 teleports work without errors or bugs, then I can consider adding this feature.
     
  29. Offline

    arjandotorg

    My Worlds is still one of my favorite plugins. Can't do without anymore.

    But I do have a request. After (top-down) reading of these pages I can't seem to find if there's a way to link Overworld/Nether/End dimensions in a way, that one can have multiple worlds running and get to the correct Nether/End when using a Nether- or Endportal.

    For my Dutch LP 'Lindeboom en Van Keulen' (check my signature for a link) we have to 'fake' a jump through the Endportal, stop recording, tp ourselves to the correct 'The End'-world and resume recording. It's all very complicated when it comes to editing, because everytime one of us dies in The End, we have to 'fake' the Endportal-jump again. The Netherportal was easily created, and viewers can't really distinguish the difference between a real Netherportal and our My World portal.

    Maybe I'm explaining this way to complicated... ;)
    I just would like a link-option for dimension-worlds other than those of the main-world.

    Blijft een waanzinnige plugin, Bergerkiller. Ontzettend bedankt voor je harde werk! En check onze LP eens (vanaf ep12 een goede mic). Misschien blijf je wel hangen... ;)
     
  30. Offline

    bergerkiller

    arjandotorg Yup, I still need to implement the 'official' teleportation systems, such as entering nether portals. Problem is that it requires some sort of delay, and I have no idea how I can make this delay happen correctly...
     
  31. Offline

    stuntsy99

    bergerkiller

    By the looks of it, great plugin! Just wondering if players positions in each separate world are recorded on exit of that world? (ie: 'save state' or 'exit state' in each world?)

    Apologies if this has already been asked, but there are 34 pages of text to scroll through :p
     

Share This Page