VPlugin: Difference between revisions

From TF2 Classified Wiki
Jump to navigation Jump to search
Webb (talk | contribs)
No edit summary
Webb (talk | contribs)
No edit summary
Line 1: Line 1:
{{stub}}
{{stub}}
{{ambox|contents=There is likely missing and incorrect information as there's little to no documentation on how VPlugins work.}}  
{{ambox|contents=There is likely missing and incorrect information as there's little to no documentation on how VPlugins work.}}  
'''VPlugins''' are Vscript code that uses a built-in system in ''Team Fortress 2 Classified'' that allows automatic loading and some isolation. The intended use of them is for server plugins built on top of VScript. TF2C comes with several VPlugins out of the box, most of which are disabled by default. VPlugins were introduced with the 3.1.0 update.
'''VPlugins''' are Vscript code that uses a built-in system in ''Team Fortress 2 Classified'' to automatically load and apply some isolation. The intended use of them is for server plugins built on top of VScript. TF2C comes with several VPlugins out of the box, most of which are disabled by default. VPlugins were introduced with the 3.1.0 update.


== Usage ==
== Usage ==


Squirrel files can be placed in <code>tf2classified/vplugins</code>. It's possible to also include secondary files in a subdirectory that can be imported from the plugin. The top-level scripts in this folder can be toggled on and off using the configuration file located at <code>tf2classified/cfg/vplugins.cfg</code>. By default the game will add an entry for any plugins not explicitly in the file. Plugins can be disabled by prepending them with a minus symbol. Changes take effect on map load.
Squirrel files can be placed in <code>tf2classified/vplugins</code>. It's possible to also include secondary files in a subdirectory that can be imported from the plugin. The top-level scripts in this folder can be toggled on and off using the configuration file located at <code>tf2classified/cfg/vplugins.cfg</code>. By default the game will add an entry for any plugins not explicitly in the file. Plugins can be disabled by prepending them with a minus symbol. Changes take effect on map load.

Revision as of 17:13, 31 October 2026

VPlugins are Vscript code that uses a built-in system in Team Fortress 2 Classified to automatically load and apply some isolation. The intended use of them is for server plugins built on top of VScript. TF2C comes with several VPlugins out of the box, most of which are disabled by default. VPlugins were introduced with the 3.1.0 update.

Usage

Squirrel files can be placed in tf2classified/vplugins. It's possible to also include secondary files in a subdirectory that can be imported from the plugin. The top-level scripts in this folder can be toggled on and off using the configuration file located at tf2classified/cfg/vplugins.cfg. By default the game will add an entry for any plugins not explicitly in the file. Plugins can be disabled by prepending them with a minus symbol. Changes take effect on map load.