ItsMods

Full Version: [SOURCE][Discontinued]Ingame RCON tool [Version 0.7.5]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
(02-10-2012, 08:57)bonemind Wrote: [ -> ]Hey,
As of version 0.7.0 I switched from the 'admins' file, to the format pozzuh uses to store and read user groups in his plugin, So that might have been the issue, although, if you didn't configure anything it should have given errors and let no one use the commands, was usepermissions set to true? If it was, could you send me your configs so i can make sure that doesn't happen again?

-Bonemind

I verified that I was running 0.7.0. I did a little testing and here is what I found.

Ingame RCON tool plugin only:
usepermissions=true

Every user had access to every command

Ingame RCON tool plugin only:
usepermissions=false
no xuids in the sv_config.ini or admins files

Received a message that I did not have permission for that function.

Ingame RCON tool plugin + Pozzuh's permissions plug:

usepermissions=false
xuid's listed in sv_config.ini

Everything worked as expected.

So it looks like when usepermissions is set to true and pozzuh's plugin is absent that it just gives access to anyone. I can try to zip up my config if still needed.

I'll admit I was confused setting this up because in the readme.txt it has
Quote:If you use the built in permissions, add the following to the admins file, every new admin gets his own line:
XUID username
Example:
123456789ABC Bonemind

If I understand what you changed, you no longer have an 'admins' file (explains why it wasn't in the .rar). Instead we need to add to the sv_config.ini the following:

Quote:Admin_xuids=01100xxxxxxxxxx

Am I understanding that right?

Thanks for all of your help!

TiLLeR
To Tiller

Ingame RCON tool plugin + Pozzuh's permissions plug

rights for groups:

[ServerAdmin]
//enables built in permissions, values: true or false
usepermissions=true

[Permission]
Usergroups=Admin,Moderator,User
Admin_xuids=01100341026gd151
Admin_commands=*ALL*
Moderator_xuids=0110450105768ed5
Moderator_commands=!help,!getxuid,!gettype,!kick,!kickc,!tmpban
User_commands=!help,!getxuid,!gettype
User_xuids=*EVERYONE*

rights for everyone:

[ServerAdmin]
//enables built in permissions, values: true or false
usepermissions=false

[Permission]
Usergroups=Admin,Moderator,User
Admin_xuids=01100341026gd151
Admin_commands=*ALL*
Moderator_xuids=0110450105768ed5
Moderator_commands=!help,!getxuid,!gettype,!kick,!kickc,!tmpban
User_commands=!help,!getxuid,!gettype
User_xuids=*EVERYONE*

Ingame RCON tool plugin

rights for everyone:

[ServerAdmin]
//enables built in permissions, values: true or false
usepermissions=false

rights for no one:
//enables built in permissions, values: true or false
usepermissions=true

Where is the problem???
Dont forget to reload plugins or restart the server...
Thank you for all of that DeathAngel1479.... I get it. I typed all the information that I did b/c bonemind had asked me a question.

The bottom line is that I had my server misconfigured. I did not have Pozzuh's permission plugin installed but had usepermissions=false (which meant that boneminds plugin expect it to be there). This left the in game rcon open to everyone which was not what I was expecting.

Part of my challenge was that the readme.txt was not updated and referenced the admins file for the plugin (the old method Pozzuh used). I added the admins file however couldn't get ingame rcon to work when I had usepermissions=true... so trying to get it to work I changed to 'false' as mentioned above and rcon worked for me.... i simply didn't realize that I opened it for everyone else too. Again it was my mistake.

From reading boneminds response to me I got the feeling that he thought that even with my misconfiguration that it should have errored which is why I tried to provided as much information as possible.

So in the end all is good

Tx,

TiLLeR
I am a little confused...

IN my config folder have this set;

//enables built in permissions, values: true or false
usepermissions=true

Then I have added two admins to my admins file and restarted the server, when they try to type a command it says they have no permission. This wasn't a problem before the update and I am a little lost. If I disable built in permissions then everyone has access to the commands but if I enable it no one has access.

I do not want to use the permission plugin as I really have no use for it as of now, I just need to give several users full admin.

(02-11-2012, 21:25)kraze1994 Wrote: [ -> ]I am a little confused...

IN my config folder have this set;

//enables built in permissions, values: true or false
usepermissions=true

Then I have added two admins to my admins file and restarted the server, when they try to type a command it says they have no permission. This wasn't a problem before the update and I am a little lost. If I disable built in permissions then everyone has access to the commands but if I enable it no one has access.

I do not want to use the permission plugin as I really have no use for it as of now, I just need to give several users full admin.
you need to use the same settings as the permissions plugin. add this to sv_config:

//Don't remove the User & Admin groups!
[Permission]
//You can add more user groups here
Usergroups=Admin,Moderator,User
//Add admin xuids here (Go ingame and use !getxuid)
Admin_xuids=xuid1,xuid2,xuid3
//Admins can use all commands (Do not change!).
Admin_commands=*ALL*
//Add moderator xuids here
Moderator_xuids=xuid1,xuid2,xuid3
//Add commands moderators can use here
Moderator_commands=!help,!getxuid,!gettype
//Add commands everyone can use
User_commands=!help,!getxuid,!gettype
//Everyone who isn't in any other group is a user (Do not change!).
User_xuids=*EVERYONE*
!rcon map_rotate

Seems to crash the server. Not sure if this is an rcon bug or addon bug.
(02-13-2012, 04:18)kraze1994 Wrote: [ -> ]!rcon map_rotate

Seems to crash the server. Not sure if this is an rcon bug or addon bug.

I think it was a bug that came with the update.
I had no problem with V1.206.
May be there is a problem with V1.251 or V1.253.
There no problems to use that command on V1.254.
Update...
I downloaded the latest update from the website, was the file no updated yet?
(02-13-2012, 06:13)kraze1994 Wrote: [ -> ]I downloaded the latest update from the website, was the file no updated yet?

Which Version display your console?
Latest on webside is V1.254.
My Server run on V1.254.
I tested !rcon map_rotate, a few minutes ago, without problems.

Or may be theres a bug in your sv_maprotation or .dspl file.
The I keep downloading from;
http://cod6hmod.itshax.com/mw3_addon/

It is displaying this as the version;
Version 1.253

Where did you get Version 1.254?
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40