ULX

Author Topic: [HELP!] ULX - When a staff member joins they need a pin to get the group  (Read 2419 times)

0 Members and 1 Guest are viewing this topic.

Offline Scout | Anthony F

  • Newbie
  • *
  • Posts: 17
  • Karma: 1
How do you add a system where when an admin or staff logs in they have to enter a pin that is 6 letters in length. When they first get admin or staff they need to put a code in. I want this to be stored locally on the disk.

Thanks in advance - Anthony
« Last Edit: October 16, 2016, 02:41:55 AM by Scout | Anthony F »

Offline Scout | Anthony F

  • Newbie
  • *
  • Posts: 17
  • Karma: 1
[HELP!] ULX - When a staff member joins they need a pin to get the group
« Reply #1 on: October 16, 2016, 04:29:21 AM »
The title says all but I want the min and max to be 6 NUMBERS only numbers.

When they get the rank for the first time (they have to be online) they need to type in their own code.

If you can a command for it to change or remove or add a pin would be good so I can change it if the account gets compromised.

I don't want them to have to type in the command when they get their group I want it to pop up on their screen maybe idk.

I.E !changeauthpin [STEAMID OR NAME if they are online] [new pin]
     !removeauthpin [STEAMID OR NAME if they are online]
     !addauthpin [STEAMID OR NAME if they are online] [pin]

Thanks in Advanced - Anthony

P.S. I don't know if this is the right forum for it.

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: [HELP!] ULX - When a staff member joins they need a pin to get the group
« Reply #2 on: October 16, 2016, 09:33:36 AM »
I don't have the time to write something like this for you, but here's a thought: TOTP-based 2-factor authentication would be an interesting idea to implement. Wonder how hard that would be in Lua.
bw81@ulysses-forums ~ % whoami
Homepage

Offline Scout | Anthony F

  • Newbie
  • *
  • Posts: 17
  • Karma: 1
Re: [HELP!] ULX - When a staff member joins they need a pin to get the group
« Reply #3 on: October 16, 2016, 10:32:37 AM »
I would be happy if you could but I don't know much in lua

Offline roastchicken

  • Respected Community Member
  • Sr. Member
  • *****
  • Posts: 476
  • Karma: 84
  • I write code
Re: [HELP!] ULX - When a staff member joins they need a pin to get the group
« Reply #4 on: October 17, 2016, 04:29:42 AM »
What should happen if they don't log in correctly? Does this need to happen on every log in, or just the first login?
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 iViscosity

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 803
  • Karma: 58
Re: [HELP!] ULX - When a staff member joins they need a pin to get the group
« Reply #5 on: October 17, 2016, 07:31:00 AM »
What should happen if they don't log in correctly? Does this need to happen on every log in, or just the first login?
This sounds interesting, I'd like to see something like this, too. Do you have a Github repo of this? Or are you just doing it locally? I'd like to help :D
I'm iViscosity. I like gaming and programming. Need some help? Shoot me PM.

Offline Scout | Anthony F

  • Newbie
  • *
  • Posts: 17
  • Karma: 1
Re: [HELP!] ULX - When a staff member joins they need a pin to get the group
« Reply #6 on: October 17, 2016, 11:19:15 AM »
Everytime they log back in. this will activate and tell them to enter their pin. Another server has it. But it isn't vgui just a command I think. I messaged him about it. He just told me what is already is - login they enter pin to get group.
I already know that

Offline iViscosity

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 803
  • Karma: 58
Re: [HELP!] ULX - When a staff member joins they need a pin to get the group
« Reply #7 on: October 17, 2016, 11:22:47 AM »
I'll certainly give it a look. It's a good idea, roastchicken if you want to work with me on it I think it could be interesting.
I'm iViscosity. I like gaming and programming. Need some help? Shoot me PM.

Offline Scout | Anthony F

  • Newbie
  • *
  • Posts: 17
  • Karma: 1
Re: [HELP!] ULX - When a staff member joins they need a pin to get the group
« Reply #8 on: October 17, 2016, 11:42:53 AM »
On the server I was talking about you could ignore it like if you want to rp with no staff perms.

Offline iViscosity

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 803
  • Karma: 58
Re: [HELP!] ULX - When a staff member joins they need a pin to get the group
« Reply #9 on: October 17, 2016, 03:35:05 PM »
Ok, so if they don't enter the pin, they're just a "user"?
I'm iViscosity. I like gaming and programming. Need some help? Shoot me PM.

Offline Scout | Anthony F

  • Newbie
  • *
  • Posts: 17
  • Karma: 1
Re: [HELP!] ULX - When a staff member joins they need a pin to get the group
« Reply #10 on: October 17, 2016, 11:27:13 PM »
Yes. I they get it wrong 3 times they get kicked. That is how it works on the other server