Thread Rating:
  • 4 Vote(s) - 3.25 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release Warn & Status Plugin
#11
(01-22-2012, 16:34)5niper Wrote: Installed the "Warn & Status Plugin" and the "Permissions Plugin".
Setup my my xuid in the config.

If I type: !warn <myplayer name> reason
nothing happens; no message, no nothing.

If any other player tries it, they get a message that tells them
that they are not authorized to use that command. So, since
I'm not getting that message, means that I'm authorized,
and since I'm authorized it should work, or yield an error, no?

Which one did you download? If you are using permission plugin you mustn't set these:
Code:
[ADMIN]
admin_xuids=<myxuid> //XUID of clients allowed to use admin commands
max_warnings=3 //[default=3] How many warnings for kick
warn_not_authorized=1/0 //[default=0] Warn if non-admins use admin commands
notify_not_authorized=1/0 //[default=1] Notify if non-admins use admin commands
//If warn_not_authorized is set to 1, notify_not_authorized also needs to be 1!
Remove them.
[Image: azuw.jpg]
Reply

#12
(01-22-2012, 17:00)zxz0O0 Wrote:
(01-22-2012, 16:34)5niper Wrote: Installed the "Warn & Status Plugin" and the "Permissions Plugin".
Setup my my xuid in the config.

If I type: !warn <myplayer name> reason
nothing happens; no message, no nothing.

If any other player tries it, they get a message that tells them
that they are not authorized to use that command. So, since
I'm not getting that message, means that I'm authorized,
and since I'm authorized it should work, or yield an error, no?

Which one did you download? If you are using permission plugin you mustn't set these:
Code:
[ADMIN]
admin_xuids=<myxuid> //XUID of clients allowed to use admin commands
max_warnings=3 //[default=3] How many warnings for kick
warn_not_authorized=1/0 //[default=0] Warn if non-admins use admin commands
notify_not_authorized=1/0 //[default=1] Notify if non-admins use admin commands
//If warn_not_authorized is set to 1, notify_not_authorized also needs to be 1!
Remove them.

Ok. Removed those items. Now I get the "you are not allowed to use that command"
message when I type in !warn 5niper running

Is the !warn command, not part of the Permission plugin? Thought that there
was a version of the "Warn & Status" plugin, that supported the Permission plugin.

Ultimately, what I want to do, is warn players. Then after a predetermined number
of warnings, they automatically get kicked. So I thought using both, the Permission plugin, along with the Warn & Status plugin would do the trick.

Huh
Reply

#13
(01-23-2012, 13:18)5niper Wrote: Ok. Removed those items. Now I get the "you are not allowed to use that command"
message when I type in !warn 5niper running

Is the !warn command, not part of the Permission plugin? Thought that there
was a version of the "Warn & Status" plugin, that supported the Permission plugin.
If you get the message "you aren't allowed to use this command" then it's a problem with the permission plugin and you didn't configure it correctly. Please paste again the sv_config.ini part of Permission Plugin.
(01-23-2012, 13:18)5niper Wrote: Ultimately, what I want to do, is warn players. Then after a predetermined number
of warnings, they automatically get kicked. So I thought using both, the Permission plugin, along with the Warn & Status plugin would do the trick.
Yes that's exactly why I made this plugin.

Edit: Ok I found the problem
Code:
[Permission]
Usergroups=SrAdmin,Admin,User
SrAdmin_xuids=<myxuid>
SrAdmin_commands=*ALL*
Admin_xuids=xuid1,xuid2,xuid3
Admin_commands=*ALL*
User_commands=!help,!getxuid,!gettype,!fov,!rules
User_xuids=*EVERYONE*
Moderator_xuids=xuid1,xuid2,xuid3
Moderator_commands=!help,!getxuid,!gettype
You can not create a new usergroup and set SrAdmin_commands to *ALL*. It's hardcoded that the group "Admin" can use all commands, but for other groups you need to write each command.

So to fix this problem either add yourself to Admin_xuids or do SrAdmin_commands=!warn,!status,!rmwarn
[Image: azuw.jpg]
Reply

#14
(01-23-2012, 15:53)zxz0O0 Wrote:
(01-23-2012, 13:18)5niper Wrote: Ok. Removed those items. Now I get the "you are not allowed to use that command"
message when I type in !warn 5niper running

Is the !warn command, not part of the Permission plugin? Thought that there
was a version of the "Warn & Status" plugin, that supported the Permission plugin.
If you get the message "you aren't allowed to use this command" then it's a problem with the permission plugin and you didn't configure it correctly.
(01-23-2012, 13:18)5niper Wrote: Ultimately, what I want to do, is warn players. Then after a predetermined number
of warnings, they automatically get kicked. So I thought using both, the Permission plugin, along with the Warn & Status plugin would do the trick.
Yes that's exactly why I made this plugin.

Thanks for your reply. I really appreciate it. Big Grin
Like my original post mentioned, here is how the config for the permission
plugin looks like:

[Permission]
Usergroups=SrAdmin,Admin,User
SrAdmin_xuids=<myxuid>
SrAdmin_commands=*ALL*
Admin_xuids=xuid1,xuid2,xuid3
Admin_commands=*ALL*
User_commands=!help,!getxuid,!gettype,!fov,!rules
User_xuids=*EVERYONE*
Moderator_xuids=xuid1,xuid2,xuid3
Moderator_commands=!help,!getxuid,!gettype

It would appear to me, that it does not like *ALL*, it shows me in the correct
group when I type in !gettype, and all the user commands work for me.
Do I have to list all the commands instead of using *ALL*? If so, what are the valid
commands?

Unclear to me how by deleting the lines you asked me to earlier will allow me to
use !warn, as with the config above, there's no place to specify the number of
warnings, etc.

