[MISC] GlowstoneDrop v0.3 - Destroy a Glowstone and get a block back [556-803]

Discussion in 'Inactive/Unsupported Plugins' started by XxFuNxX, Mar 30, 2011.

  1. Offline

    XxFuNxX

    GlowstoneDrop:
    Version 0.3

    Description:
    When you destroy a Lightstone/Glowstone it will drop a Lightstone/Glowstone block!
    No more dust!

    Features:
    * When you destroy a Glowstone/Lightstone block you will get a Glowstone/Lightstone block!

    Download Links:
    [<Edit by Moderator: Redacted mediafire url>
    [<Edit by Moderator: Redacted mediafire url>


    Version With Permissions:
    In Permissions add "<font color="rgb(51, 153, 102)">glowstonedrop.command</font>" to the group you want to have GlowstoneDrop, If you dont have Permissions, you can either download it, or use the default (only OPs have GlowstoneDrop in default)

    Version Without Permissions:
    if you downloaded/use the version without Permissions, every one will get
    a block instead of a dust

    Known Bugs:
    When you use like "World Guard" it dosent protect the glowstone! (im trying to fix this!)

    Changelog:

    Version 0.3
    * Added Permissions support

    Version 0.2
    * Fixed so you dont get both dust and block now only block!

    Version 0.1
    * Releasing GlowstoneDrop
     
    Last edited by a moderator: Dec 14, 2016
  2. Offline

    rrapidoo

    good idea, but error on download
     
  3. download link requires login... post a public link to that file.
     
  4. Offline

    XxFuNxX

    Link fixed ;)
     
  5. Offline

    renxwar

    Looks awesome!
    Permissions support?
     
  6. Offline

    XxFuNxX

    @renxwar Hm, yeah i try to add that today! (try) :)
     
  7. Offline

    XxFuNxX

    Good News! Permissions Support!
     
  8. Offline

    Olof Larsson

    This is an awesome idea! Simple but great :)
     
  9. Offline

    XxFuNxX

  10. Offline

    Olof Larsson

    Are you using correct listener priorities for this plugin? I can break glowstone blocks in territories protected by protection plugins... for example my own plugin "Factions". If event.isCancelled() you should not break the block. Are you checking that right now?
     
  11. Offline

    kostya111

    Thank you XxFunXx, I REALLY love this plugin!
     
  12. Offline

    XxFuNxX

  13. Offline

    dupsmckracken

    This is awesome. You should do one for wooden/stone stairs so they drop stairs.
     
  14. Offline

    XxFuNxX

    Yeah, maybe to that now! thanks :)
     
  15. Offline

    Mergrim

    Is there any way you can make it so it detects if a glowstone was placed by hand or not? That way it could be made so "natural" glowstone drops dust, but placed glowstone would drop the full block.
     
  16. Offline

    JacKlink01

    MAJOR BUG: If you use WorldGuard or any other plugin that protects blocks, it WILL NOT protect glowstone! We have a protected spawn area and we had a guest come to the server and remove ALL of the glowstone. They had no permissions, yet they could break glowstone while we used this plugin.

    Sadly, we had to remove the plugin from our server. Otherwise, I love it :)
     
  17. Offline

    XxFuNxX

    Wow! i need to fix that now! i will try to fix it today (try) else i will work with this instead of my other plugins :)
     
  18. Offline

    Olof Larsson

    Here is what I use with priority Highest to make glowstone and booksheves drop:

    Code:
    @Override
        public void onBlockBreak(BlockBreakEvent event) {
            if (event.isCancelled()) {
                return;
            }
    
            Material material = event.getBlock().getType();
    
            if (material == Material.GLOWSTONE) {
                event.setCancelled(true);
                event.getBlock().getWorld().dropItemNaturally(event.getBlock().getLocation(), new ItemStack(Material.GLOWSTONE, 1));
                event.getBlock().setType(Material.AIR);
            } else if (material == Material.BOOKSHELF) {
                event.getBlock().getWorld().dropItemNaturally(event.getBlock().getLocation(), new ItemStack(Material.BOOKSHELF, 1));
            }
        }
    You should make a plugin putting all block drop modificaitons together. And probably use a yaml config file to turn on and of. Take a look at the source for IConomy. There is a good hint on how to create yaml configs.
     
  19. Offline

    Lee

    Does it work with 733?
     
  20. Offline

    fneyret

    Yes :)
     
  21. Offline

    XxFuNxX

  22. Offline

    InFerNos1

    the link is dead
     
  23. Offline

    XxFuNxX

    Works for me
     
  24. Offline

    xGhOsTkiLLeRx

    Could you create a static download link for CraftBukkitUpToDate?
    Maybe with dropbox or github?

    Greetings
     
  25. Offline

    XxFuNxX

    I Havent looked up my plugins, i code C# too and im making a application right now, so i havent been able to check the plugins :( next week i WILL only do stuff for plugins so please contact me then.
     
  26. Offline

    PsychoNecrosis

    You should update your original post :p
     
  27. Offline

    fneyret

    It works with CB766 too :)
     
  28. Offline

    Plague

    cb 677 in the title, moved to inactive
    (is the version range even needed?)
     
  29. Offline

    PsychoNecrosis

    Confirmed to work with 803
     
  30. Offline

    xGhOsTkiLLeRx

    Hey,

    think 1.6.6 will break the plugin!
    Maybe you can look into it :)
    (To use the time, until a new recommend build comes out!)

    It's working with 1.6.6 ;)


    And:

    PLEASE a dropbox link!
    Thank you!

    Greetings
     

Share This Page