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

    Yup essentials took over the worlds command...it even failed lol. Try renaming MyWorlds.jar to AMyWorlds.jar and try again. I'll see if I can make my plugin load before Essentials, you'll have to do that for now.

    EDIT

    Or try using /mw or /worlds instead of /world
     
    przemotbg likes this.
  3. Offline

    przemotbg

    Doesn't work. ;/

    EDIT

    It works! i downloaded clear bukkit and it works!!!
    Nice mod +
     
  4. Offline

    FrozdY

    berger, since i downloaded the new MyWorlds my water, lava and redstone stuff has been acting really slow or else at all, could you look in to that?

    slow as in long delay or it's not even working/flowing water/lava/pistons/redstone netherack

    I tried to reload and even stop it and start it again, no difference

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

    bergerkiller

    @FrozdY yep that is a weird sideeffect when setting the time. Try setting the time lock delay to 100 or something, it should interfere less then.
     
  6. Offline

    Tylui

    Let me start by saying I really like this plugin! However, my server is attempting to be as close to what Notch wanted for SMP with a few exceptions. Notably, before I let someone into the real world, I have a guestworld they can build in until they prove themselves nongriefers. I'd like portals without signs to be assigned to a default world for each world.

    Short Example: I have 4 worlds. world, world_nether, guestworld, guest_nether. The only way people can teleport between world and guestworld is with the one portal that I made for them at the spawn points of both worlds. If they build their OWN portals, I'd like it to go to the respective netherworld. Make sense?

    This could be specified in the configs:
    Code:
    defaultworlds:
        world: world_nether
        world_nether: world
        guestworld: guest_nether
        guest_nether: guestworld
    Or, if people wanted to use the nether as a superhighway, like Notch envisioned:

    Code:
    world:
        default: world_nether
        ratio: 1
    world_nether:
        default: world
        ratio: 8
    guestworld:
        default: guest_nether
        ratio: 1
    guest_nether:
        default: guestworld
        ratio: 8
    
    Either way, this would allow some neat looping or embedding of worlds like world1 -> world2 -> world3 back to world1 or some such thing.
     
  7. Offline

    bergerkiller

    Ah so you need defaults for portals on certain worlds that have no sign near?

    For example, someone activates a portal and enters it. There is no sign near (he had no permission to make one) so he gets teleported to the default world set for that world. Can be done. :)

    I'll make it auto-generate the defaults if it has none. For example, if you build a portal on World1 and a world1_nether exists, and it is loaded, it will use that as default. I'll see what I can do. :)
     
  8. Offline

    Tylui

    Awesome. :) If travelling by default(or by worldname only), will it teleport you to the same coordinates that the original portal was at? And what do you think about the travel ratios? same coordinates / outputworld's ratio?
     
  9. Offline

    FrozdY

    what's the command for the delay berger?
     
  10. Offline

    bergerkiller

    It's in the config.yml file. (change it & reload)

    EDIT

    I don't want to overcomplicate it; it's a simple teleportation system; so using ratios would make it a bit too much... xd
    And it will teleport to the default portal name (in the config) or the world spawn

    Note that it will take a few days to update all this; still got a few other todo things on my list...
     
  11. Offline

    FrozdY

    thanks berger, it seems to work now:D
     
  12. Offline

    antirapper0809

    Hi its anti and I have a big problem. I got you're mod and portals didn't work, so i found out why and it was the problem with the portals.txt no updating. To fix this i stopped my server and deleted the portals.txt, then reloaded to get a new one. This didn't work, so now I resort to asking you. the problem was that when i made a portal it would work until I restarted the server, when I restarted it the portals deactivated, please help! Also if this has already been answered sorry for wasting you're time.

    -antirapper0809
     
  13. Offline

    arough

    Hey
    dunno if im right here but is it possible to have different inventorys in different worlds?
    dunno if its a plugin based thing or just a bukkit config thingy =)
     
  14. Offline

    FrozdY

    might be becouse MyWorlds doesn't stack with all the Essentials plugins, which i know it stacks with is:
    Essentials.jar
    EssentialsChat.jar
    EssentialsGeoIP.jar
    EssentialsSpawn.jar
    CraftBook.jar
    CraftBookCircuits.jar
    CraftBookMechanisms.jar
    CraftBookVehicles.jar
    CustomMusic.jar
    NightQuery.jar
    Parties.jar
    PlugMan.jar
    VanishNoPickup.jar
    WorldEdit.jar
    there might be other plugins aswell, i don't know but those i KNOW stacks with MyWorlds since i'm running all of them for my server

    Or you have the wrong build for CraftBukkit, you need CraftBukkit[#1060]

    Edit:
    to Berger
    now i'm up to 600 delay and everything just works once when you use the redstone torch then you need to do a reload, works once and so on, is there a way to fix that?

    Without the redstone torch everything works as it should mostly
     
  15. Offline

    bergerkiller

    @antirapper0809 It is probably an access problem; nothing me or Java can do about it. If it ain't got write access, it can't write, simple as that. Try getting administrator rights, or, if this is the case, post the (write) error you get in your log.

    @arough
    There are other plugins for that; they hook into the teleport event and set the inventory accordingly. You can use that in conjunction.

    @FrozdY I see I've run into the same problem Commandbook had...redstone/water/physics fail when you set the time back. I'll see if I can hook into some native methods or set the time to such a value this doesn't happen...

    But first: I have to do some serious coding @ TrainCarts - it is quite a mess...
     
  16. Offline

    FrozdY

    alright Berger, it's not a rush, still finishing up my events where it's messy, that will take a while so take your time, BTW if i wanna disable the lock for the time, what should i do then? just go in to the text file and remove it or is there a command for it?
     
  17. Offline

    bergerkiller

    @FrozdY can't, sorry. All you can do is add permissions for the time command.
     
  18. Offline

    FrozdY

    you miss under stood i guess, i mean, if i've done "/world time always day" how do i undo that or disable it so that it goes back to normal? so to speak
     
  19. Offline

    bergerkiller

    @FrozdY simply do /world time day
     
  20. Offline

    FrozdY

    Ahh, okay, thanks

    Edit:
    For now it seems to work, haven't tested it fully yet, i'll get back to you on that to see if repeated redstone works as it should with locked sun only

    Edit2:
    It works with automated if it's not too fast with only /world weather always sun, it's only /world time always day/night/noon/whatever that screwes it
     
  21. Offline

    bergerkiller

    @FrozdY I may know of a workaround: Increment the time with 24000 (one day) during every lock, this until the Long value exceeds the limit and it resets. Now testing this out. :)

    EDIT

    IT WORKED! Hahaaa I fooled the evil world. :)

    Code:
            @Override
            public void run() {
                //Time exceeded?
                if (prevtime > maxTime) {
                    prevtime = time;
                } else {
                    prevtime += 24000;
                }
                this.w.setFullTime(prevtime);
            }
    EDIT2

    Ok this fix in combination with default portals are in version 1.07 which I am NOW uploading.
    Uploaded.
     
  22. Offline

    arough

    @bergerkiller i'm unable to find a plugin like this xD
    can anybody help?
     
  23. Offline

    bergerkiller

    @arough See this plugin (not by me)

    Also, github is being a pain again and won't update the plugin for me. So here is a temporary link:
    <Edit by Moderator: Redacted mediafire url>

    Internet Explorer did the job... :p
     
    Last edited by a moderator: Nov 12, 2016
  24. Offline

    FrozdY

    Multi-verse sucks though, as i understand it they use the wooden axe to make the portals, BUT WorldEdit uses the axe aswell.

    awsome Berger i'll test it and see if it works

    Edit:

    This returned(varning=warning)
    [​IMG]

    but everything seems to be working as intended:S

    Edit 2:
    lol, had 2 MyWorld, now it loads without any warnings
     
  25. Offline

    mexander

    How much do another world lag the server? We have a 1500mb ram server with nether enabled. Would it be possible to make another world and still be able to take in around 30 players?
     
  26. Offline

    bergerkiller

    @mexander I have 2.5 gb ram and successfully loaded 10 worlds once. A world does not really increase RAM. A loaded chunk however, does. Let's say you could load 30 worlds (for every player 1) (around 4 gb of RAM would be needed), the same could be reached by giving every player their own large area on a single world. (Far apart from each other).

    You can see the worlds as an unwalkable barricade ; or ; different environments. It does not really add a load to the server, but you do need proper Player management. (keep the players somewhat close to eachother to reduce the amount of loaded chunks). The same would apply on a single world.
     
  27. Offline

    mexander

    Thank you very much for fast and great answer!
     
  28. Offline

    FrozdY

    Berger, thanks for the fix, it works great, even fast ones work as they should now <3

    berger, do you know any good permission plugin that works with MyWorld that also ignores OPs and ignoring the portal rule, everyone should be able to use the portals but they should't be able to do anything else like build nor destry unless i've activated it for that specific world

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

    bergerkiller

    @FrozdY You mean like a global world protection plugin? I use Worldguard, but it uses regions...although it does contain global settings for worlds.
     
  30. Offline

    antirapper0809

    hey, i was using the
    [portal]
    to flatgrass
    flatgrass
    then i used after this post destenation portals and they work! thanks though!
     
  31. Offline

    timmygudge

    Sorry if this was resolved already but, It says "You do not have permission to destroy in this area" in the whole world. i am an op and it's still doing this. please help!
     

Share This Page