ULX

Author Topic: Selecting the team when they join the server  (Read 3973 times)

0 Members and 1 Guest are viewing this topic.

Offline men232

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Selecting the team when they join the server
« on: January 04, 2011, 07:56:11 AM »
Is there a script allows you to choose team on the server!
« Last Edit: January 04, 2011, 08:29:57 AM by men232 »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Selecting the team when they join the server
« Reply #1 on: January 04, 2011, 09:10:38 AM »
Do you mean choose a team via a menu? Like gamemodes sometimes do? Why would you want that?
Experiencing God's grace one day at a time.

Offline men232

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: Selecting the team when they join the server
« Reply #2 on: January 04, 2011, 09:15:11 AM »
When a player comes to the server menu appear to select the team!
It is very necessary!

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Selecting the team when they join the server
« Reply #3 on: January 04, 2011, 09:47:20 AM »
It's up to the gamemode to provide it if it's necessary.
Experiencing God's grace one day at a time.

Offline men232

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: Selecting the team when they join the server
« Reply #4 on: January 04, 2011, 10:57:17 AM »
Sandbox ! it is possible!

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Selecting the team when they join the server
« Reply #5 on: January 04, 2011, 11:02:07 AM »
There are no teams in the default sandbox gamemode. Are you referring to UTeam (one of our releases, now integrated with ULX)?
Experiencing God's grace one day at a time.

Offline men232

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: Selecting the team when they join the server
« Reply #6 on: January 04, 2011, 11:08:35 AM »
A uteam will allow players to choose a team ?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Selecting the team when they join the server
« Reply #7 on: January 04, 2011, 11:18:25 AM »
UTeam allows you to assign users teams
Experiencing God's grace one day at a time.

Offline men232

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: Selecting the team when they join the server
« Reply #8 on: January 04, 2011, 11:19:28 AM »
That is not what I want?  :(

Offline men232

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: Selecting the team when they join the server
« Reply #9 on: January 04, 2011, 11:29:12 AM »
For example, as in Counter Strike

Offline men232

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: Selecting the team when they join the server
« Reply #10 on: January 04, 2011, 12:10:31 PM »
Is it possible that the player changed the group (only given) ?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Selecting the team when they join the server
« Reply #11 on: January 04, 2011, 12:29:14 PM »
I'm still at a loss as to what you're asking, Sandbox doesn't have teams. Please don't double (and triple) post. If you have more information to add and no one else has replied yet, edit your last post.
Experiencing God's grace one day at a time.

Offline men232

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: Selecting the team when they join the server
« Reply #12 on: January 04, 2011, 12:39:31 PM »
There is a command in ulx "ulx adduser" how  to enable users to use this command? and restrict the groups that they can nominate?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Selecting the team when they join the server
« Reply #13 on: January 04, 2011, 01:47:57 PM »
You give permission to the command by using `ulx groupallow group_to_allow "ulx adduser"` in console. If you want to restrict the groups they can add users to, it'd be `ulx groupallow operator "ulx adduser" "* group1,group2,group3"`, where operator is the group you're giving permission to use ulx adduser to, and group1, group2, group3 are the groups operators can add other users to. If you want to prevent them from changing groups of already-added admins, you'd use `ulx groupallow operator "ulx adduser" "!%admin group1,group2,group3"`.
« Last Edit: January 04, 2011, 02:16:03 PM by Megiddo »
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Selecting the team when they join the server
« Reply #14 on: January 04, 2011, 02:02:47 PM »
Groups in Gmod are not the same as teams.
Groups control access.
In other gamemodes, teams control player vs player.
Sandbox has no teams by default, though yes, they can be 'assigned'.
We see no reason to have players choose in Sandbox.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming