Plugin Options Starter Kit is a plugin for WordPress by dgwyer that enables user’s to learn how to set-up Plugin options, or as a template to quickly create you own Plugins.
Learn the proper way to use the powerful WordPress Settings API, and how to save all your Plugin options in a single options db entry (in an array).
The starter kit includes:
A useful ‘Settings’ link from the main Plugins page so that you can easily direct your Plugin users directly to your Plugin options page.
A way to set-up default option settings when the Plugin is activated.
A reset defaults Plugin option which you can use on all your Plugins which allows you to reset options opon Plugin deactivation/reactivation.
A clean way to delete Plugin options if the Plugin is deactivated AND deleted.
Uses sanitization methods (part of the Settings API) to cleanly validate textbox and textarea inputs.
Download and info: http://wordpress.org/extend/plugins/plugin-options-starter-kit/