TimedPermissions

Moved

Total Downloads: 2,967 - First Release: May 20, 2016 - Last Update: Apr 7, 2017

5/5, 22 likes
  1. Wulf

    Wulf Community Admin

    So you just mean that you don't want any verification, just assume the ID is right?
     
  2. precisely :) because they are always right, in my case, and its counter-productive to assume otherwise
     
  3. Is there anyway I can Setup a Timed Permission group ect:?/ I want to have a starter group with a timed permission set on them so they cant be killed or be raided. I know being killed or raided are 2 different plugins i already have. I just wanna make a timed group that it auto gives perms to for a set time ?
     
  4. Please add seconds support!
     
  5. Installed plugin, no errors nor warnings.
    Can someone eye-ball what I am doing please (which is failing):

    o.grant group Admin timedpermissions.use
    o.grant group default timedpermissions.use
    o.revoke user kokonut cool.vip
    CONSOLE reply: Player 'Kokonut' does not have permission 'cool.vip'
    grantperm Kokonut cool.vip 10m
    CONSOLE reply: [nothing]
    o.revoke user kokonut cool.vip
    CONSOLE reply: Player 'Kokonut' does not have permission 'cool.vip'

    This says to me that Kokonut is not granted permission using the command 'grantperm'
    Have I missed something?
     
  6. Wulf

    Wulf Community Admin

    Where is "cool.vip" coming from and what is providing the "grantperm" command?
     
  7. I just made up 'cool.vip' as a generic permission name. I'm using 'gyrocopter.build'

    I'm also just typing the grantperm line into RCON CONSOLE.

    I am hoping to add this into the GUIShop, as a purchase for a permission (to build the Gyro), but have it removed after 60m


    DON'T I FEEL SILLY, am I meant to type the command into config/GUIShop.json file

    Replace "cmd": ["o.grant $player.id gyrocopter.build"],
    With "cmd": ["grantperm $player.id permissions.use 65m","grantperm $player.id gyrocopter.build 60m"],
     
    Last edited by a moderator: Mar 15, 2018
  8. Wulf

    Wulf Community Admin

    There is no "grantperm" command provided by Oxide. Perhaps you mean o.grant or oxide.grant? There's a tutorial here if you're unfamiliar with the Oxide permission system: Using Permissions.
     
  9. Oh ok, I've taken the "grantperm" instructions from the Overview page for this plugin.
     
  10. Wulf

    Wulf Community Admin

    Ahh, right. That would be correct for this plugin. Keep in mind that not all RCON clients may receive a reply.
     
  11. The correct permission for this plugin is timedpermissions.use it is on the overview if you want to double check
     
  12. Thanks Wulf and Resistance.
    So I have, within the GUIShop config file:

    Replaced "cmd": ["o.grant $player.id gyrocopter.build"],
    With "cmd": ["grantperm $player.id timedpermissions.use 65m","grantperm $player.id gyrocopter.build 60m"],

    Crossing fingers this should work. A positive sign in that the Data>TimedPermissions.json file is populating with what appears to be data.

    Thanks again.
     
  13. You should not be granting your users the 'timedpermissions.use' permission, as that is the admin permission for granting and revoking.
    Just the following should work fine:
    Code:
    "cmd": ["grantperm $player.id gyrocopter.build 60m"],
     
  14. Thank you for that, very much appreciated.
     
  15. having some issues with this mod. trying to use /pinfo to see what a player has but when i run it says it cant find the player. does the player have to be connected? i see the info in the data file but running the command to see it just cant find the player. having same issue trying to add people to groups with the addgroup <player|steamid> <group> <time>. with both console and chat command.
     
  16. When trying to target an offline player, you have to use their steamID.
    The name can only be used when the player is connected.
     
  17. having same issue with steam id
     
  18. I'll check that.
     
  19. ty much for quick response
     
  20. Has the player connected before? If not, that is likely the issue.