Ulysses Stuff > Suggestions

Protect ClanTag

<< < (2/3) > >>

Avien:

--- Quote from: JamminR on January 12, 2008, 03:59:23 PM ---How would you propose protecting the tag?

--- End quote ---

There could be a file where if you want you can add clantag(s) to be protected.  Anyone not in this list that uses that tag or characters will be kicked after x seconds.  In order to use the tag, the people who are allowed will have their steamids put into this file.

Example:

File:ProtectClanTag.cfg
//This file will be used to protect clan tags and their members.
//If person is not in this list with steamid, they will be kicked after X seconds.
ProtectTag 0  //set to 1 to enable
SecondsBeforeKick 30

ProtectTag "Tag" "SteamID"  //This person will be allowed to use the tag


Something like that.  I am not sure how to write the code on the ulx side, but instead of asking for a password you would just pull the steamids from this file and if it is not there then kick.


JamminR:
Though an interesting idea, I'm not sure yet one more place to store/keep up with SteamIDs matches our motto of striving for simplicity.

Megiddo, would adding a clantag field, and an addclan command, to the ULib.ucl/ULX be overly complicated?
What about perhaps extending the addgroup command?
 "ulx addgroup <group|clan> <inherit_from> <1/true if clantag to protect clan name/0 if not>"
"ulx adduser <clan|group> <user> <immunity>
Then rewrite the server player spawn/name change hook command/user access query to check the name of the player.
If the name of the player contains a group(that is actually a clan name) that is protected, it warns, timer kicks, etc.

A person can be a member of more than one group right now without inheriting, correct?
This way, not every clan member would have to have admin access. But you could later add a non-admin clan member(defaulting to "user" group access), to an admin group that inherited the user group)

I guess this is getting overly complicated for ULX/ULib. I do think it would make a great module though.

MrPresident:
Let me ask you this. Are you using a different group for people that are allowed to wear the clan tag and those who are not?

I could write a simple module for you, that will check a players name on load and if it finds a string (clan tag) in their name but they are not in the specified group, it will 1.) kick them or 2.) change their name.

This way, you would just add the members of your clan to the group and then when they join the script will know they are allowed to wear the tag.



If this sounds acceptable to you, let me know what groups you are using that are allowed to use the tag, and I'll try my hand at spitting something out for you =)

JamminR:
zakap, same idea as me basically. I was thinking it _might_ not be overly complicated for ULX addgroup to protect the name of the group, as long as the players could be added to other groups later and not have it forget the clan name group.

Avien:
I like your ideas but the problem is that certain people wearing the tag are not all admins, etc...  There is no general group for the members.


Could it not be possible to make this module for the user group, but add in an immunity that can be added to the users.txt, or simply make people above the user group *aka:admin, superadmin, etc.* be immune from this kick?


In other words.  It will kick anyone that uses this so called tag, except for people that hold more power then the standard user.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version