Raised This Month: $32 Target: $400
 8% 

VIP Access - Make money from your server! [Updated 17/03/2010]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Fun Stuff        Approver:   v3x (159)
minimiller
Veteran Member
Join Date: Aug 2007
Location: United Kingdom
Old 09-01-2008 , 13:11   VIP Access - Make money from your server! [Updated 17/03/2010]
Reply With Quote #1

VIP Access

Description:
Ever wanted to make money off your server, but couldnt find a decent way to advertise that you were willing admin slots?
This plugin allows you to advertise VIP extras on your server!


Cvars:
vip_adminfriendsname - Sets who the players should contact if they want to buy VIP (Default - "FriendsName")
vip_adminemailaddress - Sets the email address players should contact if they want to buy VIP (Default - "AdminEmailAddress")
vip_cost - Sets the cost of VIP (Default - "$10 (U.S. dollars)")
vip_tag - Sets the VIP tag (Default - "[VIP]")
vip_advertise - Turns the advertising on player spawn <on|off> (Default - "1")
vip_website_on - Turns the website advert <on|off> (Default - "0")
vip_website - Sets the website people should go to for more info (Default - "http://www.example.com/go_here")
vip_irc_on - Turns the IRC advert <on|off> (Default - "0")
vip_irc - Sets the irc channel people should go to for more info (Default - "#vip @ gamesurge")


Client commands:
/vip - Shows if you are a VIP or not
/vips - Shows a list of VIPs currently on the server
/viphelp - Opens an MOTD showing information about VIP
/vipinfo - Advertises information about VIP to the player in chat


Coming Up:

vip_advertise cvar
Advertise your website
Allow people to contact you on AIM, IRC etc (Cvars will be added for these)
vips.ini file (To keep vips separate from users.ini)
vip flags (Define what accesses each VIP has separately)
Add "amx_addvip" and "amx_removevip" admin console commands
Add more accesses
A php script for your website so VIPs can sign up without being in game!


Adding a VIP:
Open the file "VIP.ini" (Located in cstrike/addons/amxmodx/configs/VIP.ini)
Find the users steamID and decide what flags to give them
Each line must be layed out like this:
Quote:
"STEAM_ID" "flags" ;Name that this record holds
Remember to use quotes
The vip.ini file has a list of what each flag gives the user
It might be a good idea to put a comment at the end of the line stating what date they bought VIP


The MOTD:
The MOTD (downloadable below) is VERY basic
If players type "/viphelp" this will open in game
The default MOTD will simply say "Buy VIP!"
Please note that a small amount of knowledge of HTML is helpful when editing the MOTD


Notes:
You need to use a STEAM server for this plugin to work
You need to download the cstrike.zip with all the other plugins, otherwise your accesses wont work at all
If you want to include the bhop abilities, you need to download from connorr's thread, located below
Put VIP.amxx at the top of your plugins.ini
See servers using this plugin here.


ScreenShots:





Credits:
Quote:
/*
* Thanks to SchlumPF for all the help on the VIP flags - http://forums.alliedmods.net/member.php?u=26411
* Thanks to ReymonARG for his admin flags system - http://forums.alliedmods.net/showthread.php?t=87635
* Thanks to xPaw for general help whenever i needed it - http://forums.alliedmods.net/member.php?u=39377
* Thanks to FatalisDK for KZMoneys. Raeving it big time - http://kzmonkeys.net/
* Thanks to sgtbane for his hats plugin - http://forums.alliedmods.net/showthread.php?t=58374
* Thanks to GHW_Chronic for his GHR plugin - http://forums.alliedmods.net/showthread.php?t=41054
* Thanks to stupok for his magic marker plugin - http://forums.alliedmods.net/showthread.php?t=56301
* Thanks to Deviance for his sell weapons plugin - http://forums.alliedmods.net/showthread.php?t=54702
* Thanks to ConnorMcLeod for his bhop abilities plugin - http://forums.alliedmods.net/showthread.php?t=69840
*/
Update Log:
v3.1
Not a huge change
Just updated the code a bit

v3.0
Added VIP flags
Added more VIP accesses
Added more commands
Added a vip.cfg for cvars
Updated the VIP in scoreboard method (again)
Updated and tidied code

v2.1
Added the ResetHUD event so "VIP" should be should in the scoreboard more often

v2.0
Added bhop, hats, sell, graffiti, hook
Added VIP.ini file to keep VIPs separate from admins
Updated vipinfo.txt
Added everything to a .zip

v1.4
Updated code
Removed redundant code
Removed vip_advertisetime cvar
Removed spam when there was more than 5 ppl on the server

v1.3
Added CVAR: vip_advertisetime
Added CVAR: vip_website_on
Added CVAR: vip_website
Added CVAR: vip_irc_on
Added CVAR: vip_irc

