Encuesta

What do you think of the mod?

It's good
Normal
Bad

Autor Tema: [MOD] Chat Protecction  (Leído 2221 veces)

Desconectado U3Games

  • Administrator
  • User
  • *
  • Mensajes: 164
    • Ver Perfil
[MOD] Chat Protecction
« en: 15 de Mayo de 2017, 09:18:58 pm »
Information:

[EN] Mod intended for the protection of the server chat, with a sanction system and fully configurable.
[ES] Mod destinado a la proteccion del chat del servidor, con sistema de sanciones y totalmente configurable.

Features:
  • Chat Restrictions
  • Chat Filter Punishment
    • Bot Report system.
    • Jail system
Config:

Código: You are not allowed to view links. Register or Login
# ---------------------------------------------------------------------------
# Chat Protecction Mod (By L2JDevs Mods Engine)
# ---------------------------------------------------------------------------
# More information -> http://www.l2jdevs.org
# Telegram group -> https://t.me/l2jdevs
# Sign up and join our community!
# ---------------------------------------------------------------------------


# -------------------------------------------------------
# Auto Chat Restriction System
# -------------------------------------------------------
# Enabled Auto Chat Restriction System:
# Default: False
ChatRestrictionSystemEnabled = False

# Enabled chat in dead player mode:
# Default: True
ChatRestrictionDeadModeEnabled = True

# Enabled chat restriction for player level:
# Default: False
ChatRestrictionLevelEnabled = False

# Min level to use chat:
# Default: 15
ChatRestrictionMinLevel = 15

# Disabled say in chat channels (Requires ChatRestrictionLevelEnabled = True):
# Default: False
ChatRestrictionTypeChatEnabled = False

# Min level to use a type chat:
# Default: 45
ChatRestrictionTypeChatMinLevel = 45

# Disabled say in chat channels (Requires ChatRestrictionTypeChatEnabled = True):
# 0 = ALL (white)
# 1 = SHOUT (!)
# 2 = TELL (")
# 3 = PARTY (#)
# 4 = CLAN (@)
# 5 = GM (//gmchat)
# 6 = PETITION_PLAYER (*)
# 7 = PETITION_GM (*)
# 8 = TRADE (+)
# 9 = ALLIANCE ($)
# 10 = ANNOUNCEMENT
# 11 = BOAT
# 12 = L2FRIEND
# 13 = MSNCHAT
# 14 = PARTYMATCH_ROOM
# 15 = PARTYROOM_COMMANDER (Yellow)
# 16 = PARTYROOM_ALL (Red)
# 17 = HERO_VOICE (&)
# 18 = CRITICAL_ANNOUNCE
# 19 = SCREEN_ANNOUNCE
# 20 = BATTLEFIELD
# 21 = MPCC_ROOM
# Default: [ "0", "1", "8", "17"]
ChatRestrictionTypeChannel = [ "0", "1", "8", "17"]


# -------------------------------------------------------
# Chat Filter Punishment System
# -------------------------------------------------------
# Enabled Chat Filter Punishment System:
# Default: False
ChatsPunishmentEnabled = False

# Enabled Chat Filter Punishment Log:
# Default: False
ChatsPunishmentLogEnabled = False

# Enabled Chat Jail Filter Punishment Reports:
# Default: False
ChatsPunishmentJailReportsEnabled = False

# Min censored messages to send player to jail:
# Default: 10
ChatsPunishmentJailMinWarning = 10

# Sentence time in jail, in minutes:
# Default: 60
ChatsPunishmentJailTime = 60

# Enabled Chat Filter Punishment Reports:
# WARNING: This mod require enabled Bot Report Enabled in General.properties
# Default: False
ChatsPunishmentReportsEnabled = False

# Min censored messages to report to the player:
# Default: 5
ChatsPunishmentMinWarning = 5

# Disallow chat text which contains the words:
# Default: [ "www", "cfg", "l2net" ]
ChatsPunishmentForbiddenText = [ "www", "cfg", "l2net" ]

# Enabled filter in chat channels:
# 0 = ALL (white)
# 1 = SHOUT (!)
# 2 = TELL (")
# 3 = PARTY (#)
# 4 = CLAN (@)
# 5 = GM (//gmchat)
# 6 = PETITION_PLAYER (*)
# 7 = PETITION_GM (*)
# 8 = TRADE (+)
# 9 = ALLIANCE ($)
# 10 = ANNOUNCEMENT
# 11 = BOAT
# 12 = L2FRIEND
# 13 = MSNCHAT
# 14 = PARTYMATCH_ROOM
# 15 = PARTYROOM_COMMANDER (Yellow)
# 16 = PARTYROOM_ALL (Red)
# 17 = HERO_VOICE (&)
# 18 = CRITICAL_ANNOUNCE
# 19 = SCREEN_ANNOUNCE
# 20 = BATTLEFIELD
# 21 = MPCC_ROOM
# Default: [ "0", "1", "8", "17"]
ChatsPunishmentChannel = [ "0", "1", "8", "17"]

Additional Information:

  • Chat Filter Punishment System, in addition to censoring the texts indicated in the "ChatsPunishmentForbiddenText" parameter, uses the server's "chatfilter.txt" config file.
  • When players use a word from the blacklist, they get a warning point. When you get those indicated in the mod parameters, you will be penalized.
  • ChatsPunishmentJailReports:
    • Upon reaching the necessary warning points, the player is sent to jail for the indicated time.
    • If the player has already been punished, every time he earns a warning point, he will be sent to jail again.
  • ChatsPunishmentReports:
    • Upon reaching the necessary warning points, every time you type a forbidden word, you will be reported.
    • Every time it is reported, the sanctions configured in the server's reporting system will be applied.
  • The list of players and their accumulation of warning points are restored when the server is restarted.
  • The sanctions are cumulative.


Upcoming Features:

Green ------- Feature that has already been tested and added.
Orange ----- Feature in development or partially done.
Red --------- Feature is not yet available.