Upgrade for Worldguard

Discussion in 'Archived: Plugin Requests' started by pointfit, Dec 6, 2012.

  1. Offline

    pointfit

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

    youngbawss22

    Why not just submit a ticket...
     
  3. Offline

    pointfit

  4. Offline

    fredghostkyle1

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

    pointfit

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

    fredghostkyle1

    wow did not now that, hm.... IDK you'll need a coder :p

    and i can do "rg addmember" im my console :D

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

    pointfit

    Yup, lets hope I can find one that can help me
     
  8. Offline

    fredghostkyle1

    did u look up?
     
  9. Offline

    pointfit

    What does the console give you once you input it?

    It was a late post...
     
  10. Offline

    fredghostkyle1

    "Too few arguments....
    /region addmember <Id> <members...>"

    or something
     
  11. Offline

    pointfit

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

    fredghostkyle1

    i think they have to be online to do that... or maby they way they riged the command.....
     
  13. Offline

    pointfit

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

    fredghostkyle1

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

    pointfit

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

    fredghostkyle1

    it means you need to be ingame like i said... i don't think theres a way around it.... srry.
     
  17. Offline

    pointfit

    Yea I already knew.
    I'm sure a coder can add it to work from the console though.
     
  18. Offline

    RustyDagger

    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 :(
     
  19. Offline

    M1kep

    I think i can do this for you :D
    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 :D
     
  20. Offline

    pointfit

    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 :)
     
  21. Offline

    Kiakaha

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

    pointfit

    Didn't like that plugin, thanks though.
     
  23. Offline

    Kiakaha

    are you saying
    1. you tried this.
    2. it worked.
    3. but you just didn't like it?
    You could probably do the same sort of workaround with Citizens 2 then ?
     
  24. Offline

    pointfit

    I didn't like it cause it shows people are online when really they aren't which is VERY misleading.
     
  25. Offline

    Kiakaha

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

    pointfit

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

    Kiakaha

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

    Drew1080

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

    pointfit

    All right i'll try that to, thanks.

    If it gets the job done then I would be down for it :)
     
  30. Offline

    pointfit

    Bump still looking.
     

Share This Page