Jump to content

[Help]Where can I look unban?


Recommended Posts

  • Moderators
Posted

Did you really ban yourself? :-o You are fantastic!

 

https://wiki.multitheftauto.com/wiki/RemoveBan

Do you want to improve your Lua programming skills and make less mistakes?   Start with Lua Language Server!   ?

 

  Useful functions  3x 

  Tutorials  4x 

 

  • Moderators
Posted

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

Do you want to improve your Lua programming skills and make less mistakes?   Start with Lua Language Server!   ?

 

  Useful functions  3x 

  Tutorials  4x 

 

Posted
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 ? 

  • Moderators
Posted

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.

Do you want to improve your Lua programming skills and make less mistakes?   Start with Lua Language Server!   ?

 

  Useful functions  3x 

  Tutorials  4x 

 

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