Solved World Guard not working right!?!

Discussion in 'Bukkit Help' started by Rapman24, Dec 1, 2013.

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

    Rapman24

    Hello everyone,
    So recently I edited my world guard region file directly and I had some YAML errors, I went back to fix them and everything seemed fine. Now all the world guard region commands work fine, but now the flags don't effect the regions! For example, if I were to disable mob spawning in a certain region, they would still spawn! Also if I create a whole new region, it still does not work!:( Please help!

    Edit: I also have world guard custom flag plugin

    Thanks,
    Rapman24
     
  2. Offline

    Geoff Winans

    I'd recommend you roll back your region file to a backup that worked and move on.
     
  3. Offline

    Rapman24

    I can't seem to find any of my backups for the region files and all the YAML errors are also fixed.

    I can't seem to find any of my backups for the region files and all the YAML errors are also fixed. Unless are they automatically backed up?
     
  4. Offline

    Geoff Winans

    You don't do hourly/daily/weekly backups of your entire server?

    Oiy.

    You could try posting the entire contents of he YAML file to pastie.org, but I don't know if you're going to have a lot of luck finding someone to roll through it and find the issue. You may need to wipe the WG configs and rebuild your regions.
     
  5. Offline

    Rapman24



    On a side note:I keep backups of the worlds and stuff, how do I do an automated backup of config files like that?

    Here is the region file I directly edited...It's a region file within a world.

    http://pastebin.com/NDfvAPdf

    On the side note piece, I use mine backup to backup all my worlds...
     
  6. Offline

    Bobcat00

    Your backup should include a copy of the entire 'plugins' folder and all its subfolders.
     
  7. Offline

    Rapman24

    How can i fix this with out reverting these files?
     
  8. Offline

    Geoff Winans

    I'd suggest you stray away from backup tools that don't snapshot /entireminecraftdir/

    Here's a really simple one. Not robust, but it gets the job done (done without checking, so there may be syntactical issues). If you'd like something more robust, hunt around for proper backup HOWTOs. There are a ton. If they ignore your plugin dir, they suck and should be ignored.

    Code:
    #!/bin/bash
     
    MCPATH=/path/to/mcserver
    BACKUPPATH=/path/to/backup/dir
    DATE=${ date -s "%F" }
     
    tar cf ${BACKUPPATH}/mcserver_${DATE}.tar ${MCPATH}
    
     
  9. Offline

    Rapman24

    Sorry, what is that exactly? And does anyone have any idea for the main issue above?
     
  10. Offline

    Bobcat00

    Go to a region where something isn't working right (say, your spawning flag) and do: /region info
    See if what WorldGuard reports is what you think it should be.
     
  11. Offline

    Rapman24

    It reports exactly what I expect to be there, the right region and flags etc...

    Please Help!

    Can someone please help? I still haven't been able to find anything! :(
     
  12. Offline

    Rapman24

  13. Offline

    PseudoKnight

    Is it just the mob-spawning flag?
     
  14. Offline

    Rapman24


    No, all flags
     
  15. Offline

    Rapman24

  16. Offline

    Rapman24

    Just updated, it works now :D
     
Thread Status:
Not open for further replies.

Share This Page