Author Topic: Echo Admin Commands to Admins only  (Read 12867 times)

0 Members and 1 Guest are viewing this topic.

Offline mikey

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Echo Admin Commands to Admins only
« on: January 25, 2013, 04:08:45 PM »
Is there something that can currently do this, or can we please, have it implemented into ULX?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6199
  • Karma: 394
  • Project Lead
Re: Echo Admin Commands to Admins only
« Reply #1 on: January 25, 2013, 06:23:22 PM »
Already possible, see config.
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 7951
  • Karma: 373
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Echo Admin Commands to Admins only
« Reply #2 on: January 25, 2013, 06:29:16 PM »
* JamminR sighs deeply.
* JamminR misses the days when it seemed like 1 in 10 actually looked and searched before asking questions.
* JamminR thinks it is now more like 1 in 30.

http://forums.ulyssesmod.net/index.php/topic,5966.0.html
The price one pays for pursuing any profession or calling is an intimate knowledge of its ugly side. - James Baldwin

Offline mikey

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: Echo Admin Commands to Admins only
« Reply #3 on: February 03, 2013, 04:37:20 PM »
; Echo modes:
; 0 - OFF No output to any players when an admin command is used
; 1 - ANONYMOUS Output to players without access to see who used the command (admins by default) similar to "(Someone) slapped Bob with 0 damage"
; 2 - FULL Output to players similar to "Foo slapped Bob with 0 damage"


I don't see the mode which explicitly only echoes to ADMINs and nobody else.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 7951
  • Karma: 373
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Echo Admin Commands to Admins only
« Reply #4 on: February 03, 2013, 05:05:51 PM »
when using !<command>, they will echo to players chat, at the least, as the text you typed.
Try mode 0. If it works, great. If not, use the console ulx commands.
The price one pays for pursuing any profession or calling is an intimate knowledge of its ugly side. - James Baldwin

Offline mikey

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: Echo Admin Commands to Admins only
« Reply #5 on: February 03, 2013, 05:25:23 PM »

And my suggestion was to rather; instead of making it echo !kick, to make it echo !kick AND to Admins (You) kicked (Someone) for Blah, rather than just seeing !kick.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1264
  • Karma: 166
  • open(my $file, "<README") or die;
    • XGUI
Re: Echo Admin Commands to Admins only
« Reply #6 on: February 04, 2013, 08:25:39 AM »
Quote
; 1 - ANONYMOUS Output to players without access to see who used the command (admins by default) similar to "(Someone) slapped Bob with 0 damage"

I'm pretty sure that's what this option is-- Players without access (there's an access tag you can give groups for this) will see "(Someone) kicked Bob!" where admins will see "Person kicked Bob!". If you don't want the players seeing "(Someone) kicked Bob!", then I don't think we have an option for that.

The chat command will show up always for just about every command, I believe.
"The stupidity of an individual on the Internet is generally matched only the by size of their ego, unless the individual in question is unaware of both." - Me

Offline mikey

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: Echo Admin Commands to Admins only
« Reply #7 on: February 04, 2013, 05:30:54 PM »
I'm pretty sure that's what this option is-- Players without access (there's an access tag you can give groups for this) will see "(Someone) kicked Bob!" where admins will see "Person kicked Bob!". If you don't want the players seeing "(Someone) kicked Bob!", then I don't think we have an option for that.

The chat command will show up always for just about every command, I believe.
That's what I'm looking for, for it to say (Admin) kicked Bob; but not to echo (Someone) Kicked bob to non admins.

Do you think you could implement this?

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1264
  • Karma: 166
  • open(my $file, "<README") or die;
    • XGUI
Re: Echo Admin Commands to Admins only
« Reply #8 on: February 06, 2013, 02:52:36 PM »
I imagine it would be easy, but, seeing how this is in Megiddo's area of code, I'd have to run it by him first :P I shall keep it in mind though.
"The stupidity of an individual on the Internet is generally matched only the by size of their ego, unless the individual in question is unaware of both." - Me

Offline mikey

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: Echo Admin Commands to Admins only
« Reply #9 on: February 07, 2013, 07:56:01 PM »
I imagine it would be easy, but, seeing how this is in Megiddo's area of code, I'd have to run it by him first :P I shall keep it in mind though.
It would help me alot if you could :)

Offline nathan736

  • Full Member
  • ***
  • Posts: 143
  • Karma: 4
a person asked me how to code lua and i said this " its like building a rocket up side down then  realizing you did it all wrong."

Offline mikey

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: Echo Admin Commands to Admins only
« Reply #11 on: February 11, 2013, 10:40:43 PM »

Offline nathan736

  • Full Member
  • ***
  • Posts: 143
  • Karma: 4
Re: Echo Admin Commands to Admins only
« Reply #12 on: February 13, 2013, 08:37:37 AM »
i cant because it would create a fork and i dont want that and it's more of a personal preference at this point so it might involve adding convar for it so people can change it to anonymous or something lol
a person asked me how to code lua and i said this " its like building a rocket up side down then  realizing you did it all wrong."

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1264
  • Karma: 166
  • open(my $file, "<README") or die;
    • XGUI
Re: Echo Admin Commands to Admins only
« Reply #13 on: February 13, 2013, 10:53:31 AM »
I've talked to Megiddo about this, and he seems fine with it, so we will be adding this feature (time permitted). I need to get an issue created on our issues page as well, but.. for now just know that it's on our radar!

The eventual echo modes will end up something like this:
Code: [Select]
; Echo modes:
; 0 - OFF No output to any players when an admin command is used
; 1 - ADMINS Output to admins only.
; 2 - ANONYMOUS Output to players without access to see who used the command (admins by default) similar to "(Someone) slapped Bob with 0 damage"
; 3 - FULL Output to players similar to "Foo slapped Bob with 0 damage"
"The stupidity of an individual on the Internet is generally matched only the by size of their ego, unless the individual in question is unaware of both." - Me

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 7951
  • Karma: 373
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Echo Admin Commands to Admins only
« Reply #14 on: February 13, 2013, 07:21:14 PM »
Would it not be easier/more backwards compatible for us to just 'add' the option.
Leave current 0,1,2 as is, and add the option 3?
The price one pays for pursuing any profession or calling is an intimate knowledge of its ugly side. - James Baldwin