[INACTIVE][MISC] GlassPlugin v1.0 - Glass-related functions [714]

Discussion in 'Inactive/Unsupported Plugins' started by robin0van0der0v, Apr 6, 2011.

  1. Offline

    robin0van0der0v

    GlassPlugin - Glass-related functions!
    Version: v1.0

    (Request from icephantom and prom3th3an.)

    Features:
    • Get a drop if you break glass.
    • Hurt yourself if you break glass with hands.
    • Break glass if you fall on it.

    Download GlassPlugin!
    Source is inside the jar file.

    Permissions:
    Give the player you want this permissions for placing glass:
    Code:
    glassplugin.place
    Give the player you want this permissions for destroying glass:
    Code:
    glassplugin.destroy
    Give the player you want this permissions for getting a drop if he break glass:
    Code:
    glassplugin.getdrop
    Give the player you want this permissions for getting a drop if he break glassif he fall on it:
    Code:
    glassplugin.getbreakdrop
    Properties:
    This plugin creates a properties file on Plugins/GlassPlugin/GlassPlugin.properties. ;)

    Standard properties:
    Code:
    glass-drop=true
    glass-hurt=true
    glass-hurt-damage=1
    glass-break=true
    glass-break-drop=true
    glass-break-blocks=10
    Changelog:
    Version 1.0
    • Release.
     
    kahlilnc, Finer1 and RazorFlint like this.
  2. Offline

    KaosXi

    thats what i thought but after hours of testing i discovered that it doesn't always work at that height, is it also partially chance based?
     
  3. Offline

    jtlcr777

    I like this for now, but can you make it so that when you fall on a glass block, the surrounding glass blocks are destroyed as well? It would add to the realism. :D

    Also the glass-break-blocks things doesnt work. When I set it to 1, I still need to be about 8 blocks above it break the glass.
     
  4. Offline

    KaosXi

    same here. and thats what i originally thought "glass-break-block" was

    on another note, we were getting a slow heal on our server that we didn't want, we checked all the likely suspects, then started disabling plug ins. when we dropped yours... the healing went away. you might want to do a double check.
     
  5. Offline

    Plague

    cb 714 - inactive
     
  6. Offline

    jtlcr777

    aw I liked this plugin...I hope someone can continue this for him.
     
  7. Offline

    xGhOsTkiLLeRx

    It's still working on #818 :p
    He just needs to update the post
     
  8. Offline

    Taranis01

    @robin0van0der0v
    i got an error after using the /suicide command from Essentials.
    CB#860
    Code:
    > 22:11:07 [INFO] java.lang.ArrayIndexOutOfBoundsException: -1
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:671)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:678)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:712)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:287)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    at com.earth2me.essentials.Essentials.onCommand(Essentials.java:343)
    at com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.java:450)
    at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsCommand.java:55)
    at com.earth2me.essentials.commands.Commandsuicide.run(Commandsuicide.java:19)
    at com.earth2me.essentials.PlayerWrapper.setHealth(PlayerWrapper.java:88)
    at org.bukkit.craftbukkit.entity.CraftLivingEntity.setHealth(CraftLivingEntity.java:43)
    at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:146)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.java.JavaPluginLoader$52.execute(JavaPluginLoader.java:605)
    at nl.robinvandervliet.GlassPlugin.GlassPluginEntityListener.onEntityDeath(GlassPluginEntityListener.java:64)
    java.lang.NullPointerException
    > 22:11:07 [SEVERE] Could not pass event ENTITY_DEATH to GlassPlugin
    > 22:11:06 [INFO] ?9[PLAYER_COMMAND] Taranis01: /suicide 
     
  9. Offline

    BeerDone

    Goddammit, his website no longer works! If anyone reads this and has this plugin on them, could you please post a link, so I could get it? Much appreciated!
     
  10. Offline

    sintri

    still working, just not for panes.
     
  11. Offline

    BackHandReaper

    This is bad if you use magic carpet. people can break the magic carpet glass and actually get glass.
     

Share This Page