Dragonboooorn Posted October 1, 2024 Share Posted October 1, 2024 (edited) 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 October 1, 2024 by Dragonboooorn Link to comment https://forums.kleientertainment.com/forums/topic/160033-need-a-help-to-understand-what-command-does/ Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now