AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Adveriser (https://forums.alliedmods.net/showthread.php?t=284343)

SnapDragon 06-24-2016 15:52

Adveriser
 
2 Attachment(s)
Advertiser
https://wiki.teamfortress.com/w/imag...20120905233516https://wiki.teamfortress.com/w/imag...20120905233516https://wiki.teamfortress.com/w/imag...20120905233516

What can i do with this plugin?
This plugin will allow you to earn money with your server.


THIS IS BIT ADVANCED PLUGIN
- To earn money, you have to open this sp file and Edit your moneytize links in there
After editing, you have to compile it. [1.7 compiler]


Commands
sm_stop for sound advertisements (Good for *******)


Default VIP flag?
Custom2 aka P

Easy to change!
PHP Code:

Line 10
#define VIP_FLAG ADMFLAG_CUSTOM2 


What do i need to compile it?
Nothing else than Morecolors include


Planned features:
- Config where users can edit links and flags. (No clue how to make that)
- Removing cancer

How to use:
First of all, Advertiser should work on any Sourcemod platform and Advertiser_TF2 works only at TF2
You have to add link at SP version.
Click here to see How to vid what took 10 minutes to create

Bugs?
- Users see Adverisements if they take hit when they use deadringer (Solved thanks to NayDef)
- No known bugs

Efficient way to use this plugin is bit.ly, because users see advertisement and press enter, its not anoying and if there will be advertisement with sounds, users can do !stop and you still get money from that.

If you make AdFly account press here, I get comission from it and you get more money from your advertisements.

Changelog:


1.2 Added Support for every other sourcegame
1.1 Fixed Deadringer
1.0 Uploaded






There is still way to block these advertisements!!!

Use THIS to prevent user from turning cl_disablehtmlmotd 1


Have fun, Earn money and give me some if you want :3

Billy Joe Cobra 07-01-2016 02:10

Re: Adveriser
 
this plugin has died at age of 5 days

SnapDragon 07-05-2016 11:39

Re: Adveriser
 
Plugin is now working again, I forget to upload fixed version xD

Naydef 07-05-2016 13:19

Re: Adveriser
 
Change:
PHP Code:

if(!(GetUserFlagBits(client) & VIP_FLAG) && deathflags != TF_DEATHFLAG_DEADRINGER

to
PHP Code:

if(!(GetUserFlagBits(client) & VIP_FLAG) && (deathflags TF_DEATHFLAG_DEADRINGER)) 

Interesting plugin, will try it, but Force HTML MOTDs plugin won't help versus players who use "connect <ip> matchmaking" command.

alansdit12 07-06-2016 10:06

Re: Adveriser
 
Can you make this plugin work with other source games?

SnapDragon 07-06-2016 17:39

Re: Adveriser
 
Quote:

Originally Posted by alansdit12 (Post 2434109)
Can you make this plugin work with other source games?

Yes.
I can make New version from it for other source games.

This one wont fit because there is things for deadringer

alansdit12 07-07-2016 23:42

Re: Adveriser
 
Can I request something?
Can you hide the motd panel? So players didnt notice if their motd panel are opening those link?
Also can you make it loop? and make a timer for next link to open

SnapDragon 07-08-2016 07:02

Re: Adveriser
 
Quote:

Originally Posted by alansdit12 (Post 2434572)
Can I request something?
Can you hide the motd panel? So players didnt notice if their motd panel are opening those link?
Also can you make it loop? and make a timer for next link to open

It is possible but it will cause heavy lag to your players.
So it is not a good idea exept if all of your users have Lightspeed internet.

paul181516 12-22-2017 15:33

Re: Adveriser
 
Doesnt work for me, CS:GO, the motd doesnt appear


All times are GMT -4. The time now is 19:56.

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