Ulysses Stuff > Ulysses Release Archives
Temporarily add someone to a group
MrPresident:
This addon is unreasonably simple...
All it does is adds a player to a user group.. just like ulx adduser does.. however it does not save said player to the user.txt file. This means that when the server session ends, they will revert back to whatever rank they held before.
to use it, simply type
--- Code: ---ulx tempadduser <user> <group>
--- End code ---
Even if they log out.. unless the server has changed maps or restarted they will keep the temp group. However when the server restarts or starts a new map they will not have the temp group anymore and will be whatever they were before.
NOTE: In the request for this addon the person requested a timed group. I know how to make this, but it would require more time. I MIGHT do it later. for now, or until someone else decides to take up this task, this is the best substitute.
must be logged in to view attachments.
JamminR:
Excellent work Mr.Pres.
I'd considered adding/modding our adduser to do the same and just never did it.
As always, glad to see you contributing.
Megiddo:
Sweet, good job. :)
bph192:
could you posibly make it can save and keep the user in that group to a set date
somthing like.
ulx dateadduser <user> <group> <date>
ulx dateadduser raptor admin 10/08/2009
and thay would stay in that group untill the date has passed
Dv2236:
i think time (hr/min) would just be better, if you want them to be temp group till that day all u need is some math skills and add them for that many hrs/min
Navigation
[0] Message Index
[#] Next page
Go to full version