• AIDS - Administrative Integrated Discipline System [Hey You. Your Admin Mod Sucks.]
    113 replies, posted
[QUOTE=MerzBro;28257728]I've got a slightly larger-than-normal update in the works.[/QUOTE] [lua]local hcall = hook.Call function hook.Call(type,gm,...) for k , v in pairs(some_table_of_plugins) do if v[type] then local a,b,c,d = v[type](v,gm,...) if a or b or c or d then return a,b,c,d end end return hcall(type,gm,...) end[/lua] Larger than normal? [editline]24th February 2011[/editline] Not tabbed since I wrote it in the reply box.
It's not large in terms of filesize, i mean large as in more than planned originally.
You should use PlayerCanHearPlayersVoice and PlayerCanSeePlayersChat to mute people. That way you won't break anything and so on.
[QUOTE=MerzBro;28257098]Usergroups are just a messy additional feature that most people don't have a use for.[/QUOTE] [[url=x]citation needed[/url]] [QUOTE=MerzBro;28257098]Chat commands, in my opinion, are the lazy way of implementing a user interface.[/QUOTE] Things like !slay, !tp and !bring are much faster to use by typing them than to open a menu, find the player, find the command and run it. And if you're going to ban someone, you'll have to type the reason anyway, so you might as well type !ban <player> in front of it. [QUOTE=MerzBro;28257098]If you wanted to crush a person with the Big Fucking Yellow Thing using a chat command then you'd literally have to write something like "/crush someguy bigyellowthing" or something similar in length.[/QUOTE] Because that is a horribly inefficient chat command. Instead of a full name, you'd use a short identifier like /crush someguy yellow. You could even implement auto-complete!
This is way better than the admin plugin I was working on for RP servers: '[B]H[/B]elping[B] E[/B]achother [B]R[/B]oleplay [B]P[/B]leasantly [B]E[/B]verlasting [B]S[/B]ystem'. Well I guess it's back to the drawing board for me :argh:
[QUOTE=Overv;28258795] Things like !slay, !tp and !bring are much faster to use by typing them than to open a menu, find the player, find the command and run it. And if you're going to ban someone, you'll have to type the reason anyway, so you might as well type !ban <player> in front of it.[/quote] You're talking as if it takes ages to press a key, find a player's name in a list and click twice. If you don't have the patience to do that then i don't know what to tell you. Perhaps you have bigger problems to deal with than moderating a GMod server.
[QUOTE=MerzBro;28258891]You're talking as if it takes ages to press a key, find a player's name in a list and click twice. If you don't have the patience to do that then i don't know what to tell you. Perhaps you have bigger problems to deal with than moderating a GMod server.[/QUOTE] "I am out of arguments, now I have to resort to personal insults." How cute. I can't wait to see the code of this masterpiece.
Do you seriously want me to benchmark this? I can really make you a video comparing me using my menu to crush a player with something, then typing it out. Keep in mind some players type even slower than the average person so the results could vary widely among gmod users. Chat commands are a shitty way to implement anything other than roleplay chat. Even garry agrees with that point. Even if chat commands somehow managed to shave off 0.05 seconds spent running a command, it's not like you're using the admin mod 100 times per minute. It's a meaningless 'optimization' (i put this in quotes because it's offest by the user's ability to type at a decent speed - if you're a slow typer then it's actually slower than using vgui). At any rate - i released this only because it does what it's intended to do. I originally only made it for myself. If you're the kind of person who wants an admin mod with chat commands and all those bells and whistles then perhaps this isn't for you.
[QUOTE=Overv;28259088]How cute. I can't wait to see the code of this masterpiece.[/QUOTE] [url=http://www.facepunch.com/threads/922041]You don't have to wait[/url]. Nice to see Rambo is back. [QUOTE=MerzBro;28259142]Chat commands are a shitty way to implement anything other than roleplay chat. Even garry agrees with that point. Even if chat commands somehow managed to shave off 0.05 seconds spent running a command, it's not like you're using the admin mod 100 times per minute. It's a meaningless 'optimization' (i put this in quotes because it's offest by the user's ability to type at a decent speed - if you're a slow typer then it's actually slower than using vgui).[/QUOTE] It's personal preference. I prefer chat commands myself and I have yet to see a GUI that I'd prefer over typing out commands.
I understand chat commands are a personal preference, and i can see how some people become used to them. I personally dislike them and prefer vgui, which is why this admin mod is purely vgui. If it's not suitable for a person's needs then i guess you can use one of the other billion admin mods out there that use chat commands. As soon as gmod.org decides to come back to life then i'll upload my most recent changes. I added support for purely clientside modules and modules that require hooks. [QUOTE=Overv;28259088] How cute. I can't wait to see the code of this masterpiece.[/QUOTE] Got a chip on ya shoulder, mate?
[QUOTE=MerzBro;28259142]Do you seriously want me to benchmark this? I can really make you a video comparing me using my menu to crush a player with something, then typing it out. Keep in mind some players type even slower than the average person so the results could vary widely among gmod users. Chat commands are a shitty way to implement anything other than roleplay chat. Even garry agrees with that point. Even if chat commands somehow managed to shave off 0.05 seconds spent running a command, it's not like you're using the admin mod 100 times per minute. It's a meaningless 'optimization' (i put this in quotes because it's offest by the user's ability to type at a decent speed - if you're a slow typer then it's actually slower than using vgui). At any rate - i released this only because it does what it's intended to do. I originally only made it for myself. If you're the kind of person who wants an admin mod with chat commands and all those bells and whistles then perhaps this isn't for you.[/QUOTE] Yeah I want a simple admin mod but chat commands are just nice for convenience. Would suggest you don't release what you make to be 'optimized' for only yourself otherwise you won't get that large of a userbase I prefer not to have to bind yet another key on my keyboard (I've nearly none left) to pull up a menu which will block my vision regardless of its size or placement on the screen while I search for the button I'm looking for. I just want to be able to type what I want to happen.
Alright well if it makes it that much easier i'll add them. I still think they're rather inefficient.
<3
So i've made chat commands pack a bit more punch. You can use them to apply blanket bans or whatever else to multiple people at once. For example, horse rape: [IMG]http://i1026.photobucket.com/albums/y322/CptNuke/gm_flatgrass0008.jpg[/IMG] You gotta be careful though. You could kick everyone in the server with a letter A in their name if you wanted to. I haven't put any safety checks in so use the chat commands carefully. If you aren't specific enough you may end up applying actions to more than one person. The chat commands use the console command names for reference. If you don't know the command name for a certain action just type 'aids' in the console to see a list of possible actions. Updated the OP with the new files.
I accidentally banned a bot and I don't know how to unban him. There really should be a command to unban.
In my opinion, any admin mod that's modular seems bloated. [editline]When? I don't know when.[/editline] Meant that anything that comes with a lot of unneeded things seems bloated. Anything that's modular is capable of getting bloated by a user who wants to download a bunch of things without testing them out.
There's nothing wrong with making something modular. The point is that you can add and remove your own modules. You can pick and choose which modules are used, so the amount of bloat is determined by you, the owner of the server. For example, you could install AIDS and only use the kick and ban modules if you wanted. You could uninstall all the other modules and tada, you have a very barebones admin mod.
[QUOTE=MerzBro;28263901]There's nothing wrong with making something modular. The point is that you can add and remove your own modules. You can pick and choose which modules are used, so the amount of bloat is determined by you, the owner of the server. For example, you could install AIDS and only use the kick and ban modules if you wanted. You could uninstall all the other modules and tada, you have a very barebones admin mod.[/QUOTE] Are you saying that AIDS is expandable?
I am going to use this on my new server! :D
This is nice Merz.
Did some optimizing, modules are even more compact now. Reinstall everything if you've downloaded this recently. The updates are on page 1, grab it while it's toasty. I also added a very subtle new addition to the vgui menu, see if you can spot it. :v: I'm looking to add more functionality to this. If you can think of a bare necessity i missed, or perhaps a comical new way to ban people... Post it here.
You added the same type of plugin architecture to your mod right after I announced my mod, and gave an example of my plugin system. Coincidences are funny sometimes :v: [QUOTE=Hentie;28263842]In my opinion, any admin mod that's modular seems bloated. [editline]When? I don't know when.[/editline] Meant that anything that comes with a lot of unneeded things seems bloated. Anything that's modular is capable of getting bloated by a user who wants to download a bunch of things without testing them out.[/QUOTE] Saying that modularity is bad just because its possible for a user to completely mess up his mod by installing all sorts of useless pieces of garbage doesn't point to modularity being a bad idea, it just points to a bad end user, you can't make everything idiot proof :frown:
[QUOTE=Kopimi;28272142]You added the same type of plugin architecture to your mod right after I announced my mod, and gave an example of my plugin system. Coincidences are funny sometimes :v: Saying that modularity is bad just because its possible for a user to completely mess up his mod by installing all sorts of useless pieces of garbage doesn't point to modularity being a bad idea, it just points to a bad end user, you can't make everything idiot proof :sad:[/QUOTE] orrr.... maybe he made his and has been working on his for a while then yours came out at the same time his did and he thought the same thing ;D
Mine has technically been out for more than a year, i just reposted it (the forum migration made the old thread die) and added some more features and modularity to it.
[QUOTE=TheRealc-unit;28272183]orrr.... maybe he made his and has been working on his for a while then yours came out at the same time his did and he thought the same thing ;D[/QUOTE] Thats the joke lol [editline]25th February 2011[/editline] I am bad at joking then I guess :eng99:
After reading the first page I discovered Overv dosent like it competition when it comes to evolve.
[QUOTE=zzaacckk;28273038]After reading the first page I discovered Overv dosent like it competition when it comes to evolve.[/QUOTE] I wouldn't like it competition either.
Could there be a plugin or something that lets an admin turn on/off noclip on himself/players? [editline]25th February 2011[/editline] and one that lets an admin send a player/himself to where he's looking?
I can whip those up. Any other requests?
With chat commands, have a system where you, say place a $ before a name to make the command effect everyone with the letter or part of a name. eg !kick b would stop you kicking everyone with a B in their name where !kick $b would kick everyone with a b in their name. I have slayed many people with zombie in their name by accident.
Sorry, you need to Log In to post a reply to this thread.