Ulysses
Ulysses Stuff => Releases => Ulysses Release Archives => Topic started by: MrPresident on January 12, 2008, 04:47:07 AM
-
NOTE: THIS ADDON IS FOR AN OLDER VERSION OF ULX AND GMOD12.
There is a new version of this addon called AWarn. Please see that thread for GM13 compatible versions.
This addon requires ULib... but not ULX to function properly.
This gives admins an easy way to warn a user for something they are doing. The addon keeps track of the user's warnings across a server session, so if the user leaves the server and comes back they will retain their current number of warnings. However, if the server is reset, the warnings will be too.
~~New to version 2.0~~
-Retaining warnings across client sessions
-Warnings can decay over time
~~How to Use~~
chat
!warn <player> [reason]
<player> can be a partial name and [reason] is option and does not need to be in quotes.
console
warn <player> [reason]
<player> can be a partial name and [reason] is option and does not need to be in quotes.
This is good for dedicated consoles.
~~Setting this up~~
Go in to the warn2.lua file and there are 4 things to change at the top
Amount of warns needed to kick the user
Groups allowed to use this command (groups should be in quotes and separated by commas)
Should warnings decay over time
How long should it take for 1 warning to decay.
This script is not as versatile as its predecessor in the fact that it isn't a ULX module so it can't be used easily with the accesses in ULX, but it should be more usable in that people who choose to run a different admin modification can still use this (provided they have ULib installed).
Ideas, comments?
As always... feel free to make suggestions, I'm always willing to take in good constructive criticism or suggestions to make my work better.
-
Very nice!
How about one that keeps track of warns across disconnects? It should have a cooldown rate, but archive the warnings in a way other admins can look at them.
-
I do not see a link to dl, is it not finished yet?
-
Sign up for an account and you can see it.
-
It's weird, I'm signed in but i can't see anything either.
-
By default the max warns is set to 3.
* WarnSystem.zip (1.9 KB - downloaded 9 times.)
Registered users should see it in a small link below that line in his post above his signature.
Odd.
-
Will,
I had a similar problem a while ago. Meg was able to fix it no problem though.
-
Ah yes, everything seems to be working fine now, thanks :)
Nice work there Zakap, I'm gonna give this a go on the server this week.
-
Thank you Zakap for this great addon. It is very helpful when someone does something that doesn't deserve a kick or a ban and the 3 strikes rules makes it even better!
-
Concept was good.. didn't take enough time in coding it.. and I have a greater understanding of lua now.. I should remake it =)
-
I don't know what you could add to make this better, it's perfect in my opinion but hey you guys always keep on surprising me so I can't wait to see what you will come up with!
-
New Version.. check it!
-
Sweetness! I'm going to upgrade my server with this release, I had 1.0 but this one seems even better. Thank you.
-
Sweet, you rock out loud MrPresident!
-
Not working on my server, the "Warn2" folder is in the "Addons" folder of Garry's mod on my FTP but still the server seems to ignore it. But then it might not be your addon but probably ULX who seems to break and corrupt everything at the moment on my server..
-
Hmm... Is there logging who warned who for what ? =)
-
Yeah is there logging?
Also, how do you remove warnings?
-
There is no logging.
There is no manual way of removing warnings, the script defaults to 15 minutes per each warning removed.
Open the lua file, there are three settings near the top.
How many warnings before kick,
decay time, and one other I now forget.
-
How about if you make it so the warnings stay over restarts and you can specify how long it should last?
-
Unless someone else decides to pick this up in the mean time.. This may be one of my projects as well as an updated version of my anti-afk scripr once I get back into the swing of things. I couldn't tell you how long that'll be. I'm keeping my wits up on coding though.. doing a lot of web scripting and a lot of .net coding for work out here, but alas no Gmod or lua.. but skills are skills are skills... right?
-
you should make one that bans instead of kicks like pulsar effects ban points system
-
Working on a new version now... It's almost done.. just need some time to test it out before releasing it..
It will feature:
Logging - Sorry.. I don't want to make this dependent on ULX.. Maybe if enough people want it I can make a ULX version.
Cross session (using SQLite.. don't worry it's built in to GMod.)
Optional Client interface to show warnings
Additional Control for admins
Banning as WELL as kicking for certain warning levels
Should be released in the next couple of days I would think.
-
is there a way to set it to ban users? :-\ :-\
-
Can we make it so we can do "warn [SteamID] <Reason>"? That woudl be great :3
-
Is it possible to have this updated to GM13 soon? Thanks
-
Updated for GMOD13. I'm going to lock this thread. Please see the new thread for the new version.