v1.2
Removed the advertise time
"Adverts" only show on player spawn
This fixes the spam that some servers got
added new cvar vip_advertise

v1.1
Ballesed up the plugin
Fixed now

v1.0
Public release
Attached Files
File Type: zip cstrike.zip (1.31 MB, 8145 views)
File Type: sma Get Plugin or Get Source (VIP.sma - 7603 views - 14.8 KB)

Last edited by minimiller; 03-17-2010 at 15:45. Reason: v3.1
minimiller is offline
Send a message via MSN to minimiller
grimvh2
Veteran Member
Join Date: Nov 2007
Location: Fishdot Nation
Old 09-01-2008 , 13:23   Re: VIP access - Make money from your server!
Reply With Quote #2

Hmm ... you should make the flag unique instead of "b" , somthing like "n" thats ADMIN_LEVEL_B . And what can a vip do?
__________________
I am out of order!
grimvh2 is offline
minimiller
Veteran Member
Join Date: Aug 2007
Location: United Kingdom
Old 09-01-2008 , 13:25   Re: VIP access - Make money from your server!
Reply With Quote #3

As default, VIPs get VIP on the scoreboard and reserved slots
If admins want to give more access, they have to give more flags in users.ini
E.g. if admin wants to give the VIP access to build with blockmaker, edit the users.ini and give them "bm"
Obviously VIP access will change with different plugins
__________________
minimiller is offline
Send a message via MSN to minimiller
maplebest
BANNED
Join Date: May 2007
Location: Sweden, Sverige
Old 09-01-2008 , 13:25   Re: VIP access - Make money from your server!
Reply With Quote #4

Errors:

Code:
Plugin failed to compile! Please try contacting the author.Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

/home/groups/alliedmodders/forums/files/3/0/0/4/4/30998.attach(23) : error 017: undefined symbol "PLUGIN_NAME"
/home/groups/alliedmodders/forums/files/3/0/0/4/4/30998.attach(23) : error 017: undefined symbol "PLUGIN_VERSION"
/home/groups/alliedmodders/forums/files/3/0/0/4/4/30998.attach(23) : warning 215: expression has no effect
/home/groups/alliedmodders/forums/files/3/0/0/4/4/30998.attach(23) : warning 215: expression has no effect
/home/groups/alliedmodders/forums/files/3/0/0/4/4/30998.attach(23) : error 001: expected token: ";", but found ")"
/home/groups/alliedmodders/forums/files/3/0/0/4/4/30998.attach(23) : fatal error 107: too many error messages on one line

Compilation aborted.
4 Errors.

EDIT:

OFF TOPIC:

Shit... i gave you karma but wrote "maplebet" instead of "maplebest" :O

Lawl...

Last edited by maplebest; 09-01-2008 at 13:32.
maplebest is offline
minimiller
Veteran Member
Join Date: Aug 2007
Location: United Kingdom
Old 09-01-2008 , 13:29   Re: VIP access - Make money from your server!
Reply With Quote #5

o shit
i done a late update and ballesed it up aparently
2 seconds

EDIT:
Update to v1.1
Plugin is now fixed
__________________

Last edited by minimiller; 09-01-2008 at 13:33.
minimiller is offline
Send a message via MSN to minimiller
PvtSmithFSSF
Senior Member
Join Date: Jul 2008
Old 09-01-2008 , 13:45   Re: VIP access - Make money from your server!
Reply With Quote #6

Great work!
Maybe a cvar to change whether it shows icon near name or not.

GJ
PvtSmithFSSF is offline
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 09-01-2008 , 13:56   Re: VIP access - Make money from your server!
Reply With Quote #7

Yeah, this is very cool plugin ...
Good Job minimiller.
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.
Fry! is offline
richman
New Member
Join Date: Sep 2008
Old 09-01-2008 , 16:30   Re: VIP access - Make money from your server!
Reply With Quote #8

Sweet plugin minimiller, i've been looking for something like this for my own server!

TYVM!!
richman is offline
Reaper2331
Veteran Member
Join Date: Nov 2006
Location: Columbus,Ohio
Old 09-02-2008 , 07:15   Re: VIP access - Make money from your server!
Reply With Quote #9

i would suggest making a new .ini file for VIP's much easier to handle.
__________________

Reaper2331 is offline
Send a message via AIM to Reaper2331 Send a message via MSN to Reaper2331 Send a message via Yahoo to Reaper2331
minimiller
Veteran Member
Join Date: Aug 2007
Location: United Kingdom
Old 09-02-2008 , 07:27   Re: VIP access - Make money from your server!
Reply With Quote #10

I thought about that, but i dunno how to do it
I might give it a go, but illl probly fail
__________________
minimiller is offline
Send a message via MSN to minimiller
Old 09-02-2008, 12:54
NelegalJke
This message has been deleted by NelegalJke.
Reply



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 07:12.


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