Page 1 of 1

Custom Plugin Loader

Posted: February 10th, 2011, 4:33 pm
by Leo_V117
Thats right guys, yet another brilliant code from Leo_V117!

Custom Plugin Loader

Description
The Custom Plugin Loader (CPL) works just like the theme loader. although, instead of loading themes, it loads plugins instead. Rather than having to add the autoexec.cfg to your root-sandbox folder, you simply place the plugin (preferably within a folder) into the data/plugins folder, create a config that will load the plugin, and voila! A plugin that you didnt even need to do much to load.

Possible Uses
The CPL can be used for multiple things, be it a small test area for "unstable" codes, or even a permanent plugin list. You can even use it to load a menu code for testing.

Advantages
One advantage of using the CPL is a huge reduction in code editing, rather than having to place your codes in the main menu, or in an autoexec, you can simply place it in a folder with a small exec code to boot it. It will also decrease the amount of time required to create the code, again, by removing the autoexec.

Installing CPL
To install CPL, follow these steps: (CPL works in all modes, and in any version of sandbox)
Step 1: Download the latest version of CPL from here
Step 2: Extract the files and place them in your sandbox installation path (where you installed sandbox).
Step 3: Run sandbox and ensure the code is working (you should see a "plugins" option at the bottom of the menus).

Thats all! Tell me what you think, and have fun with whatever you want to use it for...

Re: Custom Plugin Loader

Posted: February 10th, 2011, 4:37 pm
by kid matthew
Ive Used it its EPIC!!!!

Re: Custom Plugin Loader

Posted: February 10th, 2011, 4:42 pm
by Leo_V117
Thanks for that Matt! Most advanced, yet simplest code I've ever developed!

Re: Custom Plugin Loader

Posted: February 10th, 2011, 6:39 pm
by kid matthew
HEHERHE HEHe

Re: Custom Plugin Loader

Posted: March 7th, 2011, 7:24 am
by Leo_V117
By the way, Heres a plugin for you!

Autosave Plugin

This ones easy to run, place both the "autosave.cfg" file and "autosave" folder in "data/plugins". hopefully, if the "Plugins" option is available on the main menu in PAS, You can select "Autosave" from the selection in there. When editing a map, type "autosave_on" to activate, and "autosave_off" to deactivate.