Jump to content
  • 0

BEC Commands


Achmed

Question

Im trying to sort out BEC to allow us to ban people for a set period of time but just cant get the commands to work. All the other commands work fine its just !ban10, !ban30 and !ban60 that dont seem to want to work.

Anyone got any ideas?

 

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<?xml-stylesheet href="acs.xsl" type="text/xsl" ?>

<BeCommands>

	<!-- Permban -->
	<command id="0">
		<name>!ban</name>
		<group>0</group>
		<cmd>ban</cmd>
		<time>0</time>
		<text>Permban - Admins Decision!</text>
		<desc>USAGE :: [!banl name] or [!ban name !r new reason] :: INFO -> Perm Ban a player.</desc>
	</command>	
	
	<!-- Ban based on Id -->
	<command id="1">
		<name>!banid</name>
		<group>0</group>
		<cmd>bid</cmd>
		<time>0</time>
		<text>Permban - Admins Decision!</text>
		<desc>USAGE :: !banid id :: INFO -> Kick a player based on the BEID. use #Beclient players to get the id.</desc>
	</command>

	<!-- Ban 1 hour -->
	<command id="2">
		<name>!ban60</name>
		<group>0</group>
		<cmd>ban</cmd>
		<time>60</time>
		<text>60 Minute ban! Your banned until _time_</text>
		<desc>USAGE :: [!ban60 name] or [!ban60 name !r new reason] :: INFO -> Ban a player for 1 hour.</desc>
	</command>

	<!-- Ban 30 min -->
	<command id="3">
		<name>!ban30</name>
		<group>0</group>
		<cmd>ban</cmd>
		<time>30</time>
		<text>30 Minute ban! Your banned until _time_</text>
		<desc>USAGE :: [!ban30 name] or [!ban30 name !r new reason] :: INFO -> Ban a player for 30 mintues.</desc>
	</command>	
	
	<!-- Ban 10 min -->
	<command id="4">
		<name>!ban10</name>
		<group>0</group>
		<cmd>ban</cmd>
		<time>10</time>
		<text>10 Minute ban! Your banned until _time_</text>
		<desc>USAGE :: [!ban10 name] or [!ban10 name !r new reason] :: INFO -> Ban a player for 10 min.</desc>
	</command>	
	
	<!-- Kick Command(s).-->
	<command id="5">
		<name>!kick</name>
		<group>0</group>
		<cmd>kick</cmd>
		<time></time>
		<text>Kicked - Admins Decision!</text>
		<desc>USAGE :: [!kick name] or [!kick name !r new reason] :: INFO -> Kick a player. use !r to set a cutoms reason.</desc>
	</command>

	<!-- Kick based on Id -->
	<command id="6">
		<name>!kickid</name>
		<group>0</group>
		<cmd>kid</cmd>
		<time></time>
		<text>Kicked - Admins Decision!</text>
		<desc>USAGE :: !kickid id :: INFO -> Kick a player based on the BEID. use #Beclient players to find the id.</desc>		
	</command>		
	
	<!-- Give a warning to a player	-->
	<command id="7">
		<name>!warn</name>
		<group>0</group>
		<cmd>warn</cmd>
		<time></time>
		<text>This is a Warning given by the admin</text>
		<desc>USAGE :: !warn name :: INFO -> Send a warming to a player, it will increase the warncount if defined in the config file.</desc>
	</command>
	
	<!-- make room for a player. kick last player who joined. --> 
	<command id="8">
		<name>!kicklast</name>
		<group>0</group>
		<cmd>makeroom</cmd>
		<time></time>
		<text>Sorry making room for members</text>
		<desc>USAGE :: !kicklast N :: INFO -> Kick N numbers of player based on join time. last joined players will get kicked.</desc>
	</command>		
	
	<!-- Show player info -->
	<command id="9">
		<name>!playerinfo</name>
		<group>0</group>
		<cmd>pinfo</cmd>
		<time></time>
		<text></text>
		<desc>USAGE :: !playerinfo name :: INFO -> Show player info. Beid and join time.</desc>
	</command>

	<!-- say something in global or to a player -->
	<command id="10">
		<name>!say</name>
		<group>0</group>
		<cmd>say</cmd>
		<time></time>
		<text></text>
		<desc>USAGE :: [!say Hello] or [!say name !Hello] :: INFO -> Send a Battleye message player(s).</desc>
	</command>	
	
	<!-- Show admin info -->
	<command id="11">
		<name>!admins</name>
		<group>100</group>
		<cmd>ainfo</cmd>
		<time></time>
		<text></text>
		<desc>USAGE :: !admins :: INFO -> Show Admins online.</desc>
	</command>

	<!-- Show server uptime -->
	<command id="12">
		<name>!uptime</name>
		<group>100</group>
		<cmd>uptime</cmd>
		<time></time>
		<text></text>
		<desc>USAGE :: !uptime :: INFO -> Show Server Uptime.</desc>
	</command>	

	<!-- Show basic help info -->
	<command id="13">
		<name>!help</name>
		<group>100</group>
		<cmd>help</cmd>
		<time></time>
		<text></text>
		<desc>USAGE :: [!help] or [!help !command] :: INFO -> Use help to show availeble commands.</desc>
	</command>

</BeCommands>

 

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...