AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   [BC] Block Commands (https://forums.alliedmods.net/showthread.php?t=74965)

Drogocop 07-28-2008 01:07

[BC] Block Commands
 
6 Attachment(s)
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


Recommended Additions:

Drogocop 07-28-2008 02:15

Re: [BAC] Block All Commands
 
FIX problem with bac_prefix :)

FuZ!on 07-28-2008 02:53

Re: [BAC] Block All Commands
 
If block choose team is enabled, does it automatically put you on a team or do you need a plugin for that?

And also, you typed this twice in your directions.
Quote:

Originally Posted by Drogocop (Post 660187)
● bac_blockchooseteam <1|0> (default: 1)
- 0 = Disable choose team block
- 1 = Enable Block choose team.

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


Drogocop 07-28-2008 03:11

Re: [BAC] Block All Commands
 
Quote:

Originally Posted by FuZ!on (Post 660230)
If block choose team is enabled, does it automatically put you on a team or do you need a plugin for that?

Need a plugin for that.
Block Choose Team is only a option of plugin.
When you connect to the server, gives you the option to choose a team, then freezes the option to change team
When you connect to the server, gives you the option to choose a team, then you can not change equipment.
Now add that with the cvar bac_blockchooseteam in 1, mp_autobalanceteam be changed to 1

Drogocop 07-28-2008 05:31

Re: [BAC] Block All Commands
 
Update!
What's new?
Color Chat and new code of Buy block

Arkshine 07-28-2008 05:46

Re: [BAC] Block All Commands
 
As improvement, I would rename the plugin to 'Block commands'.

Then, offering the possibility to let people writing the commands wanted to be blocked, via a file.

[X]-RayCat 07-28-2008 09:28

Re: [BAC] Block All Commands
 
Just block the radiomenu, NOT all the commands... :shock:

Drogocop 07-28-2008 15:38

Re: [BC] Block Commands
 
Updated to 1.2!
What's new?
Change plugin name and added Chat Muted.

Drogocop 07-29-2008 08:01

Re: [BC] Block Commands
 
Very Small Fix..
Add color chat to mensagges of Chat mute

utkohuy 07-29-2008 16:09

Re: [BC] Block Commands
 
hi man, links with attachments not work, please can you fix it?
thank you very much


All times are GMT -4. The time now is 04:00.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.