Raised This Month: $12 Target: $400
 3% 

Serversettings taken from mysql DB


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
lantz69
AMX Mod X Beta Tester
Join Date: Mar 2004
Location: Sweden, Skåne
Old 04-29-2009 , 03:14   Serversettings taken from mysql DB
Reply With Quote #1

I have searched for a plugin that can read serversettings like cvars amxx settings like imessage texts.
The purpose for the plugin is to make it simple for persons to change or add certain values to a server easily an a webpagegui.

The plugin should overide all settings in files on the server, but if mysql connnection fails the server already have settings from the files.

1. Servers must have an ID ie. sql_server_id 1 then 2 3 4 etc
the sql_server_id CVAR should be placed in amxx.cfg
2. be able to add new settings.
3. be able to add a new server to manage.
4. be able to add a new setting category

Im not sure how far you can go with this or even if it is a good idea.
Maybe even make so the file plugin.ini be added in mysql

DB could look something like this
CREATE TABLE plugin_serverinfo
id autoincrement
name
address /* ip:port */
description
...
...

CREATE TABLE plugin_settings
id autoincrement
server_id
name
value
description
category
edited_by_admin
datetime

CREATE TABLE plugin_categorys
id autoincrement
name
description

..


But first of all make it simple so you can just have som cvars in the plugin like some imessage.

I could do this myself, but I dont have the time right now and maybe something similar has alreday been done.

// LAntz69
__________________
Using: Amxmodx 1.8.1.xxxx, cstrike
http://www.vanilla.se/
lantz69 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:09.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode