Timed Permissions

Allows you to grant permissions or groups for a specific time

Total Downloads: 1,786 - First Release: May 20, 2016 - Last Update: Apr 7, 2017

5/5, 21 likes
  1. LaserHydra
    Configuration File:
    No
    Timed Permissions allows you to grant permissions or groups for a specific time.

    The <time> argument should tell for how long the player should have the permission. Ex: /grantperm LaserHydra timedpermissions.use 30d gives LaserHydra the permission 'timedpermissions.use' for 30 days.
    • d = days
    • h = hours
    • m = minutes
    Chat Commands (permission: timedpermissions.use):
    • /revokeperm <player|steamid> <permission> revoke a timed permission from a player
    • /grantperm <player|steamid> <permission> <time> give a player a permission for a specific time
    • /removegroup <player|steamid> <group> remove a timed group from a player
    • /addgroup <player|steamid> <group> <time> add a player to a group for a specific time
    • /pinfo <player|steamid> shows active timed permissions and groups of a player
    Console Commands (permission: timedpermissions.use):
    • revokeperm <player|steamid> <permission> revoke a timed permission from a player
    • grantperm <player|steamid> <permission> <time> give a player a permission for a specific time
    • removegroup <player|steamid> <group> remove a timed group from a player
    • addgroup <player|steamid> <group> <time> add a player to a group for a specific time
    • pinfo <player|steamid> shows active timed permissions and groups of a player
    Permissions:
    • timedpermissions.use
    Language file:
    Code (Javascript):
    {
      "No Permission": "You don't have permission to use this command.",
      "Invalid Time Format": "Invalid Time Format: Ex: 1d12h30m | d = days, h = hours, m = minutes",
      "Player Has No Info": "There is no info about this player.",
      "Player Info": "Info about <color=#C4FF00>{player}</color>:
    <color=#C4FF00>Groups</color>: {groups}
    <color=#C4FF00>Permissions</color>: {permissions}"
    ,
    }