ULX

Author Topic: [Solved] Hide ULX Commands for Spectators  (Read 2958 times)

0 Members and 2 Guests are viewing this topic.

Offline allofmywutsteam

  • Full Member
  • ***
  • Posts: 136
  • Karma: 3
  • MNWO Owner
    • MNWO Discord
[Solved] Hide ULX Commands for Spectators
« on: October 01, 2016, 10:12:10 AM »
ULib v..2.6 // ULX v..3.70 // Game mode: TTT

When players are spectating, they can still run commands (ignore the target). This can cause an issue when they're showing up as alive (TTT).

I'm curious if I can HIDE the command ONLY for spectators? And leave it alone for those alive (obv).

To add to it, if inheriting from respected/admin/superadmin/owner/whatever, then this does not apply for them. So basically everyone below 'respected' will have their Spectator commands hidden to LIVE players, but will show to other spectators.

Update (10/04/2016): the "Everything else" color config section affects @admin chat and User Management echoes. I changed the color to a unique blue color. It's also covering other ULX commands, so it may be the ULX echo color (one of them).
The
« Last Edit: October 04, 2016, 07:19:58 AM by allofmywutsteam »
"Then Jesus said to his disciples, 'Whoever wants to be my disciple must deny themselves and take up their cross and follow me.'" - Matthew 16:24



MNWO: Steam | Discord | Website | Join Server

Offline iViscosity

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 803
  • Karma: 58
Re: Hide ULX Commands for Spectators
« Reply #1 on: October 01, 2016, 10:14:28 AM »
From what I know about ttt, I don't think you'd be able to change the colour. If you mean when spectators use a command and their name is yellow vs green, right? That's just a default ulx thing I believe. Not sure you can change it.
I'm iViscosity. I like gaming and programming. Need some help? Shoot me PM.

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: Hide ULX Commands for Spectators
« Reply #2 on: October 01, 2016, 10:41:57 AM »
From what I know about ttt, I don't think you'd be able to change the colour. If you mean when spectators use a command and their name is yellow vs green, right? That's just a default ulx thing I believe. Not sure you can change it.
You can disable team coloring. It's in the XGUI settings, under the server tab. Commands and echos, I believe.
bw81@ulysses-forums ~ % whoami
Homepage

Offline iViscosity

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 803
  • Karma: 58
Re: Hide ULX Commands for Spectators
« Reply #3 on: October 01, 2016, 10:53:45 AM »
You can disable team coloring. It's in the XGUI settings, under the server tab. Commands and echos, I believe.
Well there you go.
I'm iViscosity. I like gaming and programming. Need some help? Shoot me PM.

Offline allofmywutsteam

  • Full Member
  • ***
  • Posts: 136
  • Karma: 3
  • MNWO Owner
    • MNWO Discord
Re: Hide ULX Commands for Spectators
« Reply #4 on: October 01, 2016, 02:51:13 PM »
You can disable team coloring. It's in the XGUI settings, under the server tab. Commands and echos, I believe.

I'm pretty sure that may have worked. I just mimicked the color for other players. Except, what else may this effect?

"Then Jesus said to his disciples, 'Whoever wants to be my disciple must deny themselves and take up their cross and follow me.'" - Matthew 16:24



MNWO: Steam | Discord | Website | Join Server

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: Hide ULX Commands for Spectators
« Reply #5 on: October 01, 2016, 03:02:14 PM »
I'm pretty sure that may have worked. I just mimicked the color for other players. Except, what else may this effect?

snip
Nothing---though, you'd probably want to keep the "everything else" setting different. I forget what that applies to.

Changing the "Color for players" option only makes player names in chat that color if "Show team colors for players" is disabled. That's it.
bw81@ulysses-forums ~ % whoami
Homepage

Offline allofmywutsteam

  • Full Member
  • ***
  • Posts: 136
  • Karma: 3
  • MNWO Owner
    • MNWO Discord
Re: Hide ULX Commands for Spectators
« Reply #6 on: October 01, 2016, 03:08:30 PM »
Nothing---though, you'd probably want to keep the "everything else" setting different. I forget what that applies to.

Changing the "Color for players" option only makes player names in chat that color if "Show team colors for players" is disabled. That's it.

Okay thank you. Ill wait and see what changes
"Then Jesus said to his disciples, 'Whoever wants to be my disciple must deny themselves and take up their cross and follow me.'" - Matthew 16:24



MNWO: Steam | Discord | Website | Join Server