Safe world edit

Discussion in 'Archived: Plugin Requests' started by RulingKyle1496, Oct 15, 2012.

?

Good idea

  1. yes :D

    66.7%
  2. no :(

    33.3%
  1. Offline

    RulingKyle1496

    Let all the player(s) on your server use world edit by
    only allowing the command inside world guard region(s)
    -set pos1
    -setpos2
    -region claim whatever
    then you can use the world edit commands inside the region created
    like...
    --set
    --undo
     
  2. Offline

    the_merciless

    what about //stack, //move, //expand, //set tnt etc etc etc all these commands would/could cause damage outside of the region.
     
  3. Offline

    RulingKyle1496

    your right
     
  4. plz wuit 12 hrs to bumpz

    did i dun goof? Want me to translate it? goobyplz
     
  5. Offline

    RulingKyle1496

    I need someone to make this for sure you can help whoever takes on this task
     
  6. Offline

    DaCreeperKiller

  7. Offline

    RulingKyle1496

  8. Offline

    bob7

    I think i actually have a good method of doing this.. We/someon else, could simply listen for worldedit commands, then get the player loc, then check worldgaurd if the region has the required flags.
     
  9. Offline

    RulingKyle1496

    that would work great or just use the worldguard api to watch for a region and allow the commands only inside the region
    I would love it if you could do this
    either way is great :)
     
  10. Offline

    bob7

    Just thought it over a bit, couldn't they just do //sphere 100 100 right next to the region? OR set their vector points over the region?
     
  11. Offline

    RulingKyle1496

    The would only be able to use
    //pos1
    //pos2
    //replace
    //set
    //outline
    //walls
    //green
    //regen
    and maybe a couple more
     
  12. Offline

    bob7

    Ok well i beleive i can do this.. Not today though.. I'm prob going to do something like, IF the player can build inside this region, it'll ALSO allow worldedits.
     
  13. Offline

    RulingKyle1496

    Cool can you keep me updated that would be great

    no no no

    make it so...
    if the player can modify blocks in the area of pos1 and pos2 he can perform the command(s) \/
    //pos1
    //pos2
    //replace
    //set
    //outline
    //walls
    //green
    //regen​
    ________________________________________________________________________________​
    So then the plugin can support any protection like
    precious stones
    grief prevention



    Etc...
    It is much more useful this way and many more people will use it because it will work with their own protection not worldedit
    Not doing this could allow certain exploits such as
    if the player does not own a protected area then he could still claim it as a region and make changes to the area
    Alpha​



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

    bob7

    Idk wtf ur talking about now.. I was thinking about making my own super-region protection plugin, but I've been very busy with life.. If anyone understands this guy, simply check the region using worldgaurd API.
     
  15. Offline

    RulingKyle1496

    Okay let me rephrase it so you can understand it better
    The plugin will NOT use the worldguard api as it is not needed
    What it will do in order of events...
    1. player selects a region with pos1 and pos2
    2. player sends the command //set 0
    3. the plugin puts the command on hold while it does some checks
      1. The plugin sees if every block inside the region has an ability to be changed by the player

    as if the player broke the block or if it was stopped by another plugin
    if the break/place was successful then the command (for example //set 0) is sent and the blocks are changed

    If it is true the command is sent and the blocks are changed
    If it is false the command is trashed and an error message is sent

    It would do a universal check so any other protection plugin would work/be compatible with this one


    I understand if this is not possible or too hard for you
    but is was a good idea
    Anyways if it was too hard please continue with the last idea
    "I think i actually have a good method of doing this.. We/someone else, could simply listen for worldedit commands, then get the player loc, then check worldguard if the region has the required flags."
     
  16. Offline

    bob7

    Ehh... That would be awesome *if it was possible*. The fact is, I NEED Api to check if the worldedit vector is intercepting a local protected worldgaurd region. Not all plugins give me the api to do so, stuff like factions protects, but does not allow me to "hook". I need some way to get the region from each of your protection plugins.



    Edit: Also, i still like my command idea, BUT! I would probably have to add each blockstate to an array list, then get each of the ID's, THEEN check EACH block just to make sure the command doesn't go inside any local regions... That isn't a very good method (of course). I would much rather wait until some of this class/code injector stuff starts working, that way we could do this kind of stuff without a sweat.
     
  17. Offline

    RulingKyle1496

    Like what i'm saying is that you run a check that simulates a player breaking/placing a block then a
    verify node runs and checks if there was an error
    I am sorry if I am being a little bit unreasonable
     
  18. Offline

    bob7

    Buddy, your reminding me of Mit Romney a bit here. It seems you can't make up your mind.. I thought you wanted worldedit logged? Not placing/breaking blocks? I can't "simulate" a blockplace event on worldedit because it's not an event..
     
  19. Offline

    RulingKyle1496

    Okay
    1.I sorry
    2.I think that whatever works will be great
     
  20. Offline

    RulingKyle1496

  21. please wait 12 hours before bumping or 24 hours :D third time
     
  22. Offline

    RulingKyle1496

    I DID WAIT 12
     
  23. Actually you waited 10 hours :D
    8:09 doesn't equal 10:25 -.-
     
  24. Offline

    RulingKyle1496

    GET OFF THE FORUMS I have bumped this 1 time in the last 2 days leave me alone
     
  25. Please don't get mad at me, get mad at yourself for your mistakes, tisk tisk tisk.
     
  26. Offline

    RulingKyle1496

    How is this my mistake for you to follow my account and point out every imperfection you are a want to be admin and got rejected because you do stuff like this
     
  27. Really now? Am i a want to be admin I really like how you waste your time with life still talking to me, i solved the solution and thats it, you don't need to be throwing words at me and saying that stuff if i already finished the conversation.
     
  28. Offline

    RulingKyle1496

    GravedigginSearchBar>Ignore
     
  29. Funny
     
  30. Offline

    RulingKyle1496

    oh and btw
    you have bumped all my submissions lot SUPERFAIL
     

Share This Page