SkinBox

SkinBox 2.2.4

  • Added by request a limiter for approved skins to be loaded in.
    approvedSkinsLimit > by default "-1" (means limiter is inactive)
    Setting it to 1 (and above) does limit the load in of approved skins
  • added back the console function "skinbox.open" to let manual keybinds work ( @Viper )
  • added some more access checking options
    > accessOverrideAuthLevel (to open the box)
    > cooldownOverrideAuthLevel ( for the cooldown override)
    These are meant to have either "IsAmin" flag or the needed defined authLevel ( @Krazy_ )
  • Added new command to add complete steam skin collections.
    This needs to work a defined Steam-Api-Key in your SkinBox config (known from plugins like SteamChecks)

    => skinbox.addcollection
    => Example: skinbox.addcollection 659627304
Example Result:
Screenshot_32.png
  • Patchfix
  • Like
Reactions: Razera
  • Fixed costExcludeAdmins to work correct on all checks
  • Added a config option by list to provide fast and easy missing item/workshopnames needed to use the skinbox.addskin command
  • The left side is always the game-item-shortname, the right side is the WorkShop-name of those items.
Current default example:
Code:
  "AvailableSkins": {
    "MissingSkinNames": {
      "bandana": "Bandana",
      "chair": "Chair",
      "rug": "Rug",
      "rug.bear": "Bearskin Rug",
      "table": "Table"
    },
  • Like
Reactions: Loonie2013
  • Client preloading did only work for items except
    the category attire (wearables)
    This patch does solve this
  • This can increase also the login times a lot more
    This way you can decide to disable the preload of attire by
    setting forceAlsoWearables to false
  • Patchfix for NRE
  • Like
Reactions: Dmitry
Added 2 new things:
  • Added a distance limiter to prevent two people to near to each other from using the SkinBox at same time.
    The default of "boxUseDistance" is 10.0
    This shall prevent item loss of force-closed SkinBoxes
  • Added support for ServerRewards AND Economics to let players pay for SkinBox usage :cool:
Code:
  "UsageCost": {
    "costBoxOpen": 5,  // Cost to access the box, 0 disables that check
    "costDeployable": 10,  // Cost to change deyployables, 0 disables cost
    "costPlayerwearable": 20,  // Cost to change attire, 0 disables cost
    "costWeapon": 30,  // Cost to change weapons/tools, 0 disables cost
    "enableUsageCost": false, // true enable's the whole function
    "useEconomics": false, // to use Economics
    "useServerRewards": true // to use ServerRewards
  }
It can only use one system at once. If both are installed and enabled in the config, then it will use ServerRewards.