Inactive [WGEN/FIX] SkylandsPlus+ v0.3.1 - More Trees / Mobs in Skylands [1060]

Discussion in 'Inactive/Unsupported Plugins' started by Jacek, Aug 14, 2011.

  1. Offline

    Jacek

    SkylandsPlus+ - More Trees / Mobs in Skylands
    Version: 0.3

    This is now here: http://dev.bukkit.org/server-mods/skylandsplus/

    Description

    This plugin will add more trees to your skylands worlds, in snowy areas the trees found in the Taiga biome are used, in all other areas a mix of the other types is used similar to the Forest biome. All passive mobs and wild grass can now be found too, making skylands worlds overall more playable in survival mode.


    Download (source included in jar file)

    http://bukkit.jacekk.co.uk/SkylandsPlus/SkylandsPlus.jar


    Screenshots

    [​IMG]

    [​IMG]


    Config File

    The config file is split into three sections.

    tree-gen
    Code:
    tree-gen:
        grass:
            gen: true
            prob: 3
        snow:
            gen: true
            prob: 5
        tall-grass:
            gen: true
            prob: 4
    
    The gen setting in each of the sub sections (grass, snow, tall-grass) controls weather that generation will happen. So to disable trees in snow areas set gen: false for the snow block. The prob setting is the probability that each grass block in the chunk will grow a tree (or have tall grass on it), this is a number between 0 and 100. A setting of 4 will give a very dense forest.

    ore-gen
    Code:
    ore-gen:
        coal:
            gen: true
            prob: 1
        redstone:
            gen: true
            prob: 1
        diamond:
            gen: true
            prob: 1
        gold:
            gen: true
            prob: 5
        lapis:
            gen: true
            prob: 5
        iron:
            gen: true
            prob: 2
    
    This section is very similar to the tree-gen section, except it applies to ore. The prob setting here refers to the change that each stone block in the chunk will grow an ore vain. For now this is a number between 0 and 100 and acts in the same was a the tree-gen setting, but this may change as even a setting of 0.5 would pretty much replace all the stone.

    mob-spawns
    Code:
    mob-spawns:
        chicken:
            spawn: true
            prob: 10
        slime:
            spawn: false
            prob: 10
        wolf:
            spawn: true
            prob: 10
        zombie:
            spawn: true
            prob: 10
        cow:
            spawn: true
            prob: 10
        sheep:
            spawn: true
            prob: 10
        spider:
            spawn: true
            prob: 10
        creeper:
            spawn: true
            prob: 10
        skeleton:
            spawn: true
            prob: 10
        giant:
            spawn: false
            prob: 0
        pig:
            spawn: true
            prob: 10
    
    This section controls the mobs that will naturally spawn, the prob setting in this section controls the percentage (of all mobs that are set to spawn) of that mob. This should be a number between 0 and 100 and the sum of these values for mobs that will spawn should be at least close to 100. If you set it so that the total probability is less than 100 less mobs will span on average. All hostile mobs will not burn in the light, but it looks weird when skeletons spawn next to pigs so it is best to either have skylands fully hostile or fully passive.


    Planned Changes
    • Make ore generation do something.
    • Add commands to populate existing worlds.
    • Bridges ?
    Know Bugs / Incompatiblities
    • And plugin that is used to spawn mobs, when chickens are spawned in skylands works you will get the configured distribution of mobs instead. This is just because of how this plugin works (by adding more mobs when ever the chickens spawn) and will never be fixed.
    Changelog

    Version 0.3.1
    • Removed a message left over from debugging.
    • Added some code to handle commands.
    Version 0.3
    • Weather is now blocked in skylands worlds (it didn't work right anyway).
    version 0.2
    • Added config file with options for tree densities, mob spawning and ore generation (not used yet).
    • All mobs can now be spawned (with configurable probabilities).
    • Hostile mobs will not burn (even if spawned with /spawnmob).
    Version 0.1.1
    • Now loads on statup, so it will catch all worlds.
    • Logs a message at startup to show which worlds have the tree populater applied to them,
    Version 0.1
    • Initial release.

    Okay, update. This does not seem to work at all on my public server, but it works on my local server, which is an exact copy of the public server... so I'm going to bed and will look again tomorrow, most likely I installed in wrong, it's VERY late.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
    MistaGhost, vongriva, Juze and 3 others like this.
  2. Offline

    Jacek

    nonox97 likes this.
  3. Offline

    nonox97

  4. Offline

    Semirotta

    does this work if ive made Skyland map with Dimension Door? i made Skyland named world and it is skyland etc.
     
  5. Offline

    Jacek

    Probably.
     
  6. Offline

    Jobsti

    Uh, works with #1162, but what's with an 1.8.1 update? Would be very great.

    Now, weather possible?
    The Void is black, possible to change it to blue?
     
  7. Offline

    Jacek

    Still not possible.

    Not without a client mod.
     
  8. Offline

    Spajder

    you need to add advenced mob support it cause doesn't work in skylands :(
     
  9. Offline

    connorcpu

    Love your plugin, but I have a problem where a player ventured out after 1.0 and my server gets the following error each time he joins
    http://pastebin.com/3NVmV194
    Server info:
    Code:
    > debug info
    11:37:58 [INFO] System: Windows 7 6.1 (amd64)
    11:37:58 [INFO] Java: Oracle Corporation 1.7.0 (http://java.oracle.com/)
    11:37:58 [INFO] JVM: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 21.0-b17
    11:37:58 [INFO] Available processors: 12
    11:37:58 [INFO] Available total memory: 4012.0 MB
    11:37:58 [INFO] JVM allocated memory: 1964.0 MB
    11:37:58 [INFO] Free allocated memory: 952.0 MB
    > version
    11:38:20 [INFO] This server is running Craftbukkit version git-Bukkit-1.8.1-R4-11-g696ba64-b1479jnks (MC: 1.0.0)
    11:38:20 [INFO] This server is also sporting some funky dev build of Bukkit!
    Thank you for looking at this
     
  10. Offline

    Jacek

    Since this uses some of Notch's biome code directly rather than implementing it's own, not will not work for the 1.0 version. I will update for 1.0 today if I get chance but I will probably be tomorrow. I want to add my own biome code so that snow areas can be made more common and rivers removed.
     
  11. Offline

    connorcpu

    Thank you for the quick response, I really appreciate all the work you do
     
  12. Offline

    Sodisna

    Crashes with Multiverse 2.2 #336. Skylands 0.5.2 and 0.5.4

    Code:
    08:56:27 [INFO] Starting minecraft server version 1.0.0
    08:56:27 [INFO] Loading properties
    08:56:27 [INFO] Starting Minecraft server on *:25565
    08:56:27 [INFO] This server is running Craftbukkit version git-Bukkit-1.8.1-R4-1
    0-gfb96d87-b1466jnks (MC: 1.0.0) (Implementing API version 1.0.0-R1-SNAPSHOT)
    08:56:27 [INFO] SkylandsPlus 0.5.2: Enabled.
    08:56:27 [INFO] Preparing level "snow_skye"
    08:56:27 [INFO] Default game type: 0
    08:56:27 [INFO] Preparing start region for level 0 (Seed: -6158701979104529494)
    08:56:28 [INFO] Preparing start region for level 1 (Seed: -6158701979104529494)
    08:56:28 [INFO] Preparing start region for level 2 (Seed: -6158701979104529494)
    08:56:28 [INFO] Preparing spawn area: 36%
    08:56:28 [SEVERE] java.lang.IllegalArgumentException: Unknown entity
    08:56:28 [SEVERE]       at org.bukkit.craftbukkit.entity.CraftEntity.getEntity(C
    raftEntity.java:135)
    08:56:28 [SEVERE]       at net.minecraft.server.Entity.getBukkitEntity(Entity.ja
    va:1189)
    08:56:28 [SEVERE]       at net.minecraft.server.Entity.e(Entity.java:992)
    08:56:28 [SEVERE]       at net.minecraft.server.EntityTypes.a(EntityTypes.java:5
    2)
    08:56:28 [SEVERE]       at net.minecraft.server.ChunkLoader.a(SourceFile:191)
    08:56:28 [SEVERE]       at net.minecraft.server.ChunkRegionLoader.a(SourceFile:6
    6)
    08:56:28 [SEVERE]       at net.minecraft.server.ChunkProviderServer.loadChunk(Ch
    unkProviderServer.java:124)
    08:56:28 [SEVERE]       at net.minecraft.server.ChunkProviderServer.getChunkAt(C
    hunkProviderServer.java:67)
    08:56:28 [SEVERE]       at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:308)
    08:56:28 [SEVERE]       at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:161)
    08:56:28 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:388)
    08:56:28 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:457)
    08:56:28 [INFO] [Multiverse-Core] - Version 2.2-b336 (API v7) Enabled - By Rigby
    , fernferret, lithium3141 and main--
    08:56:28 [INFO] [AllPay] - Version 3.0 - using only an item based economy for Mu
    ltiverse-Core v2.2-b336
    08:56:28 [INFO] [Multiverse-Core] Loading World & Settings - 'skylands' - NORMAL
    
    08:56:28 [INFO] Preparing start region for level 3 (Seed: -3794907168523620449)
    08:56:29 [WARNING] [Multiverse-Core] Spawn location from world.dat file was unsa
    fe. Adjusting...
    08:56:29 [INFO] [Multiverse-Core] New Spawn for 'skylands' is Located at: 229:64
    :-121:0.0:0.0
    08:56:29 [INFO] [Multiverse-Core] 1 - World(s) loaded.
    08:56:29 [INFO] Done (0.192s)! For help, type "help" or "?"
    09:01:13 [INFO] Sodisna [/127.0.0.1:51749] logged in with entity id 634 at ([sky
    lands] 228.0, 73.0, -128.0)
    09:02:15 [INFO] Sodisna: Starting creation of world 'sky_land'...
    09:02:15 [INFO] [Multiverse-Core] Loading World & Settings - 'sky_land' - NORMAL
     & Custom Generator: SkylandsPlus
    09:02:17 [INFO] Preparing start region for level 4 (Seed: 4547601487257618498)
    09:02:18 [INFO] Preparing spawn area for sky_land, 16%
    09:02:19 [INFO] Preparing spawn area for sky_land, 36%
    09:02:20 [INFO] Preparing spawn area for sky_land, 73%
    09:02:21 [INFO] Preparing spawn area for sky_land, 97%
    09:02:21 [WARNING] [Multiverse-Core] Spawn location from world.dat file was unsa
    fe. Adjusting...
    09:02:32 [INFO] [Multiverse-Core] New Spawn for 'sky_land' is Located at: 919:54
    :38:0.0:0.0
    09:02:32 [INFO] Sodisna: Complete!
    09:02:32 [WARNING] Can't keep up! Did the system time change, or is the server o
    verloaded?
    
     
  13. Offline

    Jacek

    That doe snot look like it is caused by the plugin, also please use bukkitdev since I will not be watching this thread for much longer.

    If you are convinced it is the fault of my plugin, post a ticket on bukkitdev filling out the requested information.
     
  14. Offline

    prespres

    Hey can you add a config file that's easy where it lets so it will delete your inventory or not delete it like
    Inventorydelete: true or false

    Thanks for your time and please add :)
     
  15. Offline

    Juze

    Um, what? To be honest, your idea is terrible and has nothing to do with this plugin.

    Any news on fixing the NPEs with BLOCK_PHYSICS?
     
  16. Offline

    Jacek

    No. That is not related to this in any way at all.

    What NPEs, file a proper ticket on bukitdev and I will look into it.
     
  17. Offline

    martinherrmann

    nice Plugin! best World i ever played in.
     
  18. Offline

    Juze

    I was too lazy, I noticed some update had an NPE fix, is this fixed yet? And the NPE in question was a two-line NPE about BLOCK_PHYSICS coming from SkylandsPlus, that's all. Occurrance was random, probably everytime a player was moving in the world.
     
  19. Offline

    Jacek

    I'm note sure of the one you are referring to, I fiexd something to do with physics a while ago. I'd check the changlog on BukkitDev if I were you.
     
  20. Offline

    Juze

    That's what I did, I currently don't have any roaming players in skylands so I can't say for sure, but thanks. :)
     
  21. Offline

    Jacek

    Oh right, well I don't think I ever got a clear bug report about it. If it does happen can you make sure to file a ticket and quote the full stack trace ? :)

    It won't cause any harm to have the error happen, it just means some sand will fall that was meant to be blocked form doing so.
     
  22. Offline

    Juze

    Just as I thought aswell. And I'm a lazy person, personally dislike BukkitDev (unless you switch to GitHub).
     
  23. Offline

    Jacek

    But I'm too lazy to switch to GitHub... quite a dilemma ! Just post it here or PM me :D
     
  24. Offline

    Juze

    @Jacek : Confirmed to still exist. This time with more massive errors. CB#1597, latest SkylandsPlus (v0.6 I think).

    Code:
    11:30:12 [SEVERE] Could not pass event BLOCK_PHYSICS to SkylandsPlus
    java.lang.NullPointerException
            at im.creep.bukkitinsider.smartassery.SmartassPluginManager.callEvent(SmartassPluginManager.java:72)
            at net.minecraft.server.World.k(World.java:514)
            at net.minecraft.server.World.applyPhysics(World.java:502)
            at net.minecraft.server.World.update(World.java:463)
            at net.minecraft.server.World.setTypeId(World.java:435)
            at org.bukkit.craftbukkit.block.CraftBlock.setTypeId(CraftBlock.java:77)
            at org.bukkit.craftbukkit.block.CraftBlockState.update(CraftBlockState.java:176)
            at net.minecraft.server.BlockGrass.a(BlockGrass.java:54)
            at net.minecraft.server.World.k(World.java:1990)
            at net.minecraft.server.World.doTick(World.java:1742)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:514)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    
    EDIT: CB#1720 and now getting shorter errors again.

    Code:
    11:54:07 [SEVERE] Could not pass event BLOCK_PHYSICS to SkylandsPlus
    java.lang.NullPointerException
    
     
  25. Offline

    Jacek

    Well that is confusing. Since the error does not mention any of the class files from my plugin :s

    It has to be something to do with SmartassPluginManager what ever that is ?

    I'll investigate a bit and see what can be found. The update for 1.1 is more pressing at the moment though,
     
  26. Offline

    Juze

    If this will help you, my "world" folder is non-skylands and my skylands world is called world_skylands. First time players spawn in world_skylands. I'm using MultiVerse to manage my worlds with HomeSpawnPlus spawn plugin. I'm also using WorldBorder... doubt not all of those affect it though.

    EDIT: SmartassPluginManager is caused by BukkitInsider plugin, found on BukkitDev. I could easily remove it.
     
  27. Offline

    Jacek

    Could you try without it? I dont seem to be able to get the same error so that might be the cause.
     
  28. Offline

    Juze

    So far it seems that worked, obviously. Seemed so easy to fix yet I pester you about NPEs. :D

    You should perhaps report the error to the author of BukkitInsider. I have no plans to keep on using that plugin so I may as well stop using it. Thanks.

    EDIT: Wait no, I had SkylandsPlus disabled. :/
    EDIT2: Works with SkylandsPlus enabled after restart. :)
     
  29. Offline

    Jacek

    It probably due to it not being updated for 1.1 since it does some funky stuff outside of the Bukkit API I'm sure the developer will work it out when he updates.
     
  30. Offline

    Gimlao

    Edit : Forget it, I was using an old version of the plugin. ^^;
     
  31. Offline

    Jacek

    They cant have renamed another method ! Can you try it with build 1774 ? I haven’t seen that change log but I doubt a huge amount has changed.
     

Share This Page