[INACTIVE]Bedrock Gap Insurance + Flat Earth v2.0 (Updated 1/20/11)

Discussion in 'Inactive/Unsupported Plugins' started by msleeper, Jan 20, 2011.

  1. Offline


    Bedrock Gap Insurance + Flat Earth v2.0

    Old favorite from hMod returns! This is a must-have for servers running worlds from very old verions of Minecraft (pre-Halloween 2010 update), and a best seller for server admins who love a smooth bottom. (that's what she said)

    This is a very simple plugin that exists to help with world consistency and has two features - Bedrock Gap Insurance and Flat Earth.

    Bedrock Gap Insurance automagically replaces every non-bedrock block at the very bottom of the world with bedrock. This will eliminate "gaps" in the world in which players can fall through. This feature is primarily useful for servers running on very old world versions, specifically before this was fixed in the game core around the Halloween 2010 update. Maps that has been newly generated since then can safely leave this feature disabled.

    Flat Earth automagically converts all non-bottom layers of bedrock into smooth stone. This will effectively make the upper 4 layers of bedrock now breakable, giving you an extra 4 layers in your world to build in. Note that this ONLY affects the 4 layers above the bottom layer; anything that may be built with bedrock that is not in this area will be unaffected.

    For both features, the plugin checks all of the 0th to 4th level blocks in world chunks as they are loaded by the server. This is a huge performance improvement over the old version for hMod, which checked a small area around every player as they moved around

    Major thanks to flames for helping with the porting from hMod to Bukkit!

    Download link: msleeper.com


    Version History
    -- 2.0 (1/20/11)
    . Initial release for Bukkit! Thanks to flames for help with hMod port.
  2. Offline


    I must be missing something, I'm not seeing any config file associated with BGI and I don't see any reference to it? I downloaded the jar-file as in the topic start, and that's all?
  3. Offline


    I also do not have a config file. I ensured that permissions allowed it to write to the drive (all 777) and nothing.
    Got the new plugin and restarted the server, nothing.

    I'm going to see if I can't find an area to test to see if this is still working correctly right now, but that may take some time.

    Yup, still doesn't work, and no config file. I tried copying the config file from my backup of the hmod setup and nothing, so I'm guessing you are using a new format and/or location.
    Some documentation on the config file would be nice.
  4. Offline


    to set custom configuration and enable both bedrock gap insurance and flatearth in msleeper's plugin do folowing:
    create folder BGI in the plugins dir
    create a file config.yml in the BGI folder, so you have something like yourminecraftserver/plugins/BGI/config.yml

    put folowing lines into config.yml:

    enable-bgi: true
    enable-flat-earth: false

    safe the file, restart the server. enjoy.

    but again, ChunkLoadEvent does not work properly/as needed to make this plugin work, until bukkit dev team changes the behavior of it. and except of the bukkit dev team noone knows if they will change that.
    with BGI plugin, the chunks around the spawn area, or where you spawn (home or last saved position) will be flattened for the first time ONLY if you walk far away from this position, so the chunk is unloaded, and when you come back, the chunk is loaded again and the BGI plugin does it work.
    --- merged: Jan 23, 2011 1:52 AM ---
    i updated my github fork, get there the precompiled version, that works like the old hmod version, onPlayerMove
    readme, config, all there.
  5. Offline


  6. Offline


    Does not work with latest craftbukkit build 183
    Jan 30, 2011 7:48:50 PM org.bukkit.plugin.SimplePluginManager callEvent
    SEVERE: Could not pass event CHUNK_LOADED to Bedrock Gap Insurance + Flat Earth
    java.lang.ClassCastException: com.bukkit.msleeper.BGI.WorldListener cannot be ca
    st to org.bukkit.event.world.WorldListener
    at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.j
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    at net.minecraft.server.ChunkProviderServer.d(ChunkProviderServer.java:8
    at net.minecraft.server.PlayerInstance.<init>(SourceFile:32)
    at net.minecraft.server.PlayerManager.a(SourceFile:171)
    at net.minecraft.server.PlayerManager.c(SourceFile:250)
    at net.minecraft.server.ServerConfigurationManager.b(ServerConfiguration
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:230)
    at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    at net.minecraft.server.NetworkManager.a(SourceFile:232)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:276)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:202)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
  7. Offline


  8. Offline


    thanks it works
  9. Offline


  10. Offline


    you may want to clarify your question. but if i got you right: yes it does. this works exactly like msleeper original version for hmod did.
  11. Offline


    Thats what i wanted to know, thanks!
  12. Offline


    Does this still work with 264+?
  13. Offline


    why dont you test? :D
    it works, since its really simple plugin, and it will work as long as onPlayerMove behavior doesnt change in craftbukkit.
  14. Offline


    Using your compiled version flames, how do i set the config? It's not generating one like the old mod did and your instructions up above are for the "new" version that is broken right now anyway.
  15. Offline


    @Efflixi: there is no configuration needed for the version i provided above. the only setting you can use is radius of bedrock replacement around you while you are moving around the map. by default it is 8 blocks.
    if you want to change this setting, create folder bedrockgapinsurance in your plugins folder and there a file configuration.yml
    open the file with any editor and put following content into it:

    i dont suggest to make the radius more than 16, since this could be a resource hog for your server.
  16. Offline


    Anyone feels updating this plugin? There is problem that it replaces bedrock to stone in Nether world
  17. Offline


    Haven't tried the Nether out with this mod but if this is true I would love to see an update as well :\
  18. Offline


    I'm getting this in the log

    2011-02-23 01:35:03 [WARNING] Using the stupidly long constructor org.flames.bukkit.flatearth.BedrockGapInsurance(PluginLoader, Server, PluginDescriptionFile, File, File, ClassLoader) is no longer recommended. Go nag the plugin author of BedrockGapInsurance to remove it! (Nothing is broken, we just like to keep code clean.)
  19. Offline


  20. Offline


    Hey - I like this plugin exactly the way it currently works. I know flames has written a new one, but I don't like that one as much. Is there any way I could beg someone to update this plugin so it doesn't use TSLPC? :p
  21. Offline


    which plugin do you like, the one in msleepers post, or the one that i made and posted on github?
  22. I second this and completely agree.

    Remove the "stupidly" long constructor.
  23. Offline


    I prefer flames original version tbh. Acting on player movement might not be efficient, but most users simply can't be bothered to learn about the new way flames replacement plugin works. As such using on player move is the only viable option for us so far.
  24. Offline


    I prefer this plugin since it is automatic and I don't have to do anything. It just happens magically!!!

    @flames if you can make your plugin an automatic "makes the bottom of the world flat" on current and newly generated chunks, without admin having to run around and run commands. Well than I would switch. Maybe make 2 versions?? I just like how simple and easy this plugin is and I never had to worry about dealing with it.
  25. Offline


    --- merged: Feb 26, 2011 11:01 PM ---
    What does this have to do w/ ANYTHING!?>??????
  26. Offline


    Wait, msleeper.. like from F7?
  27. Offline


    ok ok, its on the work guys. will come tonight in the other topic as alternative version. but aware, onPlayerMove is resource eating and also as simple as it is, the bedrock flatting is attached to every player on the server, which is another resource hog. but yea, it will come tonight
    --- merged: Feb 27, 2011 2:06 AM ---
  28. Offline


    I think the big thing is that some of us are running private servers between some friends where there will only ever be 2 people on at once, maybe 3. Those number of players wouldn't create an unbearable load on the server. Having the plugin run like this until full chunk flattening can be done is best for us.

    Thanks for updating this.
  29. Offline


    Just a thought, how about splitting the onPlayerMove out into it's own thread so it won't slow the entire server down? My server have 5 cores sitting more or less idle atm.
  30. Offline


    yes, indeed, but i dont know how to deal with threads, and as i know bukkits multithreading is not really usable. i will look into that. there are also other plugins that could benefit from multithreading even more.

    btw. lets talk about the "new" flatearth in the other thread, since this is msleepers. she will hate me.
  31. Offline


    I get cannot find error how can I fix?

Share This Page