Difference between revisions of "Actions:sourcemod"

From PrometheusIPN Wiki
Jump to: navigation, search
(Support and Suggestions)
Line 34: Line 34:
  
  
== Support and Suggestions ==
+
== Support & Suggestions ==
  
 
Support Page: [https://prometheusipn.com/panel/support/]
 
Support Page: [https://prometheusipn.com/panel/support/]

Revision as of 21:22, 15 August 2015

Installation

  • Drag and drop the addons folder to your game's root directory.
  • Restart the server.


Configuration

Once the plugin has been loaded, it will automatically generate "Prometheus.cfg" in your <game>/cfg/sourcemod/ folder. Edit it to your liking.

  • sm_prometheus_broadcast
    • You have the option to use these two arguments #PLAYER_NAME for the donator's steam name, and #DONATION_AMOUNT for how much they donated (ex: 9.99).

Furthermore, you can add color to the broadcast message. The full list of color tags can be found here: [1] Example: {fullred}[Prometheus] {haunted}#PLAYER_NAME {honeydew}has donated {haunted}$#DONATION_AMOUNT{honeydew}! Thank you!

  • sm_prometheus_checkinterval
    • This CVAR specifies the time in seconds in which the plugin checks to see if the donator's ranks have expired.

For example, every 600 seconds (10 minutes) it checks all users who have donated to see if their rank has expired.

  • sm_prometheus_mode
    • This CVAR tells the plugin where (and how) to store the donator (Flatfile or MySQL). Keep in mind that Prometheus uses the default sourcemod admin management plugins to work correctly (Sourcebans is not supported yet).


FLATFILE:

  • You will need to ensure that your "admin-flatfile.smx" plugin exists in addons/sourcemod/plugins/ folder.
  • Edit addons/sourcemod/configs/admins.cfg file and make sure that it has "Admins" on the first line, a { on the second line, and a } on the last line.

MYSQL:

  • Make sure your MySQL database is set up properly in addons/sourcemod/configs/databases.cfg
    • Prometheus uses the "default" connection info, however if you do not want this plugin to use the "default" connection info, add an aditional one and name it "prometheus".
  • Update your admin tables! Move addons/sourcemod/plugins/disabled/sql-admin-manager.smx to your plugins folder.
  • Restart the server, and run the command "sm_create_adm_tables" from your server console. For MySQL, your database must have CREATE and ALTER permissions.
  • Ensure that you are using "admin-sql-threaded.smx" in your addons/sourcemod/plugins/ folder.
    • If it is not present, it should be in the addons/sourcemod/plugins/disabled/ folder.


Support & Suggestions

Support Page: [2]

You can leave suggestions for Prometheus - Sourcemod on ScriptFodder [3] or leave a comment on Nanochip³'s steam page: [4]