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

    happypumkin

    the inv. thing exists on the plugin? sorry i cant seem to find it
     
  3. Offline

    jardin3003

    Can you please explain the water stream portal?
     
  4. Offline

    MindDefect

    Code:
    2011-09-06 20:48:19 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-980-g4ed23b1-b1060jnks (MC: 1.7.3)
    2011-09-06 20:48:19 [INFO] Preparing level "world"
    2011-09-06 20:48:19 [INFO] Preparing start region for level 0 (Seed: -802599014969496350)
    2011-09-06 20:48:19 [INFO] Preparing start region for level 1 (Seed: -802599014969496350)
    2011-09-06 20:48:20 [INFO] Preparing spawn area: 65%
    2011-09-06 20:48:20 [INFO] [MyWorlds] Using build-in 'Bukkit SuperPerms' as permissions plugin!
    2011-09-06 20:48:20 [INFO] [MyWorlds] File not found, it is not loaded: plugins\My Worlds\LoadedWorlds.txt
    2011-09-06 20:48:20 [INFO] [MyWorlds] File not found, it is not loaded: plugins\My Worlds\WorldSpawnRestriction.txt
    2011-09-06 20:48:20 [INFO] [MyWorlds] File not found, it is not loaded: plugins\My Worlds\WeatherHoldWorlds.txt
    2011-09-06 20:48:20 [INFO] [MyWorlds] File not found, it is not loaded: plugins\My Worlds\TimeLockedWorlds.txt
    2011-09-06 20:48:20 [INFO] [MyWorlds] File not found, it is not loaded: plugins\My Worlds\PvPWorlds.txt
    2011-09-06 20:48:20 [INFO] [MyWorlds] File not found, it is not loaded: plugins\My Worlds\portals.txt
    2011-09-06 20:48:20 [INFO] [MyWorlds] File not found, it is not loaded: plugins\My Worlds\defaultportals.txt
    2011-09-06 20:48:20 [INFO] My Worlds version 1.08 is enabled!
    2011-09-06 20:48:20 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2011-09-06 20:48:20 [INFO] Done (0.128s)! For help, type "help" or "?"
    What am I missing? I can't get this plugin to work completely, and only the one file "config.yml" generates/exists in the "My worlds" folder, and so it never saves the extra loaded worlds aside from default world and netherworld nor any made portals, after restart.... (so to put it simply, aside from that.. the plugin works, but I have to load worlds and make portals all over again after restarting the server)
     
  5. Offline

    bergerkiller

    @MindDefect No error when you disable the plugin? (reload the server and see if exceptions are shown for MyWorlds)

    Reason I ask is that Java needs write access (permission to write by the OS) to write to a file.
    Also, I'll add a File.createNewFile line in the writer so at least an empty file is present.

    @jardin3003 see the photobucket video in the main page, you can click the line.
     
  6. Offline

    JimmyEdh

    Where the fuck is the jarfile for servers? :(:( i can only find like files for singleplayer stuff or something :S
     
  7. Offline

    bergerkiller

    @JimmyEdh That is kinda weird...btw you need the jar file, don't download the repository. See the bottom download links again. :)

    (I'll just add some more info to it to help ya out)
     
  8. Offline

    JimmyEdh

    I just get meta inf files and that =/ when i click the download :( shall see now

    View attachment 6468

    Not sure what do to, with those files =/

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

    Bdl2

    Okay, so right off - love the plugin. It'll be great on my private server once I start it up. One issue, though. It would seem (at least for me/my version of) WorldGuard spazzes a bit when using this. For example, WorldGuard effects, such as disabled monster spawns for individual worlds, or weather prevention will not work at all for me - specifically when entering worlds loaded by command.

    Feel free not to respond, I'll be looking into figuring out the issue myself, as it's highly possible it's my fault in some way.
     
  10. Offline

    number1_Master

    you should make it so world have an option to being whitelisted
     
  11. Offline

    MindDefect

    Ok it seems your right, when I boot into WinXP OS on this dual boot system and try it....works just fine on it. Now I just got figure it out why it won't give java the proper write access on my main 64-bit Vista, cause I really want to keep using 64-bit Java.

    @JimmyEdh
    download the file again with a different web browser (such as Firefox), for some reason some web browsers download the .jar as a .zip file. Or you may be able to just rename the file to a .jar
     
  12. Offline

    bergerkiller

    @JimmyEdh and so many damm others: PLEASE, PLEEEEEAAASEEE, remove the file association to open jar files using Winrar. I understand it is hard to press the SAVE button instead of the OPEN button...but come on. This is the third/fourth time someone downloads it and auto-opens it using Winrar. The file you opened IS the plugin. The file you see in Winrar are the files IN the plugin. Press the return button. Yet again, I shall add an archived version, but then for v1.09. (Since I just made the epicest chunk repair tool in it the world has never seen. :)
    And with WinRar I also mean other archiving programs or windows extensions.

    tldr; go to the folder MyWorlds sits in (Windows removed file extensions, the file you opened is the .jar file, not a .rar and not a .zip) and copy the MyWorlds file. Paste it in plugins, done.

    @Bdl2 If monsters are not allowed to spawn, they are not allowed to spawn, simple as that. Even the /spawnmob will fail for creepers if creepers are blacklisted as a mob. I can understand that worldguard causes issues. I'd say disable the weather change prevention of Worldguard to fix this issue. (this plugin has far more advanced features to change, lock and display the time and weather) Not sure about the difference of worlds loaded by this plugin or worlds loaded by (other?) plugins, but it should be pretty much the same.

    @nunber1_Master lemme take a look if it doesn't exist already, else I will add blacklisting in the form of permission nodes. For example:
    EDIT

    Yep that would do for a nice add-on. Note: will only disable teleports done by this plugin just in case an admin wants to have a friend over easily. :)
    (Then he can use the /tp command other plugins provide)
     
  13. Offline

    number1_Master

    @bergerkiller so with that node, people with that permissions can tp to that world (in the future)
     
  14. Offline

    JimmyEdh

    It works with firefox, how weird =/
     
  15. Offline

    RustyDagger

    Nice to see you added water like i requested :D.

    I still have an issue with the names using the _ to denote the genarator used for the map because it deleted my nether map and made it into a normal map because its name was just Nether and not _Nether this is wrong and it is majorly limiting.

    I do not want huge long map names because my users use /tpp a lot and it becomes a real pain to type out. i like to keep my map names 1 world and some thing descriptive not have some thing stupid like some plugins name....

    Can you Please Please add this or atleast remove the world deleting bit when the type dont match the name because i can make the map some other way with the right type and then just import it onto the server just read what generator the map wants then try to use it if its not found spit an error on map load.

    Edit I also think per world permissions would be nice so i can stop some users entering X map.
    I think thats what you were talking about above me here if so that's cool that will help me a ton.
     
  16. Offline

    happypumkin

    If you mean by flatgrass world like a creative world you can create one with Ucreate and that works fine with this
     
  17. Offline

    bergerkiller

    @Everyone You can use shorter names already. For example, if you want to teleport to LowGrass you can type low, grass, lo, gr, wgrass, etc. All possible. In v1.09 world repair will be completed. This means, regenerate the damaged level.dat if needed and read and repair all world region files. This is working very nicely, only some sort of weird NBT_LONG to NBT_INT cast that is throwing a weird error.

    @nunber1_Master If the permission node is never used, everyone can enter any portal. If it is used even once, then everyone needs to have the permission node. Example nodes:
    Note that I will simply use this in the /tpp, /world spawn and the general portal enter routines. Plugins providing player to player teleport can still teleport you to the (forbidden) zone. (this so temporary users can still see the other world w/o editing the permission nodes all the time.

    The type deletion is already gone. _ will (or should) no longer cause issues. Portals can also be in unloaded worlds now (new portal status: unavailable).

    If someone finds a cool world generator plugin/addon that provides other environments, I'd gladly try to add support of course.

    EDIT

    Also adding custom portal/world enter messages based on a name. 'Localization' will go in a separate file, NOT the config.yml.

    Ok all uploaded. Added more localization messages, world/portal enter permissions, enhanced repair command and a lot of other fixes.

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

    number1_Master

    THX u so now with those nodes (and different world) you can enter a different world
     
  19. Offline

    RustyDagger

    I still dislike being forced to set my map name to some thing so this plugin wont delete my world. INSANITY I TELL YOU!

    This plugin has no right or need to delete a world because its type dose not match its name.

    Im about to toss this plugin in the shit basket its fucking over my worlds and every time i change the messages in the config file it changes them right back to default /rage had it im looking for some thing better as I type this screw this crap.
     
  20. Offline

    happypumkin

    ever hear of backing up ur stuff

    and i dont seem to have that problem. also what is bad about renaming a world?
     
  21. Offline

    bergerkiller

    @RustyDagger what exactly do you mean by 'delete' the world? Do you mean it is not displayed/loadable, or that when loading a wrong environment/chunk generator is applied, thus destroying the world? Also, worlds are NEVER deleted if it's damaged and/or invalid, even in the chunk repair coding I made it make a backup of the changed region files in a separate folder in regions.

    Also, you can use all world combinations to make nether worlds. It was fixed in 1.04 or so.
    All load using the Nether environment. It also allows worlds with spaces in the names. (you can use "" to load them by name correctly, if matching fails). If you dislike the world name displayed when teleporting, see the localization file added by the plugin (default.txt) in locale. You can use custom world teleport messages for all worlds and portals:
    Other than that, you can use world name matching instead of typing the entire name. You could use /world load nether to load your World1_nether world. If another world exists with nether in the name, you will need to be more specific.
     
  22. Offline

    eric swakon

    i just intalled this plugin on my server and it seems to work great...
    i seem to have found an issue where it wont let me place or use chests while in the loaded worlds....
    i can place them and then after about 5 seconds or so they disappear. also while they are placed i am unable to use them as a chest...not openable.

    is this a known part of myworlds or is this some setting im missing.
    any help would be useful.
     
  23. Offline

    bergerkiller

    @eric swakon Beyond loading the world MyWorlds does nothing with the world, it will hardly check if portal signs still exist. Could it be you don't have permission of some kind (check your permission plugins) and that you actually didn't place the chest in the first place? Could be lag causes you to see the chest, but on the server it was never there.
     
  24. Offline

    eric swakon

    yeah i just figured it out...i was setting up a spawn in the loaded world and i use toomanyitems as an admin...
    i was selecting a locked chest instead of the regular chest

    I AM A MORON....lol
     
  25. Offline

    godsarmy9797

    1.8? Any ides when the 1.8 version will come out?
     
  26. Offline

    bergerkiller

    @godsarmy9797 not sure, but I add support for 1.8 for now. Still need to add the Enderman as monster though...you can deny it from spawning manually.
     
  27. Offline

    Jackster82

    It's constantly removing my portals saying:
    15:50:26 [WARNING] [MyWorlds] Auto-removed portal 'Island' because it is no long
    er there!
    even though the sign and portal are still there
     
  28. Offline

    Morg141

    A great plugin! Been looking for one like this for quite a while. A lot off cool features! Running this on build 1047, not reccomended I know, and no problems so far.

    Is there a teleport player command? Such as '/world tpplayer [Player name] [World Name]' so that I may teleport players to a certain world spawn, such as if I'm holding an event? If not, could this command be implemented?
     
  29. Offline

    bergerkiller

    @Jackster82 Using recommended build? Also, if you world-edited the sign to a different location it will probably do that too. Any world/performance plugins you use? (for example, to keep chunks loaded or unloaded)

    @Morg141 I found that using /tp (provided by various other plugins) is simpler, but I'll see what I can do...kinda busy atm.

    Also: Thread notifications did not reach me so sorry for the late response... :/
     
  30. Offline

    BlancoLanda

    Nice, I just downloaded the source because I want to change the languages of the help, but how can I compile it into a .jar file? I can't with maven because there's no POM file...
     
  31. Offline

    bergerkiller

    @BlancoLanda Try setting up a new Eclipse project called 'MyWorlds' and add Bukkit-0.0.1-snapshot.jar (or something like this) as external jar file. (project properties -> java build path)

    Then close eclipse, place the 'src' folder directly into the project folder (in your workspace) and start Eclipse again. It should now load the source files properly.

    Could be you need to reference Craftbukkit too, can't really remember if I used it.

    If you can't figure it out yourself I'll add it to the localization for you. :)
     

Share This Page