Resetting a mine? [Prison Server]

Discussion in 'Bukkit Discussion' started by Eballer48, Feb 12, 2012.

  1. Offline

    Eballer48

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hello so I'm in the process of making my prison server and I have a mine. Basically its a cube in the ground generated with world edit (//set 98%stone,1%ironore,1%coalore)
    I need some way I can reset the mine at will.

    I figured I could do

    //copy
    //save mine1
    //load mine1
    //paste -o

    However thats the same mine over and over again. People could memorize ore locations...

    Please help!
  2. Offline

    Eballer48

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Bump, still need help.
  3. Offline

    efstajas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Use the //set 98%stone,1%ironore,1%coalore command again?

    This post has been edited 1 time. It was last edited by efstajas Feb 12, 2012.
    Zino likes this.
  4. Offline

    Zino

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    pwnd
  5. Offline

    Eballer48

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Derp, but I'm looking for a quicker way to do it, I don't want to have to go set points... then type the command again. especially if I have 5-10 mines.
  6. Offline

    efstajas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    For the command, you can use CommandHelper to shrink it to something like /regenmine. I'll see if I can find a way to automatically select the points.
  7. Offline

    efstajas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Eballer48 All right, I found a solution which is pretty good, actually. Download WorldGuard. Define the cuboid and do /region define Mine. Then, install CommandHelper and make a command like /regenmine which does the following:
    1. /region select Mine (This will select the mine)
    2. //set 98%stone,1%ironore,1%coalore
    3. //sel cuboid (This will clear the worldedit selection)
    4. Done!
    Hope it works, if you have any other question, feel free to ask. :)

    SuperImportantEdit: Just realized you wont even need CommandHelper. You can use the bukkit.yml file found in the server directory.

    This post has been edited 2 times. It was last edited by efstajas Feb 12, 2012.
    Eballer48 likes this.
  8. Offline

    Eballer48

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Wow... I love you <3
    efstajas likes this.
  9. Offline

    Roadkill909

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Eballer48
    Not sure if this plugin still works. It would be a permanent solution to your problem. Sadly the developer, who I used to work with, has gone inactive. He's an agreeable guy, so if you wanted someone to fork it, he may not mind, if he responded.

    This post has been edited 1 time. It was last edited by Roadkill909 Feb 13, 2012.
  10. Offline

    DanielSivertsen

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I just got 3 mines ;D
  11. Offline

    DanielSivertsen

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    But a plugin that updates the mine after 20minuts (or the time you want) And before, the mine goes updates it makes a messages every 10 secounds (or the time you want) And you dont need a admin / mod on to play on the server and enjoy!

    And i need some help with sapling and the tree farm ;O
  12. Offline

    Axe1Killer

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Eballer49 Or you could do this (with the /Regenmine thing)
    //pos1 X,Y,Z
    //pos2 X,Y,Z
    //set 98%stone,1%ironore,1%coalore
  13. Offline

    foldagerdk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Great!
    Can you explain how to use the bukkit.yml file for this purpose?
  14. Offline

    efstajas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I highly recommend CommandHelper, it's quite awesome.
    Here's how you can do it with bukkit.yml though.
  15. Offline

    kickbutt101

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I can do that in 30 seconds legit... :p (hope your server goes well)

    This post has been edited 1 time. It was last edited by kickbutt101 Mar 16, 2012.
  16. Offline

    foldagerdk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    CommandHelper is outdated :/
  17. Offline

    efstajas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Nah.
  18. Offline

    foldagerdk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Oh sorry :O
    I looked the other day and it was :/
  19. Offline

    efstajas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yeah, the thread is still outdated. I though it was, too, at first. :)
  20. Offline

    Axe1Killer

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    //set 98%stone,1%ironore,1%coalore <<<< that doesnt work it comes up with this error in the chat
    Too Many Arguments
    //set <block>
  21. Offline

    Axe1Killer

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  22. Offline

    efstajas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Oh, okay... Then it's getting a little more complicated. //replace stone,ironore,coalore 98%stone,1%ironore,1%coalore
  23. Offline

    Axe1Killer

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    what about the air like if the area has been mined ...
  24. Offline

    darkbrewery

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    #22 still didn't work for me. All combinations of //set and //replace commands both say "Too many Arguments"

    here's what I have for command helper:
    #Mine Resetting
    /minereset1 = /region select minec1 \ //set 93%stone,3%ironore,4%coalore
    /minereset2 = /region select minec2 \ //set stone,ironore,coalore 98%stone,1%ironore,1%coalore
  25. Offline

    darkbrewery

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Edit: it does work now, but has to be run as a player, was missing some quotes:
    #Mine Resetting
    /minereset1 = /region select minec1 \ //set '92%stone,1%ironore,4%coalore,3%goldore,0.5%redstoneore,0.05%diamondore'
    /minereset2 = /region select minec2 \ //set '91%stone,4%ironore,4%coalore,1%goldore,0.05%diamondore'

    anyone know how to set this up so the script can run automatically instead of needing a player to do it?
  26. Offline

    XanderCrews01

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Dont know if it has been mentioned, but you can also use precious stones to create a self-restoring mine. You just have to do some configuration.
  27. Offline

    tachinano

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  28. Offline

    terraparadiso.com

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    any help on how to do this with precious stones would be great.. i looked over the site and didn't see anything about block gen...
  29. Offline

    XanderCrews01

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Kind of digging up an old topic, but look here. The information is there, you just have to look everywhere/read everything.

    This post has been edited 1 time. It was last edited by XanderCrews01 Jun 7, 2012.

Share This Page