TurretConfig

Moved

Total Downloads: 4,362 - First Release: Nov 3, 2015 - Last Update: May 13, 2017

5/5, 24 likes
  1. So tell me if I got this wrong. If I give myself or the admins permission to turretconfig, does that mean only the turrets that ADMINS place will have the configuration/mod applied to them? Which would mean, players who are not on the permission list, if they setup a turret, it will be the regular old default Rust turret?

    Is there a way to set it up so that Admins who setup turrets have the mod applied, while non-admins who setup turrets get default turret?
     
  2. Calytic

    Calytic Community Admin Community Mod

    Infinite ammo is implemented using a combination of turret ownership and oxide permissions. So yes, what you said is correct.
     
  3. there is a permission for infinite ammo but can u make a permission for all the features? i want only some turrets to have these settings...
     
  4. Calytic

    Calytic Community Admin Community Mod

    Try this, tell me if it works for you. You'll have to delete your current config and regenerate.

    Almost every configuration option now has default and permissions. You can specify which settings you want for every permission, assign the permissions to groups, and have a pay 2 win heaven.
     

    Attached Files:

  5. tyvm im going to try this now... but one more issue...
    the infinite ammo doesnt work, and it sometimes kills bears and other times ignores them, and always kills stags even tho its told to ignore them.... ? can this be fixed?
    [DOUBLEPOST=1473240720][/DOUBLEPOST]
    i dont really see where there is permissions for all features? i want to make like vip turrets stronger and the bullets better but not regular players. is that possible?
     
  6. Calytic

    Calytic Community Admin Community Mod

    I cannot duplicate either of these reports, both infinite ammo and the animal whitelist are working.

    How To: Report Bugs | Oxide
    [DOUBLEPOST=1473241273][/DOUBLEPOST]
    Yes that is the idea. There is an example permission included in the regenerated configuration file called "turretconfig.default"

    Just change the values there, you can even add multiple ranks - then "grant group vip turretconfig.default"

    Now players will have regular turrets and vip group will have your special turrets.
     
  7. huh?
    we been at it for 2 hrs... no matter what we do it only kills some bears, hurts others and dont touch most of them. and even tho its not supposed to shoot stag it does every time. i dont understand what is wrong. we spawned in the animals for purpose of testing... if that is the problem then im not sure why it would work on some but not others. and infinite ammo should work and it dont work at all for us.
     
  8. Calytic

    Calytic Community Admin Community Mod

    Calytic updated TurretConfig with a new update entry:

    1.0.0

     
  9. im sorry the new config just confuses me. the first one was very clear but this one im having a little trouble. i appreciate your trying to help.
    for instance... aim cones... is the one at top for VIP or the one at bottom? both say default.
    [DOUBLEPOST=1473241724][/DOUBLEPOST]
     
  10. Calytic

    Calytic Community Admin Community Mod

    Firstly, use the latest version - I fixed an issue.
    So say you want to have a gimped default turret, set defaultHealth to "750"

    Then say you want to have 2 donation ranks, one with the normal turret and one with a stronger turret
    Code:
    "health": {
          "turretconfig.vip1": 1000.0,
          "turretconfig.vip2": 2000.0
    }
    Then "reload TurretConfig" and assign those 2 permissions to your VIP groups
    Code:
    grant group vip1 turretconfig.vip1
    grant group vip2 turretconfig.vip2
    Then turrets.reload
    [DOUBLEPOST=1473242084][/DOUBLEPOST]Also regarding those other issues, you should send me your configuration and give me more information about the groups/permissions you have setup.
     
  11. heres my config. seems to look right. i will try it out tomorrow. and im not sure what to do about the infinite ammo issue or the not killing spawned animals right. i will try it in different situations tomorrow with regular animals... infinite ammo wise there is not anything else i can think of to try.
    let me know if my config is right. thanks for your help i will check back later today.
     

    Attached Files:

  12. Calytic

    Calytic Community Admin Community Mod

    infiniteAmmo config looks good

    Code:
    grant group admin turretconfig.infiniteammo
    turrets.reload
    animal whitelist looks good too - I have same configuration and it works fine for me
     
  13. Weird, the alternate ammo seemed to work, and then not work

    EDIT: Confirmed, changed it to explosive ammo, worked, then didnt work.
     

    Attached Files:

    Last edited by a moderator: Sep 7, 2016
  14. i had that same issue!
    [DOUBLEPOST=1473392680][/DOUBLEPOST]cause for concern?
    (posted this here and on vanish)

    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [Oxide] 22:37 [Warning] Calling hook CanBeTargeted resulted in a conflict between the following plugins: Vanish - False (Boolean), TurretConfig (False (Boolean))
    [DOUBLEPOST=1473392752][/DOUBLEPOST]my turret config still just isnt working. i am going to change to regular ammo again, both in config and turrets, and see if that fixes it since someone else had a similar issue. if not i will delete the plugin until we can figure out the problem. i will update you when i try with reg ammo only.
     
  15. this plugin kept my turrets from working idk why. i tried everything. so im taking it out, and ill readd it when the issues resolved. turrets work as long as i dont have this plugin. sucks tho, its a really good plugin if itd work for me.
     
  16. Calytic

    Calytic Community Admin Community Mod

    Aside from the vanish thing I'm not getting any actionable feedback here. What causes it to "work then not work"?
     
  17. Calytic

    Calytic Community Admin Community Mod

    Calytic updated TurretConfig with a new update entry:

    1.0.1

     
  18. You tell me man, I load the alternate ammo in with the correct config, it may work, it may not, then I'll load it again, it'll work and then not, it's very hard to reproduce, however 2 of us in here have had the same issue so who knows.
     
  19. im sorry we are not more helpful. but when it works, it will shoot off a few bullets, then stop. nothing i do can get it working again. it did that like three times. i think each time i had deleted the plugin and readded it. i just had to remove the plugin, it made my turrets unuseable. but if u figure it out id love to redownload it. ill keep checking back. sorry i was not more help.
    [DOUBLEPOST=1473544632][/DOUBLEPOST]
    oh thats a good update... vanish and my turrets dont get along. they spam the console. i dont have your plugin atm but its good that it fixes that.
     
  20. how to enable the use of several types of ammo? "defaultAmmoType": "ammo.rifle",