A plugin can't be used to change the number of slots because the slots need to be set up before the server is running. You can do this by changing the -maxplayers command line parameter when starting the server.
Other command line parameters can be found
here.
__________________