Jump to content

Recommended Posts

So basicly a friend of mine played a modded server, and decided to add some of the modes they liked while also modifying some stats of items, and after toying around with mods code in order to modificate said stats of itmes they found this string (reposted it below) and from what me and my friend understand, its for taking and storing users IP? Is it dangerous? and why not use Kleis KU instead if this mod needs to specify a client for some reason?

AddUserCommand("request_ip", { prettyname = nil, desc = nil, permission = COMMAND_PERMISSION.USER, slash = false, usermenu = false, servermenu = false, params = {"ip"}, vote = false, canstartfn = function() return true end, serverfn = function(params, caller) if params and http://params.ip/ then TheWorld.components.hg_progress:SetIPForPlayer(caller.userid, params.ip) end end,})

 

Edited by Dragonboooorn

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
×
  • Create New...