1. Pleskac

    Pleskac Scavenger

    Hi I wanted to ask how to use oxide permissions and other oxide commands in 7days?

    I noticed the game doesnt have RCON at all and oxide.reload etc. dont work in console actually I think there is no hook acording to Docs.

    Using Oxide's permission system | Oxide

    How to use something like usergroup or grant command? Do I have to make my chat comands starting with "/" like in Timed Permissions | Oxide and instead of RCON use webrequests will it work like that?! Thanks
     
  2. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Oxide doesn't have any commands for 7 Days to Die yet.
     
  3. Pleskac

    Pleskac Scavenger

    Okay.. but the oxide permissions library can be used by plugins or not yet? I mean if I can do my chat command /usergroup add USERID GROUPNAME that will call
    Code (Text):
            [LibraryFunction("AddUserGroup")]
            public void AddUserGroup(string id, string groupname)
            {
                if (!this.GroupExists(groupname))
                {
                    return;
                }
                if (!this.GetUserData(id).Groups.Add(groupname.ToLower()))
                {
                    return;
                }
                this.SaveUsers();
            }
     
  4. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Yes, you can use the libraries and API in plugins anytime.
     
  5. Pleskac

    Pleskac Scavenger

    ok thanks thats good :)