AdminMod.de
https://www.adminmod.de/

PLUGIN_TEMP_BAN
https://www.adminmod.de/viewtopic.php?t=10015
Seite 1 von 1

Autor:  Sir Drink a lot [ 10.01.2009, 12:14 ]
Betreff des Beitrags:  PLUGIN_TEMP_BAN

Hi!

Diese Plugin dient dazu, auch temporäre Bans nach einem Servercrash beizubehalten.

Beim Bannen muss aber nun der Befehl ausgeführt werden:
admin_tempban <playername> <bantime>
(ist bantime=0 oder leer macht es nichts!)

Um sich eine Liste der temporären Bans anzusehen:
admin_tempban_list

Weitere Hinweise:
- file_access_read and file_access_write must set to 1 in adminmod.cfg
- ACCESS_BAN is needed to execute command by admin
- IT CAN'T be used on LAN. It only stores STEAM_IDs
(maybe change line 120 and 163 the word "bBanByID" with "bBanByIP" get working it for LAN)
- Only players currently playing on server can be banned.

[SECOND EDITION]
BETA Version, must be tested!!

Änderungen:
- PLUGIN MUST BE THE FIRST PLUGIN IN PLUGINS.INI

0.95:(27.02.2009)
- added check for banned players. Only Admin with high accesslevel 131071 can overwrite temp bans. Search for "OVERWRITE_ACCESS" in sma!
- added hook for admin_ban function if time ban is used with "admin_ban"
- changed function to temp ban players by steam_id who are NOT online
- increased MAX_ENTRIES to 50

[THIRD EDITION]

admin_tempban_list displays now all currently time banned players instead of the whole list.

0.98:(28.02.2009)
- added check for correct steam_id (start with STEAM_)
- changed code for admin_temp_list
- changed code to hook for admin_ban and check for timeban.


[FOURTH EDITION (BETA)]
admin_ban_list displays also permanent bans!

1.00:(28.03.2009)
- added log data of permanent bans: command admin_ban_list

Dateianhänge:
Dateikommentar: PLUGIN_TEMP_BAN4
plugin_temp_ban4.zip [11.49 KiB]
622-mal heruntergeladen
Dateikommentar: THIRD EDITION
plugin_temp_ban3.zip [12.25 KiB]
644-mal heruntergeladen
Dateikommentar: second Version BETA
plugin_temp_ban2.zip [11.14 KiB]
633-mal heruntergeladen
Dateikommentar: plugin_temp_ban
plugin_temp_ban.zip [7.85 KiB]
653-mal heruntergeladen

Autor:  [WING] Black Knight [ 10.01.2009, 17:39 ]
Betreff des Beitrags: 

Da hat er es doch tatsächlich wiedergefunden. :D

Autor:  Sir Drink a lot [ 10.01.2009, 18:11 ]
Betreff des Beitrags: 

tja... in den unendlichen Weiten meiner Festplatte... :roll:
Nur das Genie herrscht über das Chaos...

Autor:  Sir Drink a lot [ 30.03.2009, 20:20 ]
Betreff des Beitrags: 

4. Version, die nun eine eigene permanent bann liste führt.

Problem: da admin_unban nicht registriert ist und es auch weitere Möglichkeiten gibt, bans wieder aufzuheben, kann die Liste zur wirklichen bannliste differieren. Lösung: abgleich mit banned.cfg oder ersetzt die ban.cfg... kommt dann in der 5. Version ... Dann ist es aber komplett ähnlich meinem SDAL_BAN Plugin ;-)

Seite 1 von 1 Alle Zeiten sind UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/