Ulysses

Ulysses Stuff => Suggestions => Topic started by: blackfire88 on September 11, 2011, 04:27:35 AM

Title: Cleanup and @all commands.
Post by: blackfire88 on September 11, 2011, 04:27:35 AM
Hello,
I run a darkrp server, and I am sick of the fadmin cleanup command.
It cleans up all of the props on the map. What I want is an addon that you can clean up a certain player's props.
!cleanup <name> (Cleans Name's Props)
!cleanup @all (Cleans Everyone's Props)
!cleanup @disconnected (Cleans Up Disconnected Player's Props)
!ckick <name> (kicks and cleans up someone's props and entities)
!cban <name> <minutes> (kicks, bans and cleans up someone's props)

I also suggest adding the @all @dead @alive @me @admin @superadmin commands to ulx. Or even make it a plugin type :P Allow people to add their own @ :P
It would be a good idea, as it is extremely useful for sourcemod users, and I am yet to see a GMoD admin mod that has that ability.
Thanks,
Blackfire
Title: Re: Cleanup and @all commands.
Post by: Rubine on September 11, 2011, 07:45:07 AM
Sounds good
Title: Re: Cleanup and @all commands.
Post by: LuaTenshi on September 11, 2011, 09:06:36 AM
I am on it, I already have a command to cleanup every one, so making the rest should not be that hard.
Title: Re: Cleanup and @all commands.
Post by: Megiddo on September 11, 2011, 11:23:39 AM
These features exist in UPS.
Title: Re: Cleanup and @all commands.
Post by: LuaTenshi on September 11, 2011, 01:00:30 PM
These features exist in UPS.

I know, but there are no chat commands to replicate them, and I think that's what he wants. Also is there a way to call a UPS function?
Title: Re: Cleanup and @all commands.
Post by: Megiddo on September 11, 2011, 01:18:41 PM
For this particular command, you'd call UPS.deleteAll(...). Documentation for this function (bottom of page) (http://ulyssesmod.net/UPSDocs/files/lua/ups/sh_lib-lua.html#deleteAll).
Title: Re: Cleanup and @all commands.
Post by: LuaTenshi on September 17, 2011, 07:49:59 PM
I am sorry its taking so long, getting so much school work.
Title: Re: Cleanup and @all commands.
Post by: blackfire88 on October 02, 2011, 08:52:49 PM
That's ok. It's great that you're doing it!
Title: Re: Cleanup and @all commands.
Post by: strategos on October 03, 2011, 09:53:09 PM
I would like this too.
Title: Re: Cleanup and @all commands.
Post by: Beach on October 06, 2015, 06:34:57 AM
this dosent have everything you wanted but its something http://steamcommunity.com/sharedfiles/filedetails/?id=504072238 (http://steamcommunity.com/sharedfiles/filedetails/?id=504072238)
Title: Re: Cleanup and @all commands.
Post by: LuaTenshi on October 23, 2015, 11:19:09 PM
Now that I am back on these forums I would like to say that I made a ulx cleanup and that I think its on here somewhere and if it's not I will upload it soon. It has some problems with it though. They seem to be because I have so many optional commands on it, and different switches.