I thought since worldguard is open source and there are some good coders around here, I would ask. "/region addmember <region> <player>" or "/region removemember <region> <player>" doesn't work properly from the console and I was wondering if someone can make it work from the console. Thanks for any response.
hm.... why do u need it from console? join the game and do it, not to be mean but are you that LASY i mean come on!
Buycraft, for a VIP Lounge. Cause I need to add members to the region of the VIP Lounge so they can enter it, and buycraft runs commands from the console, and that command doesn't work from the console.
wow did not now that, hm.... IDK you'll need a coder and i can do "rg addmember" im my console EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Yea, it will act like it knows the command. But once you complete the command, it will say "A player is expected" and it doesn't even add them to the region.
Same thing if they are online or not. I've tested it already in a lot of ways and I know it doesn't work. Maybe a coder can add it to the source.
when you do the command (rg addmember Region1110100110 User9428374) in console what duse it do? like will it see the command and do nothing or will WorldGuard give you a reply...
Worldguard will give you the reply "A player is expected" (it will only give this reply if you try from the console) But "A player is expected" really means nothing, literally. Nothing happens
The reason for it wanting you to be in game is because some of the worldedit / worldguard commands such as //copy require a players position. it seems the WG team have decided that its much easyer to jus require all commands from in game and deny console as console will never have an X,Y,Z location. The whole issue could be solved with a location command that overrides where you are standing in game and also allows the console to run commands if a location has been set. No doubt that would have issues when you start treating console as a player tho. I for the same reason can not run worldedit commands with commandblocks altho why he cant make it use the commandblocks location i dont know but im guessing world edit cant tell if it was typed in console or from a commandblock so the issue is still there. better commandblock API
I think i can do this for you Let me get back to you in a few hours, i have some homework to finish up but after that ill see what i can do
I guess that made a little sense lol. But why would you need position to add a member? I'll be waiting, thanks a lot
some other ways you can get around this Use "Fake Players" plugin to add a constant Adminy looking player to the server and then you can "/sudo player cmd cmd cmd"
are you saying you tried this. it worked. but you just didn't like it? You could probably do the same sort of workaround with Citizens 2 then ?
I know what you mean there it's pretty liarish. but Just 1 player? name him something like "Admin Bot" and noone will complain that you're trying to trick them It just seems such a trivial problem to make a whole new plugin over Additionally Citizens 2 will avoid this fake extra player problem but i'm not 100% if it will achieve your end. Give it a try mate.
All right thanks for the info, I will try Citizens for sure tomorrow since it's getting late here. And I dont think you would have to redo the plugin, maybe just add some code in where it needs to be added.
You're right i really kinda lost track of the fact that you merely want an addition to WG You should try messaging the Devs who are making the "WorldGuard Custom Flags" plugin(s) they might be able to help you too
@ponitfit I was thinking, making a plugin that has console support. Then get buycraft to run that command eg (plugin regionadd <region> <player>) and when the plugin receives from buycraft get the player in game to run the worldguard command.