QualityArmory Config options and settings

Apr 24, 2020
QualityArmory Config options and settings
  • As of 1.1.167, this is the current version of the config and of the gun's yml files:

    Code (Text):
    #DEBUG VARIABLES - Use if you are experiencing any errors
    enableIgnoreUnbreakingChecks: false
    enableIgnoreSkipForBasegameItems: false
    ENABLE-DEBUG: false
    language: en
    FriendlyFireEnabled: false
    showPossibleCrashHelpMessage: true
    Enable_Creation_Of_Default_Files: true
    unknownTranslationKeyFixer: false
    enable_permssionsToShoot: false


    #Resourcepack settings.

    useDefaultResourcepack: true
    DefaultResourcepackOverride: false
    DefaultResourcepack: https://www.dropbox.com/s/g5rkfdcmlax9w6a/QualityArmoryV2.0.2.zip?dl=1
    KickPlayerIfDeniedResourcepack: false
    sendOnJoin: true
    sendTitleOnJoin: false
    SecondsTillRPIsSent: 0.0
    Auto-Detect-Resourcepack: true
    ManuallyOverrideTo_1_8_systems: false
    ManuallyOverrideTo_1_13_systems: false
    ManuallyOverrideTo_1_14_systems: false

    # How much should QA check for block corners?
    BulletDetection:
      step: 0.1

    #Which blocks should stop bullets?
    BlockBullets:
      door: false
      halfslabs: false
      leaves: false
      water: false
      glass: false
    #Can players click on chests with guns?
    enableInteract:
      Chests: false

    #Bullet Trails
    enableBulletTrails: true
    BulletTrailsSpacing: 0.5

    Items:
      enable_Unbreaking: true
    experimental:
      BulletWounds:
        InitialBloodLevel: 1500.0
        BloodIncreasePerSecond: 0.01
        Medkit_Heal_Bloodloss_Rate: 0.05
        enableBleeding: false

    #Enable if you have problems with the hotbar messages.
    disableHotbarMessages:
      OutOfAmmo: false
      Shoot: false
      Reload: false

    #Some default values determineing gun accuracy when shooting
    generalModifiers:
      sway:
        Run: 2.0
        Walk: 1.5
        Ironsights: 0.8
        Sneak: 0.7

    EnableWeaponDurability: false
    overrideAnvil: false
    verboseItemLogging: false
    enableIgnoreArmorProtection: false
    enableReloadingWhenSwapToOffhand: true
    enableReloadOnlyWhenSwapToOffhand: false
    allowGunHitEntities: false
    showOutOfAmmoOnTitle: false
    showReloadingTitle: false
    enableExplosionDamage: false
    enableExplosionDamageDrop: false
    enablePrimaryWeaponLimiter: false
    weaponlimiter_primaries: 2
    weaponlimiter_secondaries: 2
    enableCrafting: true
    enableShop: true
    AUTO-UPDATE: true
    Swap-Reload-and-Shooting-Controls: false
    Order-Shop-By-Price: false
    enable_lore_gun-info_messages: true
    enable_lore_control-help_messages: true
    Enable_Headshot_Instantkill: false
    Enable_Headshot_Notification_Sound: false
    Headshot_Notification_Sound: entity.experience_orb.pickup
    Enable_Headshot_Sounds: true
    gravityConstantForDropoffCalculations: 0.05
    allowGunReload: true
    EnableGlowEffects: false
    Break-Block-Texture-If-Shot: true
    enableRecoil: true
    automaticallyReloadGunWhenOutOfAmmo: false
    impenetrableEntityTypes:
      - ARROW
    IronSightsOnRightClick: false
    SwapSneakToSingleFile: false
    DestructableMaterials:
      - MATERIAL_NAME_HERE
    Code (Text):
    name: ak47
    displayname: '&6AK47'
    id: 4
    variant: 0
    craftingRequirements:
    - IRON_INGOT,0,15
    - REDSTONE,0,5
    weapontype: RIFLE
    weaponsounds: bulletmedium
    _VALID_WEAPON_TYPES: 'PISTOL, SMG, RPG, RIFLE, SHOTGUN, FLAMER, SNIPER, BIG_GUN, GRENADES,
      SMOKE_GRENADES, FLASHBANGS, INCENDARY_GRENADES, MINES, MELEE, MISC, AMMO, HELMET,
      MEDKIT, LAZER, BACKPACK, PARACHUTE, CUSTOM, '
    enableIronSights: true
    ammotype: '762'
    damage: 3
    maxbullets: 40
    price: 5000
    sway:
      sneakModifier: true
      moveModifier: true
      runModifier: true
      defaultValue: 0.19
      defaultMultiplier: 2
    firerate: 2
    isAutomatic: true
    bullets-per-shot: 1
    recoil: 2.0
    material: CROSSBOW
    invalid: false
    durability: 1000
    setZoomLevel: 0
    delayForReload: 1.5
    delayForShoot: 0.3
    maxBulletDistance: 200
    unlimitedAmmo: false
    LightLeveOnShoot: 14
    particles:
      bullet_particle: REDSTONE
      bullet_particleR: 1
      bullet_particleG: 1
      bullet_particleB: 1
      bullet_particleMaterial: COAL_BLOCK
    Version_18_Support: false
    ChargingHandler: none
    addMuzzleSmoke: true
    drop-glow-color: none
    headshotMultiplier: 3.5
    swayMultiplier: 2
    weaponsounds_volume: 4
    lastModifiedByQA: 1586411267364
     

    Explanation of the important settings (that may not be self explanitory):


    Config.yml:
    • FriendlyFireEnabled: If parties is enabled, this determines if a player can shoot another memeber of the party.
    • Enable_Creation_Of_Default_Files: Determines if QA should create the default weapons.
    • enable_permssionsToShoot: Determines if the player needs the "qualityarmory.use" command to shoot.
    • EnableWeaponDurability: Enables weapon durability for weapons.
    • enableExplosionDamage: Enables whether grenades or rockets can destroy blocks
    • Swap-Reload-and-Shooting-Controls: Swaps The RMB and LMB to match Crackshot weapons.
    • Enable_Headshot_Instantkill: Controls if headshots should instantly kill entities.
    • enableRecoil: Determines whether recoil should be applied to players.


    • useDefaultResourcepack: true
      DefaultResourcepackOverride: false
      DefaultResourcepack: https://www.dropbox.com/s/g5rkfdcmlax9w6a/QualityArmoryV2.0.2.zip?dl=1


      All these determine whether the default resourcepack should be used, and if so, what the url for the resourcepack is. Set DefaultResourcepackOverride to true if you change the url
    • sendOnJoin: Whether the resourcepack should be sent when a player joins.

    • ManuallyOverrideTo_1_8_systems: false
      ManuallyOverrideTo_1_13_systems: false
      ManuallyOverrideTo_1_14_systems: false

      Determines which system QA should use for weapons.

    • BulletDetection:
      step: 0.1

      How much should QA care about corners. Bigger numbers may be better for performance.

    • enableBulletTrails: true
      BulletTrailsSpacing: 0.5

      Determines whether bullet trails should be used, and if so, the spacing between particles.

    Gun YML files:
    • name: Determines the internal name for the weapon
    • displayname: Determines the name that will be displayed on the item.
    • material: The material used for the item.
    • id: Either the item durability or the CustomModelData value used for models.
    • variant: Use this if you want multiple items using the same texture.
    • weapontype: Currently does nothing. Used for sorting what a weapon is.
    • enableIronSights: Determines if aiming should show a different model.
    • ammotype: What ammo should the weapon use.
    • damage: The damage applied to the entity for each shot.
    • maxbullets: Max bullets the gun can hold.
    • isAutomatic: Whether the gun is automatic when sneaking.
    • firerate: The speed of the bullets if the gun is automatic
    • bullets-per-shot: Determines how many bullets should be created for each shot.
    • weaponsounds_volume: The volume of each shot.

    • ChargingHandler:


      Determines what handler should handle shots. Current available types are
      BoltAction
      Revolver
      PumpAction
      BreakAction
      BurstFire
      DelayedBurstFire
      PushBackCharger
      RequireAimCharger
      SingleRPG
      MininukeLauncher
      HomingRPG

    • ReloadingHandler:

      Determines what handler should handle reloads. Current available types are:
      SingleBulletReload
      PumpActionReload
      SlideReload

  • Loading...
  • Loading...