Pika-Software / community-ban-lists

Garry's Mod global ban system based on public lists.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Community Ban Lists

Garry's Mod global ban system based on public lists.

Where is Lua code?

Written in Yuescript, compiled Lua code can be found in releases and lua branch, or you can compile it yourself using compiled Yuescript Compiler.

Usage

Simply add your banlist urls to the json list in the data/community_ban_lists.json file.

Example:

image

List config

<config>
    <name>My List</name>
    <message>
        Your SteamID is on the community ban list used on this server. Contact the server owner for more information.
    </message>
</config>

... banned steamids

Disconnect message tags

Usage example

<config>
    <name>My List</name>
    <message>
        Hello {{player_nick}}!
    </message>
</config>

... banned steamids

Ban List

  • list_name - Ban list name
  • list_length - Banned player count

Server

  • server_address - Server address
  • server_name - Server name
  • server_map - Current server map

Banned Player

  • player_reason - Banned player ban reason
  • player_steamid - Banned player steamid
  • player_steamid64 - Banned player steamid64
  • player_nick - Banned player nickname
  • player_ip - Banned player ip address

About

Garry's Mod global ban system based on public lists.

License:MIT License