Jump to content

webpanel WARNING Access denied


Recommended Posts

What and where do I add that I had disappeared this message?

WARNING: player.lua: Access denied @ 'getClientIP' - Line: 10

This applies to: "webpanel/script" resource

90% of warnings and errors in the server logs to this message

I know that you can change:

local IP = true

to

local IP = false

I do not know exactly for what is needed this IP ...

Link to comment

That line gets player IP and then show that IP in the players list.

Local IP store the bool, that resource have rights to get player IP:

IP = hasObjectPermissionTo(getThisResource(), "function.getPlayerIP")

If you don't give webpanel admin rights, IP won't show.

Link to comment

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...