Author Topic: Cleanup and @all commands.  (Read 15155 times)

0 Members and 1 Guest are viewing this topic.

Offline blackfire88

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 0
Cleanup and @all commands.
« 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

Offline Rubine

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: Cleanup and @all commands.
« Reply #1 on: September 11, 2011, 07:45:07 AM »
Sounds good

Offline LuaTenshi

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 47
  • Just your ordinary moon angel!
    • Mirai.Red
Re: Cleanup and @all commands.
« Reply #2 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.
I cry every time I see that I am not a respected member of this community.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Cleanup and @all commands.
« Reply #3 on: September 11, 2011, 11:23:39 AM »
These features exist in UPS.
Experiencing God's grace one day at a time.

Offline LuaTenshi

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 47
  • Just your ordinary moon angel!
    • Mirai.Red
Re: Cleanup and @all commands.
« Reply #4 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?
I cry every time I see that I am not a respected member of this community.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Cleanup and @all commands.
« Reply #5 on: September 11, 2011, 01:18:41 PM »
For this particular command, you'd call UPS.deleteAll(...). Documentation for this function (bottom of page).
Experiencing God's grace one day at a time.

Offline LuaTenshi

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 47
  • Just your ordinary moon angel!
    • Mirai.Red
Re: Cleanup and @all commands.
« Reply #6 on: September 17, 2011, 07:49:59 PM »
I am sorry its taking so long, getting so much school work.
I cry every time I see that I am not a respected member of this community.

Offline blackfire88

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 0
Re: Cleanup and @all commands.
« Reply #7 on: October 02, 2011, 08:52:49 PM »
That's ok. It's great that you're doing it!

Offline strategos

  • Jr. Member
  • **
  • Posts: 66
  • Karma: 2
  • I wanna be the guy
    • Community
Re: Cleanup and @all commands.
« Reply #8 on: October 03, 2011, 09:53:09 PM »
I would like this too.

Offline Beach

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: Cleanup and @all commands.
« Reply #9 on: October 06, 2015, 06:34:57 AM »
this dosent have everything you wanted but its something http://steamcommunity.com/sharedfiles/filedetails/?id=504072238

Offline LuaTenshi

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 47
  • Just your ordinary moon angel!
    • Mirai.Red
Re: Cleanup and @all commands.
« Reply #10 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.
I cry every time I see that I am not a respected member of this community.