[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

    Manbeast77

    Ok, that's a hell of a lot better than adding 50 lines. Appreciate it.
     
  3. Offline

    morizuki

    Code:
    2011-07-28 14:44:10 [SEVERE] Error occurred while enabling BlocksOnGlass v0.4 (Is it up to date?): SNOW_FORM
    java.lang.NoSuchFieldError: SNOW_FORM
    at de.frozenbrain.BlocksOnGlass.bogPlugin.onEnable(bogPlugin.java:33)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422) 
    i've got this error..
     
  4. Offline

    FrozenBrain

    What CraftBukkit Build have you tried using with my plugin?
     
  5. Offline

    morizuki

    I'm using the Latest one.. CB1036
     
  6. Offline

    FrozenBrain

    Looks like the events' name has changed. Why are you using that non-recommended build?
     
  7. Offline

    morizuki

    there are man fix in non-recommend..
     
  8. Offline

    Shaduy

    Can you please add the ability to place torches on leaves? Would be great to build a treehouse!
     
  9. Offline

    FrozenBrain

    Added in 0.41, thanks :)

    @Wesley Boynton
    @Chromana
    The sounds noteblocks make when placed on glass are fixed now. Have fun :)

    As always: See the first post for the update.
     
  10. Offline

    vampirepiggy9

    if i dont hav permissions will it still work?
     
  11. Offline

    FrozenBrain

    Yes,, it'll still work.
     
  12. Offline

    Thickshake

    Could u teach me how to develop plugins D:
     
  13. Offline

    Simanova

    Error after Startup


    CB 1038, Removed deprecated methods.
    SnowForm event has been replaced by BlockForm event.
    (commit: f468387808a09c4ba9f50e9e2e1b2fd61c4695ba) — EvilSeph / githubweb)
     
  14. Offline

    Pythros

    Hmm... I searched this thread and didn't see my answer. Can you put pressure plates on fences with this now?

    Edit: I just uploaded to v0.42 and got this:
    Code:
    08:03:50 [SEVERE] Error occurred while enabling BlocksOnGlass v0.42 (Is it up to
    date?): SNOW_FORM
    java.lang.NoSuchFieldError: SNOW_FORM
            at de.frozenbrain.BlocksOnGlass.bogPlugin.onEnable(bogPlugin.java:40)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.
    java:878)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager
    .java:278)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
            at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:380)
            at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleComman
    dMap.java:281)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129
    )
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:31
    2)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:480)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:465)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    I am using CB 1034 if it makes any difference
     
  15. Offline

    FrozenBrain

    Hackuss and morizuki like this.
  16. Offline

    Pythros

  17. Offline

    FrozenBrain

    Yes, it does.
     
  18. Crashed today with this error:

    Code:
    2011-08-04 18:42:44 [SEVERE] java.lang.StackOverflowError
    2011-08-04 18:42:44 [SEVERE]    at java.lang.String.valueOf(String.java:2902)
    2011-08-04 18:42:44 [SEVERE]    at java.lang.StringBuilder.append(StringBuilder.java:128)
    2011-08-04 18:42:44 [SEVERE]    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:358)
    2011-08-04 18:42:44 [SEVERE]    at net.minecraft.server.World.k(World.java:444)
    2011-08-04 18:42:44 [SEVERE]    at net.minecraft.server.World.applyPhysics(World.java:428)
    2011-08-04 18:42:44 [SEVERE]    at net.minecraft.server.World.update(World.java:400)
    2011-08-04 18:42:44 [SEVERE]    at net.minecraft.server.World.setTypeId(World.java:372)
    2011-08-04 18:42:44 [SEVERE]    at net.minecraft.server.BlockSnow.g(BlockSnow.java:49)
    2011-08-04 18:42:44 [SEVERE]    at net.minecraft.server.BlockSnow.doPhysics(BlockSnow.java:43)
    2011-08-04 18:42:44 [SEVERE]    at net.minecraft.server.World.k(World.java:452)
    2011-08-04 18:42:44 [SEVERE]    at net.minecraft.server.World.applyPhysics(World.java:428)
    2011-08-04 18:42:44 [SEVERE]    at net.minecraft.server.World.update(World.java:400)
    2011-08-04 18:42:44 [SEVERE]    at net.minecraft.server.World.setTypeId(World.java:372)
    2011-08-04 18:42:44 [SEVERE]    at net.minecraft.server.BlockSnow.g(BlockSnow.java:49)
    2011-08-04 18:42:44 [SEVERE]    at net.minecraft.server.BlockSnow.doPhysics(BlockSnow.java:43)
    2011-08-04 18:42:44 [SEVERE]    at net.minecraft.server.World.k(World.java:452)
    2011-08-04 18:42:44 [SEVERE]    at net.minecraft.server.World.applyPhysics(World.java:428)
    2011-08-04 18:42:44 [SEVERE]    at net.minecraft.server.World.update(World.java:400)
    2011-08-04 18:42:44 [SEVERE]    at net.minecraft.server.World.setTypeId(World.java:372)
    2011-08-04 18:42:44 [SEVERE]    at net.minecraft.server.BlockSnow.g(BlockSnow.java:49)
    2011-08-04 18:42:44 [SEVERE]    at net.minecraft.server.BlockSnow.doPhysics(BlockSnow.java:43)
    2011-08-04 18:42:44 [SEVERE]    at net.minecraft.server.World.k(World.java:452)
    2011-08-04 18:42:44 [SEVERE]    at net.minecraft.server.World.applyPhysics(World.java:428)
    2011-08-04 18:42:44 [SEVERE]    at net.minecraft.server.World.update(World.java:400)
    
    I recently updated this plugin, and not really anything else that I can think of, so figured it might be related...

    Yea this plugin is now officially dangeorus:

    You can crash Bukkit by breaking a Snow plate that is on top of an Ice block.

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

    Simanova

    Using CB Build 1042 - Please prepare for the next rec. build Frozenbrain by fixing this issue now!

    This message is completly stupid for serveradmins using no permission system!

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

    KingPin

    if I remove the plugin for now will everything I have placed on glass/fences automatically fall down or on interaction only?
     
  21. Offline

    FrozenBrain

    I'm not quite sure, but I think if you interact with the block the item is placed on.

    Thanks, I'll look into this.

    Read my recent posts.
    http://dl.dropbox.com/u/14111945/BlocksOnGlass_dev.jar
     
  22. Perhaps a config option to not allow snow to land on ice? That is the interaction which crashes bukkit.

    Or to be safe, all snowplate changes this plugin makes :p
     
  23. Offline

    Mengiil

    mundo place everything where he pleases!
    i will definitely use this!
    Thank you =)
     
  24. 2011-08-13 16:22:09 [SEVERE] Error occurred while enabling BlocksOnGlass v0.42 (Is it up to date?): SNOW_FORM
    java.lang.NoSuchFieldError: SNOW_FORM
    at de.frozenbrain.BlocksOnGlass.bogPlugin.onEnable(bogPlugin.java:40)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  25. Offline

    dark navi

    Please update to 1060!
     
    morizuki likes this.
  26. Offline

    xsolar66

    Hi, @FrozenBrain ,

    I'm using WorldGuard to prevent Ice from melting. However, with the latest version of this plugin, the ice will Melt in a rather glitchy fashion around glowstone (perfect diamonds, but only 1 block wide.)

    If it happens more, I'll take a screenshot and show you what I mean; and I am almost certain it has something to do with the ice melting correctly update on the OP
     
  27. Offline

    Deathfromace

    For me this mod just no longer works with 1060. :(
     
  28. Offline

    gamemaster1494

    i get this...
    18:41:12 [SEVERE] Error occurred while enabling BlocksOnGlass v0.42 (Is it up to
    date?): SNOW_FORM
    java.lang.NoSuchFieldError: SNOW_FORM
    at de.frozenbrain.BlocksOnGlass.bogPlugin.onEnable(bogPlugin.java:40)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:885)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:278)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161
    )
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  29. Any news on the Ice issue?
     
  30. It seems that if you have the Fancypack mod installed, then when you break a fence made of e.g. gold or any other material. Then you get a normal plank fence... Does any1 know how to fix this, other that removing this great glass plugin?

    [​IMG]
     
  31. Offline

    tha d0ctor

    '
    it doesn't work on 1060 for me either
     

Share This Page