Hello, Please Help Me!
Hello. I also like to know if there is a line that can be added in a plugin that uses IP. In case that IP is not selected by me, the server automatically powers off.
If anyone can help me as a sma made specifically for it, or line to be added in any plugin to achieve the same result .. Thanks |
Re: Hello, Please Help Me!
There are already suggestions here about how to protect your plugin from being run on another server. You won't be able to just shutdown their server, all you need to do is prevent the plugin from running with set_fail_state().
|
Re: Hello, Please Help Me!
Please give me one example.. like .. set_fail_state().89.xx.xx.xx ? Or.. ?
Give me one example please |
Re: Hello, Please Help Me!
Did you try searching yet?
|
Re: Hello, Please Help Me!
something like this
PHP Code:
|
Re: Hello, Please Help Me!
You can:
1.Make a const for your local/real server ip. 2.Get server ip (local|real). 3.Compare them and if they are not the same use set_fail_state(message[]) or you can search. |
Re: Hello, Please Help Me!
Last question , if you want to insert a plugin thing or another, Code is the same? or ..
|
Re: Hello, Please Help Me!
Quote:
|
Re: Hello, Please Help Me!
Sorry, i don`t now english perfect. Repeat question. If i want to insert this code in another plugin ex: AMXX SS, or another plugin, who she like`s code ..?
|
Re: Hello, Please Help Me!
Just put this code in plugin_init():
PHP Code:
|
| All times are GMT -4. The time now is 11:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.