MagazinBooster

Can change magazines, ammo and condition for most projectile weapons

Total Downloads: 2,894 - First Release: Jun 10, 2016 - Last Update: Apr 19, 2018

5/5, 14 likes
  1. I know this has it's own forum, but I wanted to ask a broader audience as there hasn't been any activity there in a month. Does anyone have any issues with this plugin right now? The server global settings work, but not the permission based stuff - not sure if it's conflicting with something else or what?
     
  2. That's very helpful - I clearly stated why I didn't do that.
     
  3. Wulf

    Wulf Community Admin

    Plugins have their own thread for this very reason. ;)
     
  4. And the audience is more limited.
     
  5. Wulf

    Wulf Community Admin

    Plugin support is always merged with its support thread, otherwise we'd have people asking everywhere with that logic and we'd end up with 1000 threads for a single plugin. The users of this thread along with its author are more familiar with it than any other general user would be.
     
  6. Does anyone use this successfully right now?
     
  7. Fixed my issue - this plugin Instant Craft for Rust | Oxide - prevents magazine booster from working. I reverted back to crafting controller and everything works as intended now.
     
  8. So i increased the max ammo for every gun but for some reason it aint working any ideas?
     
  9. Please append your config, then i can maybe tell you whats wrong or maybe a plugin issue.
     
  10. {
    "CheckRights": {
    "checkForRightsInBelt": false,
    "removeSkinIfNoRights": false
    },
    "Permissions": {
    "permissionAll": "magazinboost.canall",
    "permissionAmmoType": "magazinboost.canammotype",
    "permissionMaxAmmo": "magazinboost.canmaxammo",
    "permissionMaxCondition": "magazinboost.canmaxcondition",
    "permissionPreLoad": "magazinboost.canpreload"
    },
    "Weapons": {
    "Data": {
    "bow.hunting": {
    "ammotype": "arrow.wooden",
    "displayname": "Hunting Bow",
    "giveammotype": "arrow.wooden",
    "givemaxammo": 1,
    "givemaxcondition": 50.0,
    "givepreload": 0,
    "giveskinid": 0,
    "maxammo": 1,
    "maxcondition": 500.0,
    "preload": 0,
    "serveractive": false,
    "serverammotype": "arrow.wooden",
    "servermaxammo": 1,
    "servermaxcondition": 500.0,
    "serverpreload": 0,
    "settingactive": true,
    "skinid": 0
    },
    "crossbow": {
    "ammotype": "arrow.wooden",
    "displayname": "Crossbow",
    "giveammotype": "arrow.wooden",
    "givemaxammo": 1,
    "givemaxcondition": 1000.0,
    "givepreload": 0,
    "giveskinid": 0,
    "maxammo": 1,
    "maxcondition": 100.0,
    "preload": 0,
    "serveractive": false,
    "serverammotype": "arrow.wooden",
    "servermaxammo": 1,
    "servermaxcondition": 100.0,
    "serverpreload": 0,
    "settingactive": true,
    "skinid": 0
    },
    "lmg.m249": {
    "ammotype": "ammo.rifle",
    "displayname": "M249",
    "giveammotype": "ammo.rifle",
    "givemaxammo": 1000,
    "givemaxcondition": 500.0,
    "givepreload": 1000,
    "giveskinid": 0,
    "maxammo": 1000,
    "maxcondition": 5000.0,
    "preload": 1000,
    "serveractive": false,
    "serverammotype": "ammo.rifle",
    "servermaxammo": 1000,
    "servermaxcondition": 5000.0,
    "serverpreload": 1000,
    "settingactive": true,
    "skinid": 0
    },
    "pistol.eoka": {
    "ammotype": "ammo.handmade.shell",
    "displayname": "Eoka Pistol",
    "giveammotype": "ammo.handmade.shell",
    "givemaxammo": 1,
    "givemaxcondition": 50.0,
    "givepreload": 1,
    "giveskinid": 0,
    "maxammo": 1,
    "maxcondition": 500.0,
    "preload": 1,
    "serveractive": false,
    "serverammotype": "ammo.handmade.shell",
    "servermaxammo": 1,
    "servermaxcondition": 500.0,
    "serverpreload": 1,
    "settingactive": true,
    "skinid": 0
    },
    "pistol.m92": {
    "ammotype": "ammo.pistol",
    "displayname": "M92 Pistol",
    "giveammotype": "ammo.pistol",
    "givemaxammo": 25,
    "givemaxcondition": 1000.0,
    "givepreload": 25,
    "giveskinid": 0,
    "maxammo": 25,
    "maxcondition": 100.0,
    "preload": 25,
    "serveractive": false,
    "serverammotype": "ammo.pistol",
    "servermaxammo": 25,
    "servermaxcondition": 1000.0,
    "serverpreload": 25,
    "settingactive": true,
    "skinid": 0
    },
    "pistol.python": {
    "ammotype": "ammo.pistol",
    "displayname": "Python Revolver",
    "giveammotype": "ammo.pistol",
    "givemaxammo": 12,
    "givemaxcondition": 1000.0,
    "givepreload": 12,
    "giveskinid": 0,
    "maxammo": 12,
    "maxcondition": 1000.0,
    "preload": 12,
    "serveractive": false,
    "serverammotype": "ammo.pistol",
    "servermaxammo": 12,
    "servermaxcondition": 1000.0,
    "serverpreload": 12,
    "settingactive": true,
    "skinid": 0
    },
    "pistol.revolver": {
    "ammotype": "ammo.pistol",
    "displayname": "Revolver",
    "giveammotype": "ammo.pistol",
    "givemaxammo": 25,
    "givemaxcondition": 100.0,
    "givepreload": 25,
    "giveskinid": 0,
    "maxammo": 25,
    "maxcondition": 1000.0,
    "preload": 25,
    "serveractive": false,
    "serverammotype": "ammo.pistol",
    "servermaxammo": 25,
    "servermaxcondition": 1000.0,
    "serverpreload": 25,
    "settingactive": true,
    "skinid": 0
    },
    "pistol.semiauto": {
    "ammotype": "ammo.pistol",
    "displayname": "Semi-Automatic Pistol",
    "giveammotype": "ammo.pistol",
    "givemaxammo": 50,
    "givemaxcondition": 1000.0,
    "givepreload": 50,
    "giveskinid": 0,
    "maxammo": 50,
    "maxcondition": 1000.0,
    "preload": 50,
    "serveractive": false,
    "serverammotype": "ammo.pistol",
    "servermaxammo": 50,
    "servermaxcondition": 1000.0,
    "serverpreload": 50,
    "settingactive": true,
    "skinid": 0
    },
    "rifle.ak": {
    "ammotype": "ammo.rifle",
    "displayname": "Assault Rifle",
    "giveammotype": "ammo.rifle",
    "givemaxammo": 100,
    "givemaxcondition": 2000.0,
    "givepreload": 100,
    "giveskinid": 0,
    "maxammo": 100,
    "maxcondition": 2000.0,
    "preload": 100,
    "serveractive": false,
    "serverammotype": "ammo.rifle",
    "servermaxammo": 100,
    "servermaxcondition": 2000.0,
    "serverpreload": 100,
    "settingactive": true,
    "skinid": 0
    },
    "rifle.bolt": {
    "ammotype": "ammo.rifle",
    "displayname": "Bolt Action Rifle",
    "giveammotype": "ammo.rifle",
    "givemaxammo": 12,
    "givemaxcondition": 1000.0,
    "givepreload": 12,
    "giveskinid": 0,
    "maxammo": 12,
    "maxcondition": 1000.0,
    "preload": 12,
    "serveractive": false,
    "serverammotype": "ammo.rifle",
    "servermaxammo": 12,
    "servermaxcondition": 1000.0,
    "serverpreload": 12,
    "settingactive": true,
    "skinid": 0
    },
    "rifle.lr300": {
    "ammotype": "ammo.rifle",
    "displayname": "LR-300 Assault Rifle",
    "giveammotype": "ammo.rifle",
    "givemaxammo": 150,
    "givemaxcondition": 1000.0,
    "givepreload": 150,
    "giveskinid": 0,
    "maxammo": 150,
    "maxcondition": 1000.0,
    "preload": 150,
    "serveractive": false,
    "serverammotype": "ammo.rifle",
    "servermaxammo": 150,
    "servermaxcondition": 1000.0,
    "serverpreload": 150,
    "settingactive": true,
    "skinid": 0
    },
    "rifle.semiauto": {
    "ammotype": "ammo.rifle",
    "displayname": "Semi-Automatic Rifle",
    "giveammotype": "ammo.rifle",
    "givemaxammo": 30,
    "givemaxcondition": 1000.0,
    "givepreload": 6,
    "giveskinid": 0,
    "maxammo": 30,
    "maxcondition": 1000.0,
    "preload": 30,
    "serveractive": false,
    "serverammotype": "ammo.rifle",
    "servermaxammo": 30,
    "servermaxcondition": 1000.0,
    "serverpreload": 30,
    "settingactive": true,
    "skinid": 0
    },
    "rocket.launcher": {
    "ammotype": "ammo.rocket.basic",
    "displayname": "Rocket Launcher",
    "giveammotype": "ammo.rocket.basic",
    "givemaxammo": 1,
    "givemaxcondition": 1000.0,
    "givepreload": 1,
    "giveskinid": 0,
    "maxammo": 1,
    "maxcondition": 1000.0,
    "preload": 1,
    "serveractive": false,
    "serverammotype": "ammo.rocket.basic",
    "servermaxammo": 1,
    "servermaxcondition": 1000.0,
    "serverpreload": 1,
    "settingactive": true,
    "skinid": 0
    },
    "shotgun.double": {
    "ammotype": "ammo.handmade.shell",
    "displayname": "Double Barrel Shotgun",
    "giveammotype": "ammo.handmade.shell",
    "givemaxammo": 4,
    "givemaxcondition": 1000.0,
    "givepreload": 4,
    "giveskinid": 0,
    "maxammo": 4,
    "maxcondition": 1000.0,
    "preload": 4,
    "serveractive": false,
    "serverammotype": "ammo.handmade.shell",
    "servermaxammo": 4,
    "servermaxcondition": 1000.0,
    "serverpreload": 4,
    "settingactive": true,
    "skinid": 0
    },
    "shotgun.pump": {
    "ammotype": "ammo.shotgun",
    "displayname": "Pump Shotgun",
    "giveammotype": "ammo.shotgun",
    "givemaxammo": 15,
    "givemaxcondition": 1000.0,
    "givepreload": 15,
    "giveskinid": 0,
    "maxammo": 15,
    "maxcondition": 1000.0,
    "preload": 15,
    "serveractive": false,
    "serverammotype": "ammo.shotgun",
    "servermaxammo": 15,
    "servermaxcondition": 1000.0,
    "serverpreload": 15,
    "settingactive": true,
    "skinid": 0
    },
    "shotgun.waterpipe": {
    "ammotype": "ammo.handmade.shell",
    "displayname": "Waterpipe Shotgun",
    "giveammotype": "ammo.handmade.shell",
    "givemaxammo": 1,
    "givemaxcondition": 1000.0,
    "givepreload": 1,
    "giveskinid": 0,
    "maxammo": 1,
    "maxcondition": 1000.0,
    "preload": 1,
    "serveractive": false,
    "serverammotype": "ammo.handmade.shell",
    "servermaxammo": 1,
    "servermaxcondition": 1000.0,
    "serverpreload": 1,
    "settingactive": true,
    "skinid": 0
    },
    "smg.2": {
    "ammotype": "ammo.pistol",
    "displayname": "Custom SMG",
    "giveammotype": "ammo.pistol",
    "givemaxammo": 50,
    "givemaxcondition": 1000.0,
    "givepreload": 50,
    "giveskinid": 0,
    "maxammo": 50,
    "maxcondition": 1000.0,
    "preload": 50,
    "serveractive": false,
    "serverammotype": "ammo.pistol",
    "servermaxammo": 50,
    "servermaxcondition": 1000.0,
    "serverpreload": 50,
    "settingactive": true,
    "skinid": 0
    },
    "smg.mp5": {
    "ammotype": "ammo.pistol",
    "displayname": "MP5A4",
    "giveammotype": "ammo.pistol",
    "givemaxammo": 70,
    "givemaxcondition": 1000.0,
    "givepreload": 70,
    "giveskinid": 0,
    "maxammo": 70,
    "maxcondition": 1000.0,
    "preload": 70,
    "serveractive": false,
    "serverammotype": "ammo.pistol",
    "servermaxammo": 70,
    "servermaxcondition": 1000.0,
    "serverpreload": 70,
    "settingactive": true,
    "skinid": 0
    },
    "smg.thompson": {
    "ammotype": "ammo.pistol",
    "displayname": "Thompson",
    "giveammotype": "ammo.pistol",
    "givemaxammo": 60,
    "givemaxcondition": 1000.0,
    "givepreload": 60,
    "giveskinid": 0,
    "maxammo": 60,
    "maxcondition": 1000.0,
    "preload": 60,
    "serveractive": false,
    "serverammotype": "ammo.pistol",
    "servermaxammo": 60,
    "servermaxcondition": 1000.0,
    "serverpreload": 60,
    "settingactive": true,
    "skinid": 0
    }
    }
    }
    }
     
  11. :D ignor me i have no ammo hahaha silly me
     
  12. So I increased the max magazine capacity for all guns but they're still default. Any ideas?

    EDIT: Didn't know you had to craft it
    [DOUBLEPOST=1503246775][/DOUBLEPOST]So I crafted it but the max ammo never changed and I disabled using permissions

    Even with permissions granted still doesn't work
     
    Last edited by a moderator: Aug 20, 2017
  13. did you fully enabled it in the config? here is a example of one of my guns also make sure you have enabled it for people to use wiht.

    in your post before you have it disabled "serveractive": false, you need it to say "serveractive": true,

    grant group default magazinboost.canmaxammo

    Code:
     "rifle.bolt": {
            "ammotype": "ammo.rifle",
            "displayname": "Bolt Action Rifle",
            "giveammotype": "ammo.rifle",
            "givemaxammo": 12,
            "givemaxcondition": 100.0,
            "givepreload": 6,
            "giveskinid": 0,
            "maxammo": 12,
            "maxcondition": 100.0,
            "preload": 6,
            "serveractive": true,
            "serverammotype": "ammo.rifle",
            "servermaxammo": 12,
            "servermaxcondition": 100.0,
            "serverpreload": 6,
            "settingactive": true,
            "skinid": 0
          },
     
  14. @ Fujikura is there anyway to add in flamethrowers so when people buy them or craft them it dose not give lgf ?
     
  15. This plugin can only handle projectile weapons :)
     
  16. Thanks for the plugin, Fujikura.

    I'm having trouble with a config on the ak. It won't reload to 100 and stays normal. Do you have a clue what it could be? Thanks


    "rifle.ak": {
    "ammotype": "ammo.rifle",
    "displayname": "Assault Rifle",
    "giveammotype": "ammo.rifle",
    "givemaxammo": 100,
    "givemaxcondition": 150.0,
    "givepreload": 4,
    "giveskinid": 0,
    "maxammo": 100,
    "maxcondition": 150.0,
    "preload": 4,
    "serveractive": yes,
    "serverammotype": "ammo.rifle",
    "servermaxammo": 100,
    "servermaxcondition": 150.0,
    "serverpreload": 4,
    "settingactive": true,
    "skinid": 0
     
  17. Good evening,

    I've been trying for several days, it's not working. I am an administrator of my server but nothing does. Still, I have a several pluning that works, but not the one there. Could you help me please?
    I would like to .json its functional file with all the ammunition with the exception of the rocket launcher and c4.
     

    Attached Files:

  18. the reason its not working is you have not enabled it there all disabled in the config :)
    [DOUBLEPOST=1506427568][/DOUBLEPOST]
    Code:
    "rifle.ak": {
            "ammotype": "ammo.rifle",
            "displayname": "Assault Rifle",
            "giveammotype": "ammo.rifle",
            "givemaxammo": 100,
            "givemaxcondition": 150.0,
            "givepreload": 10,
            "giveskinid": 0,
            "maxammo": 100,
            "maxcondition": 150.0,
            "preload": 10,
            "serveractive": true,
            "serverammotype": "ammo.rifle",
            "servermaxammo": 6=100,
            "servermaxcondition": 150.0,
            "serverpreload": 10,
            "settingactive": true,
            "skinid": 0
          },
    here is the ak this will work then you need to craft the new ak and it will give you the diffrent clip size
     
    Last edited by a moderator: Sep 26, 2017
  19. Hi,
    Thank you for your reply.
    But it still does not work .. He tells me Permission 'magazinboost.canmaxammo' does not exist.

    Yet I use the commands to activate it "grant group default magazinboost.canboost"and "grant group default magazinboost.canmaxammo"

    I put my file in the message, can I look at it please and tell me how to do :) it would be cool
     

    Attached Files:

  20. This plugin does not seem to work anymore :(