Page 1 of 1

[BC] Block Commands

Posted: Mon Nov 22, 2021 10:02 am
by greenie
Block Commands
Version 1.3
by Drogocop

Introduction:
● The plugin is very simple... blocked all commands of radio, buy and choose team. (Includes binds of buy and radio)
● Is ideal to KZ maps

Cvars:
● bc_blockbuy <1|0> (default: 1)
- 0 = Disable Buy Block
- 1 = Enable Block Buy commands

● bc_blockradio <1|0> (default: 1)
- 0 = Disable block of radio commands
- 1 = Enable Block All radio commands

● bc_blockchooseteam <1|0> (default: 1)
- 0 = Disable choose team block
- 1 = Enable Block choose team.

● bc_prefix <text> (default: "[BC]")
- Text or "Tag" for all chat mensajes.

Client Commands:
● bc_blockchat <Name>
- Block All Messages of the player in the chat. Xample: bc_blockchat "Drogocop"

● bc_blockchatmenu
- Open menu with list player to muted

Install:
- Click Get Plugin at the bottom of this post.
- Put bc.amxx in your server's addons/amxmodx/plugins directory.
- Put blockcommand.txt in your server's addons/amxmodx/data/lang directory.
- Open plugins.ini (In addons/amxmodx/configs directory) and add bc.amxx underneath 3rd Party Plugins

Changelist:
-------------------------
| Version 1.1 Changelist |
-------------------------
- Add Color Chat

-------------------------
| Version 1.2 Changelist |
-------------------------
- Add Chat Mute and change name of plugin

-------------------------
| Version 1.3 Changelist |
-------------------------
- Add dictionary

Notes:
● You MUST compile the plugin locally.
- Put bc.sma in addons/amxmodx/scripting
- Put colorchat.inc in addons/amxmodx/scripting/include
- Put BlockCommand_inc folder in addons/amxmodx/scripting
- Open compile.exe from addons/amxmodx/scripting, wait and press enter.
- Extract bc.amxx from addons/amxmodx/scripting/compiled
● A player can not silence a Admin with bc_blockchat or bc_blockchatmenu

Credits:
● Stupok69 - Chat Mute Menu code

get plugin
get source