InfiniteAmmo

Moved

Total Downloads: 4,448 - First Release: May 30, 2015 - Last Update: Jul 19, 2015

4.38889/5, 18 likes
  1. Wulf

    Wulf Community Admin

    Does the file show the permissions you granted? If not, they were never granted.
     
  2. I suggest something: When a player tries to grant a permission which didnt get registered (permission.RegisterPermission) it should say "Permission does not exist" instead of "Permission granted"
     
  3. Wulf

    Wulf Community Admin

    Yeah, Mughisi and I were just discussing that. ;)
     
  4. yeah that would propably help debugging for example so you may see that there is a problem at registering the perm or when checking for it
     
  5. Can you make it so Torches have "infinite ammo"?
     
  6. I checked and in cfg I have permission.
    Code:
    {
      "Players": [
        {
          "UserId": "7****************",
         "Name": "Crimson"
        }
      ]
    }
     
    Last edited by a moderator: Jun 10, 2015
  7. Wulf

    Wulf Community Admin

    What file is that from? That isn't the format of the oxide.users.json file.
     
  8. oxide/data/InfiniteAmmo.json. but now that I know I need to look into the users >_<...
     
  9. Wulf

    Wulf Community Admin

    oxide/data/oxide.users.json if you granted the permission to a single user, oxide/data/oxide.groups.json if you granted it to a group.
     
  10. },
    "Crimson": {
    "LastSeenNickname": "Crimson",
    "Perms": [
    "infinite.ammo"
    ],

    cut out from users.json
     
  11. Wulf

    Wulf Community Admin

    That one isn't used, that's a bugged entry, check for your Steam ID there instead.
     
  12. Slowly learning to do this right... I just don't want to come across a total nuisance
    Code:
    {
      "7**************": {
        "LastSeenNickname": "Crimson",
        "Perms": [
          "canusegodmode"
        ],
        "Groups": [
          "admin"
        ]
      },
      "Crimson": {
        "LastSeenNickname": "Crimson",
        "Perms": [
          "infinite.ammo"
        ],
        "Groups": []
      },
      "7*****************": {
        "LastSeenNickname": "MoonLyre",
        "Perms": [],
        "Groups": [
          "moderator"
        ]
      }
    }
     
  13. Wulf

    Wulf Community Admin

    No worries, did you use the commands listed on the Overview page? Your Steam ID doesn't have the permission, so that's why it's not working for you.
     
  14. F1 oxide.grant user "me" "infinite.ammo" user permission granted
    Then chat command /toggleammo
    response you are not allowed to use this command.

    But wait even though it said that and everything looks the way it does the plugin now works???????????
     
  15. Wulf

    Wulf Community Admin

    What does your oxide.users.json have for your steamid now?
     
  16. the full number. instead of having symbols in it
     
  17. Wulf

    Wulf Community Admin

    It should haven ever had symbols in it. Could you show me the full file please?
     
  18. Code:
    {
      "76561198084210038": {
        "LastSeenNickname": "Crimson",
        "Perms": [
          "canusegodmode"
        ],
        "Groups": [
          "admin"
        ]
      },
      "Crimson": {
        "LastSeenNickname": "Crimson",
        "Perms": [
          "infinite.ammo"
        ],
        "Groups": []
      },
      "76561198078895331": {
        "LastSeenNickname": "MoonLyre",
        "Perms": [],
        "Groups": [
          "moderator"
        ]
      }
    }
     
  19. Wulf

    Wulf Community Admin

    If your username is Crimson, you still don't have permission. You'd use "oxide.grant user Crimson infinite.ammo" in your server console or RCON. The command "oxide.grant user 76561198084210038 infinite.ammo" should work as well.
     
  20. I'll give it a try

    oxide.grant user Crimson infinite.ammo finally got the confirmation
    [DOUBLEPOST=1433962331][/DOUBLEPOST]people won't hack my steam account will they?