• Print

Author Topic: Ulx permissions  (Read 6739 times)

0 Members and 1 Guest are viewing this topic.

Offline [BDG]Spoopy_Arsenal96

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Ulx permissions
« on: October 10, 2016, 11:11:51 pm »
This sub-forum is only for help or discussion regarding projects created by Team Ulysses. If you are requesting help, please search the forums FIRST to make sure your question has not already been answered. If you still need help, fill in the following information.

My ULib/ULX versions (run "ulx version" in console):
ULib v2.61w
ULX v3.71w
Game mode(s) I am having this problem on:

Sandbox

Lua errors shown in console, if any:
Code: [Select]
<insert errors here>

#Question#

What is the ulx permission to see people spawn props in console??

Ex:
[BDG]Spoopy_Arsenal96<STEAM_0:0:77938644> spawned model models/props_c17/furniturebathtub001a.mdl

I need to know the permission and add it to other staff ranks.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Ulx permissions
« Reply #1 on: October 11, 2016, 01:46:22 am »
This question makes me cringe, but either way I believe it's either this, "ulx spawnecho" permission which can be found in "Groups" tab, under "OTHER" section for permissions. Though, I'm thinking that it might be a default Garry's Mod feature for players who met the "IsPlayerAdmin()" criteria.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline roastchicken

  • Respected Community Member
  • Sr. Member
  • *****
  • Posts: 476
  • Karma: 84
  • I write code
Re: Ulx permissions
« Reply #2 on: October 11, 2016, 05:36:17 am »
From ulx/lua/ulx/log.lua:

Code: Lua
  1. local logSpawnsEcho             = ulx.convar( "logSpawnsEcho", "1", "Echo spawns to players in server. -1 = Off, 0 = Console only, 1 = Admins only, 2 = All players. (Echoes to console)", ULib.ACCESS_SUPERADMIN )
  2. ...
  3. local spawnechoAccess = "ulx spawnecho"
  4. ULib.ucl.registerAccess( spawnechoAccess, ULib.ACCESS_ADMIN, "Ability to see spawn echoes and steamids from joined players in console", "Other" ) -- Give admins access to see spawn echoes by default

I agree with Apple that you can give ulx spawnecho to groups/users in order to allow them to see these prop spawn messages, provided logSpawnsEcho is set to 1.

Searching through the Garry's Mod files, no instances of 'spawned model' were found so I highly doubt there is a vanilla feature similar to this.
« Last Edit: October 11, 2016, 05:38:46 am by roastchicken »
Give a man some code and you help him for a day; teach a man to code and you help him for a lifetime.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Ulx permissions
« Reply #3 on: October 12, 2016, 01:20:55 am »
From ulx/lua/ulx/log.lua:

Code: Lua
  1. local logSpawnsEcho             = ulx.convar( "logSpawnsEcho", "1", "Echo spawns to players in server. -1 = Off, 0 = Console only, 1 = Admins only, 2 = All players. (Echoes to console)", ULib.ACCESS_SUPERADMIN )
  2. ...
  3. local spawnechoAccess = "ulx spawnecho"
  4. ULib.ucl.registerAccess( spawnechoAccess, ULib.ACCESS_ADMIN, "Ability to see spawn echoes and steamids from joined players in console", "Other" ) -- Give admins access to see spawn echoes by default

I agree with Apple that you can give ulx spawnecho to groups/users in order to allow them to see these prop spawn messages, provided logSpawnsEcho is set to 1.

Searching through the Garry's Mod files, no instances of 'spawned model' were found so I highly doubt there is a vanilla feature similar to this.

I just took a guess, I remember messing around with spawnecho a few years ago. Most of the documentation for xgui is utter crap, and some of the stuff just has nothing listed. For example:
« Last Edit: October 12, 2016, 01:27:39 am by Bite That Apple »
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

  • Print