Raised This Month: $7 Target: $400
 1% 

Server Status Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mr.Freeman
Senior Member
Join Date: Nov 2013
Location: Canada
Old 07-03-2016 , 21:35   Server Status Plugin
Reply With Quote #1

Hey Guys,

I was wondering if anyone could write a quick MYSQL plugin for me if possible. Things I need are as follow

Fetch IP of the gameserver and that remains the same however if a player joins the server it updates the table structure of the server_state to 1 and if there are no clients in the server then it sets server_state to 0 with the correct server.

Table Structure
PHP Code:
CREATE TABLE server_states (
  
id INT(11UNSIGNED AUTO_INCREMENT PRIMARY KEY,
  
server_ip VARCHAR(50NOT NULL,
  
server_state INT(1NOT NULL,
  
time_stamp TIMESTAMP NOT NULL

If you are able to do this for free that would be awesome, if not I can pay what you need.

Hope to hear from someone soon,
Mr. Freeman
__________________
Feel Free to PM me about any questions, I'll do my best to help

Last edited by Mr.Freeman; 07-03-2016 at 21:51.
Mr.Freeman is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 07-04-2016 , 04:50   Re: Server Status Plugin
Reply With Quote #2

Game(s)?
__________________
Grey83 is offline
HSFighter
Veteran Member
Join Date: Aug 2007
Location: Flensburg - Germany
Old 07-04-2016 , 05:43   Re: Server Status Plugin
Reply With Quote #3

Hi Mr.Freeman,

i wrote exacly this plugin some time ago for our Community.

Feel free to use it.

Edit Line 13 to change your Database similar to entry in "databases.cfg".
Attached Files
File Type: sp Get Plugin or Get Source (player_counter.sp - 129 views - 11.1 KB)
__________________



Sorry for my very bad english
Greetings HSFighter

Last edited by HSFighter; 07-04-2016 at 05:47.
HSFighter is offline
Send a message via ICQ to HSFighter
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 06:38.


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