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
what about //stack, //move, //expand, //set tnt etc etc etc all these commands would/could cause damage outside of the region.
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.
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
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?
The would only be able to use //pos1 //pos2 //replace //set //outline //walls //green //regen and maybe a couple more
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.
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.
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.
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... player selects a region with pos1 and pos2 player sends the command //set 0 the plugin puts the command on hold while it does some checks 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."
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.
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
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..
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
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.