Hook handlers of the attribute registry, registered as Attributes while this file is included, before the Stats plugin itself is registered, so that they already handle the folders of the Stats plugin. The handlers registered under that ID by an earlier inclusion of the file are removed first, so they are never registered twice.

Summary

Methods

Includes a plugin's attributes folder when the 'attributes' extra is being loaded.

Methods

hooks:PluginIncludeFolder(extra, folder)

shared plugins/stats/plugin/lib/sh_attributes.lua:780

Includes a plugin's attributes folder when the 'attributes' extra is being loaded.

Parameters

  • extra String name of the extra being loaded
  • folder String path of the plugin folder

Returns

  • Boolean true when the extra was handled here, otherwise nil

Defined in