ItsMods

Full Version: [SOURCE] Ingame Rcon
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
I'd advise you to use ChatType.ChatContinue for the return, otherwise plugins like PM Manager will not work correctly.
(it would show the !pm in the chat with this enabled)

Looks good and useful because IW's ingame rcon doesn't work Big Grin

Suggestion: use passwords for players to login or use a combination of XUIDs and passwords.
Very nice!
Happy to see more and more people using this
will compile now for ya
Compiled + syntax errors fixed (4)
var declaration goes inside the class, not outside the class, you did it to the pluginpack plugins as well Tongue
Shouldn't it be
CSHARP Code
  1. if( l != "" )
  2. foreach( string xuid in l.Split( ',' ) )
  3. admins.Add( xuid );
(01-06-2012, 12:44)zxz0O0 Wrote: [ -> ]Shouldn't it be
CSHARP Code
  1. if( l != "" )
  2. foreach( string xuid in l.Split( ',' ) )
  3. admins.Add( xuid );

I thought that too
Nice one

But a few things im not clear on..

Where do i find players xuids and where in the code do i place it
[RCON]
xuids=admin_1_xuid,admin_2_xuid,admin_3_xuid

What commands can be used in game, i'm asuming its things like !status, !kick !ban and so on, a full list would be good.

Thanks this is going to be a great plugin for our clan.
(01-06-2012, 12:47)opsvjace Wrote: [ -> ]Nice one

But a few things im not clear on..

Where do i find players xuids and where in the code do i place it
[RCON]
xuids=admin_1_xuid,admin_2_xuid,admin_3_xuid

What commands can be used in game, i'm asuming its things like !status, !kick !ban and so on, a full list would be good.

Thanks this is going to be a great plugin for our clan.
Type status in server console or rcon and you will see the xuid of every player. If your xuid is ex. 11000013AC09D20 you do it like
Code:
[RCON]
xuids=11000013AC09D20, ...
Here is a list of all commands
http://www.mapmodnews.com/article.php/MW...Rcon-Setup
Ok so am i right in thinking this works just like the stock ingame rcon.
@zxz yeah thats right my mistake

Just type: !rcon (any command)
So if i want to change the timelimit:
!rcon scr_dm_timelimit 10
(01-06-2012, 13:38)iAegle Wrote: [ -> ]@zxz yeah thats right my mistake

Just type: !rcon (any command)
So if i want to change the timelimit:
!rcon scr_dm_timelimit 10

Thanks but im still unclear on how to add admins to the sv_config.ini.
where it says "admin" in the code do i add the xuid for the player.

xuids=admin_1_xuid,admin_2_xuid,admin_3_xuid
So
xuids=000000001111222AAD_1_xuid,01010101ADC_2_xuid,000000111222DGS_3_xuid.... and so on.

Thanks
Pages: 1 2 3 4