Hi everyone, I'm Robert. I'm trying to create a plugin for Counter-Strike:Source so that users would be able to edit the SRCDS "Command Line" using the plugin. I'm trying to restrict them from accessing the whole folder via FTP, this may sound weird but this is for private and personal use, so security measures would be under my responsibility.
First of all, i got no clue how it's done. I've researched a bit I've seen people talk about C++ and SDK samples to start with, also heard its much easier than the actual C++ programming. anyway, not sure how if this would work, for example in "addons/cmc" i want it to create a .cfg consisting the "command line" for that particular CSS srcds. The .cfg will contain:
So my clients would access the FTP, in "addons/cmc/cmc.cfg" they would edit the file according to their needs, and restart the server. Once restarted it would then load the new command line options provided in the cfg file. Is this possible, could anyone guide me, or show any path/directions so i could start on something.
edit: Do i need my own plugin, or could i use SourceMod or Eventscript modules/libraries in order to make this.
Kindest regards.
Thanks in advance.
First of all, i got no clue how it's done. I've researched a bit I've seen people talk about C++ and SDK samples to start with, also heard its much easier than the actual C++ programming. anyway, not sure how if this would work, for example in "addons/cmc" i want it to create a .cfg consisting the "command line" for that particular CSS srcds. The .cfg will contain:
Code:
-console -game cstrike +ip xx.xx.xx.xx +sv_lan 0 +maxplayers 22 +map de_dust2
So my clients would access the FTP, in "addons/cmc/cmc.cfg" they would edit the file according to their needs, and restart the server. Once restarted it would then load the new command line options provided in the cfg file. Is this possible, could anyone guide me, or show any path/directions so i could start on something.
edit: Do i need my own plugin, or could i use SourceMod or Eventscript modules/libraries in order to make this.
Kindest regards.
Thanks in advance.