Ulysses

Ulysses Stuff => Suggestions => Topic started by: Dylan on October 31, 2010, 10:03:07 AM

Title: A warning system
Post by: Dylan on October 31, 2010, 10:03:07 AM
I jsut think it would be awesome to setup a database that keeps count of warnings per user, so instead of manually administrating and keeping track of minges in your head, you can see where other admins have warned him, there could be a table kept of how many times and why a user has been warned, and "after x warnings the user is x" could be handled in a text file

and jsut in the above mentioned text file could be like
Quote
1 slap 1
2 slap 5
3 slay
4 kick
5 ban 60
etc.

command: ulx warn [User] {reason} {add this many points to their warn level instead of +1}

maybe another command: ulx viewwarnings [user]
would bring up a derma showing their past offenses


and your record is cleaned after like, 30 days after your last offense? or some convar variabled amount

just had this thought while standing around on the server I admin on, probably some flaws but that's why this is a suggestions subforum I guess
Title: Re: A warning system
Post by: JamminR on October 31, 2010, 02:42:03 PM
Perhaps once SVN goes release, MrPresident will update his Warning system module (http://forums.ulyssesmod.net/index.php/topic,3111.0.html)
Title: Re: A warning system
Post by: MrPresident on October 31, 2010, 03:23:22 PM
Huh, what?
Title: Re: A warning system
Post by: JamminR on October 31, 2010, 06:35:55 PM
Just mentioning to Dylan that a warning module exists for non-SVN, and stating that once ULib SVN goes release, you can update it to work with current codebase, and perhaps take some of his ideas into consideration for additional feature.

Now, you can go back to your nap. :P
Title: Re: A warning system
Post by: MrPresident on October 31, 2010, 07:04:53 PM
Funny story is.. I actually had a completely rewritten update for my warning plugin ready to release as soon as I could test it...

Well.. it's not so funny.. I lost it.. oh well. I'll rewrite it soon. It's on my list of things to do.. as well as my AFK Script.
Title: Re: A warning system
Post by: Dylan on November 04, 2010, 02:23:06 PM
doh, never saw that
anyways, I'll probably adapt it to use SQL and store that info overtime assuming mr.president doesn't mind that I modify it?
Title: Re: A warning system
Post by: JamminR on November 04, 2010, 04:02:12 PM
*sigh* I really need to find time and motivation to dig into our codebase.
I think ULib now has some SQL, or at the least, SQL Lite, capabilities now.
(Hmm. Just checked out http://www.ulyssesmod.net/docs . Not sure it updates when we SVN commit, but, couldn't find any)
Title: Re: A warning system
Post by: Dylan on November 04, 2010, 07:51:55 PM
yah, checked too, nothing popped up in search for "sql", "lite", or "MySQL"

it's cool though it'll only take a few minutes to set it up
Title: Re: A warning system
Post by: MrPresident on November 05, 2010, 08:13:27 AM
I don't mind. Though I was planning on using SQLite in a future update of my own, but I don't have any idea when that will be so...
Title: Re: A warning system
Post by: Megiddo on November 06, 2010, 07:21:34 AM
*sigh* I really need to find time and motivation to dig into our codebase.
I think ULib now has some SQL, or at the least, SQL Lite, capabilities now.
(Hmm. Just checked out http://www.ulyssesmod.net/docs . Not sure it updates when we SVN commit, but, couldn't find any)


No native SQL functionality, just really easy to add it if someone wants to. :)
Title: Re: A warning system
Post by: riki137 on November 09, 2010, 08:38:04 AM
I agree this update for ulx warn would be good.
Title: Re: A warning system
Post by: MrPresident on November 10, 2010, 08:07:37 AM
No promises.. but I have the next 4 days off with nothing to do...

Maybe I can engineer something.