Raised This Month: $39 Target: $400
 9% 

Plugin with expiration date


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
papel
Junior Member
Join Date: Jul 2017
Old 11-07-2017 , 09:10   Plugin with expiration date
Reply With Quote #1

Hello everybody, How are you?

How do I disable a plugin after a certain time?
For example ... what command could you put inside the programming so that the plugin stops working after 1 month or year, a specific date?

Thank you all
papel is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 11-07-2017 , 12:25   Re: Plugin with expiration date
Reply With Quote #2

Why do you want this? It would be trivial to remove the check and recompile the plugin.
__________________
asherkin is offline
papel
Junior Member
Join Date: Jul 2017
Old 11-07-2017 , 13:07   Re: Plugin with expiration date
Reply With Quote #3

But the one responsible for administering the plugin has not enough knowledge to recompile the plugin. Could you teach me how to do it?
papel is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 11-07-2017 , 16:57   Re: Plugin with expiration date
Reply With Quote #4

It'd be possible with GetTime(), however if you're planning on selling a plugin you must provide the sourcecode to them also, so you'd be wasting your time trying to disable a plugin after a certain date.
Mitchell is offline
papel
Junior Member
Join Date: Jul 2017
Old 11-07-2017 , 17:46   Re: Plugin with expiration date
Reply With Quote #5

Thank you for your help.
I will not sell, I will only leave a responsible person to manage. My concern is that he shares with others in college.

edit: Problem solved

Last edited by papel; 11-08-2017 at 11:02. Reason: Problem solved
papel 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 23:38.


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