B3 Custom Command Plugin
Posted: 17 Mar 2018 13:42
As B3 project does not exists anymore, the forum is down too !
I have the B3 Custom Command Plugin and i am aware of that we can use it to create custom command like !fps,!fov,!promod.. But i am not able to configure it properly.
Can you help me how to make those commands to work! The inbuild commands that came along with the file (cookie...,) works fine but the custom commands i created does not work! Absolutely have no idea what i did over there !
I have the B3 Custom Command Plugin and i am aware of that we can use it to create custom command like !fps,!fov,!promod.. But i am not able to configure it properly.
Can you help me how to make those commands to work! The inbuild commands that came along with the file (cookie...,) works fine but the custom commands i created does not work! Absolutely have no idea what i did over there !
Code: Select all
# This config file allows you to easily define new commands.
# Read the doc at https://github.com/courgette/b3-plugin-customcommands/
#
# Lines starting with a dash (#) will be ignored
#
#
# ### parameter placeholders
#
# <ARG:FIND_PLAYER:PID> Makes your custom command accept a mandatory parameter which represents a player. The placeholder will be replaced with that player's slot id.
# <ARG:FIND_PLAYER:GUID> Makes your custom command accept a mandatory parameter which represents a player. The placeholder will be replaced with that player's GUID.
# <ARG:FIND_PLAYER:PBID> Makes your custom command accept a mandatory parameter which represents a player. The placeholder will be replaced with that player's Punkbuster id.
# <ARG:FIND_PLAYER:NAME> Makes your custom command accept a mandatory parameter which represents a player. The placeholder will be replaced with that player's cleaned up name.
# <ARG:FIND_PLAYER:EXACTNAME> Makes your custom command accept a mandatory parameter which represents a player. The placeholder will be replaced with that player's exact name.
# <ARG:FIND_PLAYER:B3ID> Makes your custom command accept a mandatory parameter which represents a player. The placeholder will be replaced with that player B3 id.
#
# <ARG:FIND_MAP> Makes your custom command accept a mandatory parameter which represents a map. The placeholder will be replaced with the map name.
#
# <ARG> Makes your custom command accept a mandatory parameter parameter. The placeholder will be replaced with that parameter.
# <ARG:OPT:{TEXT}> Makes your custom command accept an optional parameter. The placeholder will be replaced with that parameter or if not provided by the content of {TEXT}.
#
# ### other placeholders
#
# <LAST_KILLER:PID> The placeholder will be replaced with the slot id of the player who killed the player calling the command last.
# <LAST_KILLER:GUID> The placeholder will be replaced with the GUID of the player who killed the player calling the command last.
# <LAST_KILLER:PBID> The placeholder will be replaced with the Punkbuster id of the player who killed the player calling the command last.
# <LAST_KILLER:NAME> The placeholder will be replaced with the cleaned up name of the player who killed the player calling the command last.
# <LAST_KILLER:EXACTNAME> The placeholder will be replaced with the name of the player who killed the player calling the command last.
# <LAST_KILLER:B3ID> The placeholder will be replaced with the B3 id of the player who killed the player calling the command last.
#
# <LAST_VICTIM:PID> The placeholder will be replaced with the slot id of the player who got last killed by the player calling the command.
# <LAST_VICTIM:GUID> The placeholder will be replaced with the GUID of the player who got last killed by the player calling the command.
# <LAST_VICTIM:PBID> The placeholder will be replaced with the Punkbuster id of the player who got last killed by the player calling the command.
# <LAST_VICTIM:NAME> The placeholder will be replaced with the cleaned up name of the player who got last killed by the player calling the command.
# <LAST_VICTIM:EXACTNAME> The placeholder will be replaced with the name of the player who got last killed by the player calling the command.
# <LAST_VICTIM:B3ID> The placeholder will be replaced with the name of the B3 id who got last killed by the player calling the command.
#
# <PLAYER:PID> The placeholder will be replaced with the slot id of the player calling the command.
# <PLAYER:GUID> The placeholder will be replaced with the GUID of the player calling the command.
# <PLAYER:PBID> The placeholder will be replaced with the Punkbuster id of the player calling the command.
# <PLAYER:NAME> The placeholder will be replaced with the cleaned up name of the player calling the command.
# <PLAYER:EXACTNAME> The placeholder will be replaced with the name of the player calling the command.
# <PLAYER:B3ID> The placeholder will be replaced with the B3 id of the player calling the command.
#
# <PLAYER:ADMINGROUP_SHORT> The placeholder will be replaced with the identifier of the admin group which the player calling the command belongs to.
# <PLAYER:ADMINGROUP_LONG> Gets replaced with the name of the admin group which the player calling the command belongs to.
# <PLAYER:ADMINGROUP_LEVEL> Gets replaced with the level of the admin group which the player calling the command belongs to.
#
[guest commands]
# define in this section commands that will be available to all players
cookie = tell <ARG:FIND_PLAYER:PID> ^1<PLAYER:NAME> ^7 gave you a ^2COOKIE^7
sry = tell <LAST_VICTIM:PID> sorry mate :|
ns = tell <LAST_KILLER:PID> nice shot !
fps = cmd fps:<PLAYER:PID>
fov = cmd fov:<PLAYER:PID>
promod = cmd promod:<PLAYER:PID>
[user commands]
# define in this section commands that will be available to registered players
[reg commands]
# define in this section commands that will be available to players of the regular group or above
[mod commands]
# define in this section commands that will be available to players of the moderator group or above
[admin commands]
# define in this section commands that will be available to players of the admin group or above
[fulladmin commands]
# define in this section commands that will be available to players of the fulladmin group or above
[senioradmin commands]
# define in this section commands that will be available to players of the senioradmin group or above
[superadmin commands]
# define in this section commands that will be available to players of the superadmin group or above
[help]
# define in this section a short description for each of your command.
# This description will be shown when a players uses the !help command
cookie = give a cookie to a player
sry = say you are sorry to your last victim
ns = say 'Nice shot' to your killer
fps = toogle fps view
fov = change fov
promod = promod view