Sorry for the barrage of questions. I guess I don't get it. Huh
Reply

#15
(01-23-2012, 16:10)5niper Wrote: It would appear to me, that it does not like *ALL*, it shows me in the correct
group when I type in !gettype, and all the user commands work for me.
Do I have to list all the commands instead of using *ALL*? If so, what are the valid
commands?

Unclear to me how by deleting the lines you asked me to earlier will allow me to
use !warn, as with the config above, there's no place to specify the number of
warnings, etc.

Sorry for the barrage of questions. I guess I don't get it. Huh
It seems the server is having some problems again and it didn't update my post. Yes that is correct the *ALL* is the problem. If you are creating new groups (SrAdmin) you need to list each command. The commands are listed on the first site and are !warn,!rmwarn,!status

Not sure anymore about the maxwarnings, need to look at source code when I am at home.
[Image: azuw.jpg]
Reply

#16
OK. Looks like progress is being made. Some what. I removed the SrAdmin group.
Added myself to the Admin group instead, for which the *ALL* commands should work.

When I type in !gettype, it says Admin. So far so good.
When I type in !help, it says *ALL* commands. I thought wow! Got it...
But when I tried warning myself, !warn 5ni running, tells me I "you are not authorized to use Admin commands". DOH!

Here is how it reads:

[Permission]
Usergroups=Admin,User
Admin_xuids=<myxuid>
Admin_commands=*ALL*
User_commands=!help,!getxuid,!gettype,!fov,!rules
User_xuids=*EVERYONE*
Moderator_xuids=xuid1,xuid2,xuid3
Moderator_commands=!help,!getxuid,!gettype
Reply

#17
Not sure what commands the *ALL* is supposed to cover really. In mine i had to set it like this.

Admin_commands=*ALL*,!warn,!rmwarn,!status
Reply

#18
(01-23-2012, 17:05)5niper Wrote: OK. Looks like progress is being made. Some what. I removed the SrAdmin group.
Added myself to the Admin group instead, for which the *ALL* commands should work.

When I type in !gettype, it says Admin. So far so good.
When I type in !help, it says *ALL* commands. I thought wow! Got it...
But when I tried warning myself, !warn 5ni running, tells me I "you are not authorized to use Admin commands". DOH!

Here is how it reads:

[Permission]
Usergroups=Admin,User
Admin_xuids=<myxuid>
Admin_commands=*ALL*
User_commands=!help,!getxuid,!gettype,!fov,!rules
User_xuids=*EVERYONE*
Moderator_xuids=xuid1,xuid2,xuid3
Moderator_commands=!help,!getxuid,!gettype
Are you sure you have downloaded the right version (MW3_Warn_Support.zip)? Because that errors looks like you are using the standalone version.
[Image: azuw.jpg]
Reply

#19
(01-23-2012, 18:51)zxz0O0 Wrote:
(01-23-2012, 17:05)5niper Wrote: OK. Looks like progress is being made. Some what. I removed the SrAdmin group.
Added myself to the Admin group instead, for which the *ALL* commands should work.

When I type in !gettype, it says Admin. So far so good.
When I type in !help, it says *ALL* commands. I thought wow! Got it...
But when I tried warning myself, !warn 5ni running, tells me I "you are not authorized to use Admin commands". DOH!

Here is how it reads:

[Permission]
Usergroups=Admin,User
Admin_xuids=<myxuid>
Admin_commands=*ALL*
User_commands=!help,!getxuid,!gettype,!fov,!rules
User_xuids=*EVERYONE*
Moderator_xuids=xuid1,xuid2,xuid3
Moderator_commands=!help,!getxuid,!gettype
Are you sure you have downloaded the right version (MW3_Warn_Support.zip)? Because that errors looks like you are using the standalone version.

It is the file that was in the MW3_Warn_Support.zip. How can I tell? By the file date/and or size? What should it be?
Reply

#20
(01-23-2012, 19:52)5niper Wrote: It is the file that was in the MW3_Warn_Support.zip. How can I tell? By the file date/and or size? What should it be?

The file size should be 7680 bytes, modify date 12. Januray 2012 18:50:02

PS: I told you wrong about the sv_config.ini options. You need to keep the entry max_warnings. Like this
Code:
[ADMIN]
max_warnings=3
[Image: azuw.jpg]
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Wink Plugin with !ban !kick and !tampban clemi555 3 3,907 11-09-2013, 09:21
Last Post: clemi555
  AntiNoScope Plugin clemi555 5 4,380 11-08-2013, 19:13
Last Post: clemi555
  [Release] Bunker Plugin 1.3 archit 68 38,507 10-30-2013, 11:59
Last Post: clacki
  Help Modifying plugin maverigh 5 5,281 10-19-2013, 10:29
Last Post: Nekochan
Shocked [Request] Switch plugin axel-le-meilleur 6 4,663 10-19-2013, 06:59
Last Post: iRoNinja
  [Release] Yurio Map Plugin Yurio 101 57,939 09-26-2013, 13:38
Last Post: First_Semyon
Brick [Release] v1.1 ChangeMap/NextMap Plugin without any configuration milchshake 23 17,448 09-23-2013, 13:18
Last Post: SgtLegend
  Help !say Plugin (like the !say from GodPlugin) Hallla 0 2,539 09-13-2013, 09:31
Last Post: Hallla
Rainbow [Release] MW3: Random Weapon Plugin V1 Nekochan 50 30,732 09-11-2013, 15:11
Last Post: EnVi Sweden Rocks
  Search Plugin Fluid Killcam N3xT_974 1 2,866 09-10-2013, 20:27
Last Post: Nekochan

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.