Resetting a mine? [Prison Server]

Discussion in 'Bukkit Discussion' started by Deleted user, Feb 11, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Deleted user

    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!

    Bump, still need help.

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

    efstajas

    Use the //set 98%stone,1%ironore,1%coalore command again?
     
    Zino likes this.
  3. pwnd
     
  4. Offline

    Deleted user

    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.
     
  5. Offline

    efstajas

    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.

    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.

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

    Deleted user

    Wow... I love you <3
     
    efstajas likes this.
  7. Offline

    Roadkill909

    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.
     
  8. Offline

    DanielSivertsen

    I just got 3 mines ;D

    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

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

    Axe1Killer

    @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
     
  10. Offline

    foldagerdk

    Great!
    Can you explain how to use the bukkit.yml file for this purpose?
     
  11. Offline

    efstajas

    I highly recommend CommandHelper, it's quite awesome.
    Here's how you can do it with bukkit.yml though.
     
  12. Offline

    kickbutt101

    I can do that in 30 seconds legit... :p (hope your server goes well)
     
  13. Offline

    foldagerdk

    CommandHelper is outdated :/
     
  14. Offline

    efstajas

    Nah.
     
  15. Offline

    foldagerdk

    Oh sorry :O
    I looked the other day and it was :/
     
  16. Offline

    efstajas

    Yeah, the thread is still outdated. I though it was, too, at first. :)
     
  17. Offline

    Axe1Killer

    //set 98%stone,1%ironore,1%coalore <<<< that doesnt work it comes up with this error in the chat
    Too Many Arguments
    //set <block>

    bump

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

    efstajas

    Oh, okay... Then it's getting a little more complicated. //replace stone,ironore,coalore 98%stone,1%ironore,1%coalore
     
  19. Offline

    Axe1Killer

    what about the air like if the area has been mined ...
     
  20. Offline

    darkbrewery

    #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

    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?

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

    XanderCrews01

    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.
     
  22. Offline

    tachinano

  23. 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...
     
  24. Offline

    XanderCrews01

    Kind of digging up an old topic, but look here. The information is there, you just have to look everywhere/read everything.
     
Thread Status:
Not open for further replies.

Share This Page