Jump to content

IP Script Protect

Recommended Posts


I have a question! 

I want to make a protection for my script with IP Protection, where the script only work when the IP of hosting is authorized for me, that's me the script's owner.

Someone to do this?

Link to post

@iPrestege is suggesting a function to get the server IP from the server configuration and compare it with the IP you want to authorize.
This way the script won't work on other servers (if this is what you meant).

Here is an example:

if (getServerConfigSetting("serverip") == "Your.Server.IP.Here") then


Edited by SpecT
  • Like 1
Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...