Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only allow players with steamid's #41

Closed
bykidi opened this issue Aug 12, 2016 · 15 comments
Closed

Only allow players with steamid's #41

bykidi opened this issue Aug 12, 2016 · 15 comments

Comments

@bykidi
Copy link

bykidi commented Aug 12, 2016

Hi guys.
Is there any way to force every player on server to have steam running in the background?
The reason i want that is that i want to ban peoples on server by steamid, not by their guids.
(sorry if my london feels a bit of russian, which is)

@PureTryOut
Copy link
Contributor

There currently isn't a method to do that, but you could write a plugin to do it. The Steam ID's are different then the non-Steam ID's.

@D4edalus
Copy link
Contributor

use a gsc script to drop all clients having and invalid steamid?

https://github.com/D4edalus/CoD4x_Server/blob/afe463199fea13177ff9f47be7446560e6d40346/src/scr_vm_functions.c#L71

2016-08-13 11:55 GMT+02:00 PureTryOut notifications@github.com:

There currently isn't a method to do that, but you could write a plugin to
do it. The Steam ID's are different then the non-Steam ID's.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/D4edalus/CoD4x_Server/issues/41#issuecomment-239612991,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARP0TNKzc9F7tAUaDVnqrn2j6t07Ok-yks5qfZR4gaJpZM4JjR_S
.

@PureTryOut
Copy link
Contributor

Isn't this more something a plugin should do? I would think you only use gsc to change or enhance gameplay in any way.

@PureTryOut
Copy link
Contributor

Since this is not related to the core of the server, this should probably be closed.

@bykidi
Copy link
Author

bykidi commented Aug 20, 2016

gsc scripts, plugins... why not just add this thing as server var?
sv_allowonlysteamids "1"

@IceNinjaman
Copy link
Collaborator

I am working on it at the moment.

@bykidi
Copy link
Author

bykidi commented Aug 20, 2016

Now that's what i wanted to hear :D 👯

@bykidi bykidi changed the title Only allow players with steam started Only allow players with steamid's Aug 20, 2016
@IceNinjaman
Copy link
Collaborator

It is implemented now with latest steam library and server version.

@bykidi
Copy link
Author

bykidi commented Aug 30, 2016

Closed. Thanks so much!

@bykidi bykidi closed this as completed Aug 30, 2016
@PureTryOut
Copy link
Contributor

@IceNinjaman for the next time. If you mention the words "Fixes #41" (where #41 is the number of an issue), or "Resolves #41", it will automatically close the related issue once the pull request is merged.

Another good reason to start using pull requests instead of pushing directory to the main repository. Seriously, get used to using pull requests.

@Kingwolf123
Copy link
Contributor

What is the CVAR which enables this feature?

@T-Maxxx
Copy link
Contributor

T-Maxxx commented Aug 30, 2016

sv_steamgroup

@bykidi
Copy link
Author

bykidi commented Aug 30, 2016

@T-Maxxx thats for ignoring password feature, am i right?
he asks for this exact one, dropping clients that don't use steam

@T-Maxxx
Copy link
Contributor

T-Maxxx commented Aug 31, 2016

I don't know. I just saw this dvar added in latest commit. Obviously, it requires some client improvements which I have no access. And I don't know what exactly should be in this dvar. Looks like steam group id (as string) and player must be a member of this group.

@PureTryOut
Copy link
Contributor

As taken from @IceNinjaman on the CoD4X forum:

Cvar sv_steamforce
Value 0: Don't require players having Steam running. This works until now and it is still recommended. This is default value.
Value 1: Require every player entering the server having Steam running.
Value 2: Same as 1 but abandoning playerid. Playerid will be replaced with the steam id.

Cvar sv_steamgroup
Value is the 64 bit identifier of a steam group.

Using the value Steamgroup together with g_password will restrict players from joining server without having a valid password or being member of the steamgroup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants