[INACTIVE][MISC] BlocksOnGlass v0.44 - Place anything on glass [1185]

Discussion in 'Inactive/Unsupported Plugins' started by FrozenBrain, Apr 16, 2011.

  1. Offline

    FrozenBrain

    BlocksOnGlass - Place everything you want on glass .. and fences .. and ice :>
    Version: v0.44
    CraftBukkit: 1185

    Thanks for the video, @Gabriel Moon

    This plugin allows the players of your server to place anything on glass, ice and fences. Redstone also works.

    Features:
    • Place every item or block on glass, ice, fences and leaves
    • Support for Permissions
    Download BlocksOnGlass v0.44
    Source Code

    If you want to support me, please [​IMG].

    Permissions:
    Show Spoiler
    Players can only place an item on glass if they have the permission to for it.
    There are the following permission nodes:
    bog.itemGlass
    boi.itemIce
    bof.itemFence
    bol.itemLeaves

    If you want to allow them to place a torch on glass, you would use for example
    Code:
    bog.torch
    for wooden doors on fences
    Code:
    bof.wood_door
    and so on.

    The itemname hast to be uncapitalized or it won't work!
    Possible itemnames are:
    Code:
    POWERED_RAIL
    DETECTOR_RAIL
    TORCH (not for fences)
    LADDER
    RAILS
    LEVER
    STONE_PLATE
    WOOD_PLATE
    REDSTONE_TORCH_ON (not for fences)
    STONE_BUTTON
    WOOD_DOOR
    IRON_DOOR
    REDSTONE
    BED
    DIODE
    You can use bog.*, bof.*, boi.* and bol.* as well!


    Configuration:
    fenceFixIf this is set to 'true', you can place fences next to another one even if there's no fence below the new one.


    Changelog:
    Version 0.44
    • Update for CB 1185 (Minecraft 1.8.1)
    Version 0.43
    • Update for CB 1060 and 1118
    Version 0.42
    • Fixed ice (was not melting correctly)
    Version 0.41
    • Added support for leaves
    • Noteblocks placed on glass will now play the correct sound
    Version 0.40
    • Added support for ice
    • Updated for CB build 1000
    • Added "fenceFix" to the config (see above)
    • Monsters can no longer climb over fences
    Show Spoiler
    Version 0.35
    • Snow shouldn't be forming on glass and fences now
    • Torches can now be placed on fences without having to explicitly have the permission to
    Version 0.34
    • Added support for fences
    Version 0.33
    • Fixed lighting bug
    Version 0.32
    • Updated for Minecraft 1.6.6 (CraftBukkit b818)
    Version 0.31
    • Changed the way you can allow or disallow items to be placed on glass
      • See Permissions
    Version 0.30
    • Fixed redstone
    • The plugin has been completely rewritten to make it
      • faster
      • more reliable
      • more flexible
      • more compatible
    Version 0.22
    • Updated for CB 733
    • Added support for powered rails and detector rails
      • You can place them, but they do net work correctly yet, sorry.
    Version 0.21
    • You can now place beds on glass
    Version 0.20
    • Doors can now be placed on glass
    • You can now set which items can be placed on glass (see Configuration)
    • Fixed some bugs
    • Cleaned up the code a bit
    Version 0.11
    • Rails, Ladders, Redstone Wire and Redstone Torches can now be placed on glass (however redstone doesn't work until I know how to fix that)
    • Fixed Ladders
    Version 0.1
    • First public release


    Incompatible plugins: None
    Todo: Fix the sound note blocks make if there's glass below it (may be impossible)

    Have fun :)
     
    _ralts, ACStache, Noppoly and 3 others like this.
  2. Offline

    Mykekeul35

    Hi !
    Have you planned to update to craftbukkit Build #1465 + ?

    C ya
     
  3. Offline

    Doc

    Just a heads up this error pops up on
    Craftbukkit 1479+

    Just letting you know so you can be prepared before the RB comes out.
    Thanks for the plugin!
    -Doc
     
  4. Offline

    seanster789

    cool thnxs for letting me know
     
  5. Offline

    Mercury

    Does this work with 1.9 / 1.0 ?
     
  6. Offline

    Buckethead

    no.... and in fact in 1.0. build 1467

    Code:
    21:47:28 [SEVERE] Error occurred while enabling BlocksOnGlass v0.44 (Is it up to date?): bE
    java.lang.NoSuchFieldError: bE
            at de.frozenbrain.BlocksOnGlass.blocks.bogBlockLeaves.<init>(bogBlockLeaves.java:11)
            at de.frozenbrain.BlocksOnGlass.bogPlugin.modifyBlocks(bogPlugin.java:88)
            at de.frozenbrain.BlocksOnGlass.bogPlugin.onEnable(bogPlugin.java:42)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:183)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:176)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:159)
            at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:337)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:324)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:161)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:388)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
     
  7. Offline

    Mercury

    crap. all my railroad just exploded on glass.
     
  8. Offline

    WardenWolf

    Crap, looks like he re-designated glowstone as glass in 1.0, either intentionally or not. My stuff exploded and I can't put it back until you update. Thanks for making this plugin.
     
  9. Offline

    xGhOsTkiLLeRx

    I can't promise anything, but I'll try to make an temp update until @FrozenBrain returns.
    [GERMAN]
    Sollte das nicht ok sein, sag einfach Bescheid ;)
    [/GERMAN]
    (I just told him that he can tell me not to do the update ;))
     
    Mykekeul35 and Sepulzera like this.
  10. Offline

    arsjet

  11. Offline

    Mykekeul35

    @

    Thx a lot !
     
  12. Offline

    Mr_Waffle

    Changing MATERIAL.SHATTERABLE to MATERIAL.CLOTH (Don't ask why I chose this one, but it works) for the Glass in bogPlugin.java allows you to place stuff on glass again. I also changed this.bE to this.bS in bogBlockLeaves.java (No idea what it does, but bS exists and bE doesn't). Since I only need to be able to place on glass, I don't know if it allows you to place on leaves. Probably if you do the same as with glass, it should work.

    Edit: Also commented out the try/catch block for glass.
     
  13. Offline

    Omen

    can you upload your jar file for us to use?
     
  14. Offline

    Mr_Waffle

    I can, but I also removed the permission system, as I didn't think it was necessary for a plugin like this. If you want, I can put it back in.
     
  15. Offline

    Sepulzera

    It's cool, I doubt someone used it anyway.
     
  16. Offline

    Mr_Waffle

    This is the jar I'm currently using:
    <Edit by Moderator: Redacted multiupload url> 101, 144)]<Edit by Moderator: Redacted multiupload url>
     
    Last edited by a moderator: May 6, 2019
    Mercury and Sepulzera like this.
  17. Offline

    Sepulzera

     
    Last edited by a moderator: May 6, 2019
  18. Offline

    Mercury

    Works with #1510. Fixed also leaf bug.
     
  19. Offline

    The Wizard

     
    Last edited by a moderator: May 6, 2019
  20. Offline

    Mr_Waffle

    Funny, I don't remember touching the fence part. I'll look at it though.

    Edit: Answered below.
     
  21. Nope, that's a CraftBukkit-bug.
     
  22. Offline

    The Wizard

    ^Without the plugin I don't have this bug.
     
  23. Offline

    xGhOsTkiLLeRx

    You don't know what it does?
    You changed just changed it?
    Thats....lol!

    If anyone is interested in my build, check out my github acc.
     
  24. Offline

    Mr_Waffle

    No, I don't, reason for that is because I never REALLY looked into Bukkit plugin development yet. I know some (really just some) Java and can get around by reading and understanding code.

    And I'm guessing it has something to do with material characteristics.
     
  25. Offline

    sean_skroht

    Thanks for letting us know. Do you have a JAR file compiled yet? Can only see the source.
     
    Mercury likes this.
  26. Offline

    Mercury

    Where i can find your Github acc?
     
  27. Offline

    sean_skroht

     
    Last edited by a moderator: May 6, 2019
  28. Offline

    xGhOsTkiLLeRx


    NEW HOME!!

    http://dl.dropbox.com/u/26476995/BlocksOnGlass.jar
    There you go.
    Check out periodically, I'll post updates only in this post!

    Changelog:

    What I've done so far:
    • Updated to latest bukkit standards
    • Removed old Permission 3.XX support
    • Glass is working again
    • FenceFix, too
    • Fences are working, too!
    • Added NetherFence; look below for permissions
    • Fixed damage under fences (3rd 4th time :p) @Sepulzera
    • Added permission nodes
    • Enable or disable permissions ( @Atraius )
    • Added glowstone support! ( @Kane , @xsolar66 ) Warning: Could be buggy! Look below for permissions
    • Fixed spawning (should be!) ( @Noman_1000 )
    • Leaves should work fine again ( @sean_skroht )
    • Added TNT (default: false!); look below for permissions
    What needs to be done:
    • Fix Ice & Leaves DONE!
    • Add NetherFence DONE!
    • Add Glowstone DONE!
    • Add stairs
    • Add TNT (config!) DONE!
    • Add botanical stuff like flowers & saplings Only mushrooms...
    • Fix glass block spawning (maybe config) FIXED
    • Maybe config which block should be affected Added
    • (Memo: Change code -> onBlockPlace) nonsense code ;)
    New permissions:

    bonf.item -> Blocks On Nether Fence = bonf
    The old ones are still working!

    bogl.item -> Blocks On Glowstone = bogl

    bot.item -> Blocks On TNT = bot
     
    Sepulzera, Kane, S4h4rk and 3 others like this.
  29. Offline

    Mercury

    Waiting for
    Fix Ice & Leaves :)
     
  30. Offline

    o0AzzA0o

    thanks for this :)
     
  31. Offline

    Mykekeul35


    Thx ! Waiting or the next update !
     

Share This Page