Obsidian Breaker Request

Discussion in 'Archived: Plugin Requests' started by chickenputty, Apr 1, 2012.

  1. Offline

    chickenputty

    Plugin category: Mechanics

    Suggested name: ObbyBreaker

    A bit about me: I'm an admin of a new PvP, mcMMO, Faction server (pvp.prox12.com) and most all of our players already have full obsidian boxes as bases, which are pretty much unraidable.

    What I want: A simple plugin which allows users to blow up obsidian to a configured amount of direct hits. This would allow players to cannon an obsidian base around 5 times to blow a hole into the side, the tnt would have to be hit directly. (Not much to really put here, tnt+obsidian=break)

    Ideas for commands: /ob [value] - Amount of tnt needed to break obsidian
    /ob toggle - toggles the plugin on and of

    Ideas for permissions: Permission to allow users to tnt obsidian, and permission to allow the /ob commands (None really needed just make default users be able to tnt obsidian and OPs to have /ob access... although someone might want this as a donation perk)

    When I'd like it by: As soon as possible

    Similar outdated plugins: http://forums.bukkit.org/threads/me...ow-explosions-to-destroy-obsidian-1185.24954/
     
  2. Offline

    Tim619

    I'm not sure that not possible, because it would affects their block resistence and possibly crash the server when they break it with anything, but fortunealy Spoutcraft may be able to help you, Message one of the spoutcraft developers to help you, since Spoutcraft make:
    A new hidden ID in a existing ID such as 46(which is tnt), so by adding a 46:1, they would be able to make a tnt that destroy obsidian.
    Unfortunely, every players would need Spoutcraft to use this, if players join your server wihout Spoutcraft then they would see the "new" TNT as a normal TNT but however would see it as blowing up obsidian, so yea...

    Ask a Spoutcraft developer to help you make this.
     
  3. Offline

    chickenputty

    Raidcraft is running ObsidianDestroyer...
     
  4. Offline

    Orcem12

    No he's incorrect this is more than possible without spout. I'll look into it real quick.
     
  5. Offline

    chickenputty

    Great!

    How was looking into it? D:

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

    Orcem12

    Nearly successful, I know for a fact its possible. I was trying to put together a small plugin that got the explosion, the blocks around it then checked to see if the blocks or rather:
    Code:
        @EventHandler
        public void ObsidianExploder(EntityExplodeEvent e){
            Location tl = e.getLocation();
            if(e.getEntityType() == EntityType.PRIMED_TNT) {
                List<Block>blocks = e.blockList();
                DestroyObsidian(tl);
            }
        }
        public void DestroyObsidian(Location loc){
            Block b = loc.getBlock();
            if(!(b.getTypeId() == 49)){
                return;
            }else{
                b.setTypeId(Material.AIR.getId());
            }
        }
    Of course it didn't work, but I'll try and get it working today :)
     
  7. Offline

    chickenputty

    Thanks so much
     
  8. Offline

    6flydog

    Please get it finished i need it for my server.....xxxx
     
  9. Offline

    Harry8550

    I need it for my server to :)
     
  10. Offline

    chickenputty

    Everyone who has a PvP server needs this!
     
  11. Offline

    chickenputty

  12. Offline

    chickenputty

    Anything?
     
  13. Offline

    Lolmewn

    I did make something that looks like it. You set the time to break an obby block (for example, /fo 4 breaks it in 4 seconds), then start mining it.
     
  14. Offline

    Orcem12

    Yeah they want the obby block to break in the explosion, I was messaged by an OP in this thread and they said the requested an remake by some other developer. If this is still needed however, I can make it.
     
  15. Offline

    xaldovit

    I got some source code, It was from the original developer, then someone else did update it, but the config doesn't work yet so kinda bad since the amount of shots is set on 10, thats a bit much in my opinion. I was trying to rewrite it but I'm not very good at it, so i got some errors and I don't know why. So if someone want's to get the source (or what's left from it) and fix the config and errors witch is possible, we can try to get this tread back up again.
    Greets, Xaldovit.
     
  16. Offline

    scowling

    i am looking for something like this for a server i am a mod trainee on that has mutli -world an one is factions and i am look for a plugin that allows tnt to destroy obsidian
     
  17. Offline

    Orcem12

    I'll remake this after another promised request.
     
  18. Offline

    scowling

    will ty this plugin we be for this server http://disastergaming.info/ the own as also send a message to one of the developers for the oddy destroy i think so yea but i cant remember for sure
     
  19. Offline

    chickenputty

  20. Offline

    Harry8550

    Obsidian Destroyer is Updated now.
     
  21. Offline

    xaldovit

    Yep, Orcem12 made a prototype, alot of thanks man!!!! Hope you will continue this!!
     
  22. Offline

    Orcem12

Share This Page