Jump to content

[Help]Where can I look unban?


Recommended Posts

  • Moderators

server\mods\deathmatch\logs\server.log

 

There you will find things like this: (ban)

[2017-04-29 15:54:14] ADMIN: XXXX has banned XXXXX
[2017-04-29 15:54:14] BAN: Serial ban was added by Anonymous admin

 

And things like this: (unban)

[2017-04-29 15:59:56] UNBAN: A ban was removed by XXXXXX

  • Like 1
Link to comment
23 hours ago, IIYAMA said:

server\mods\deathmatch\logs\server.log

 

There you will find things like this: (ban)

[2017-04-29 15:54:14] ADMIN: XXXX has banned XXXXX
[2017-04-29 15:54:14] BAN: Serial ban was added by Anonymous admin

 

And things like this: (unban)

[2017-04-29 15:59:56] UNBAN: A ban was removed by XXXXXX

Whose ban has been lifted ? 

Link to comment
  • Moderators

It doesn't say that. If you want to log that, you will need to create a script for that.

local function announceUnban( theBan, responsibleElement )
	if getElementType( responsibleElement ) then --Check if a player unbanned the IP/Serial
		outputServerLog( getPlayerName( responsibleElement ) .. " unbanned " .. ( getBanSerial(theBan) or getBanIP(theBan) ) ) --Output to the chatbox saying the player has unbanned the IP/Serial
	else
		outputServerLog("Resource unbanned: " .. ( getBanSerial(theBan) or getBanIP(theBan) ) ) --Output to the chatbox saying the player has unbanned the IP/Serial
	end
end

addEventHandler( "onUnban", root, announceUnban ) --Adds the event handler for 'onUnban'

 

But there is way to check that without the script. It will not always be 100% accurate.

  1. You will have to scroll up to the places where the players have been banned.
  2. Open: server\mods\deathmatch\banlist.xml
  3. Check which ones have been removed. With that information you can pinpoint which admins might have removed that ban.
  • Like 1
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...