Poll

Do You Like The New GUI Better?

Yes, Much Better!
71 (59.7%)
Yeah
22 (18.5%)
I Don't Care, I Use The Console
14 (11.8%)
No
4 (3.4%)
I Prefer The Old GUI
8 (6.7%)

Total Members Voted: 116

Author Topic: URestrict [Depreciated-author no longer supports]  (Read 464879 times)

0 Members and 1 Guest are viewing this topic.

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
URestrict [Depreciated-author no longer supports]
« on: September 29, 2008, 02:05:43 PM »
*==NOTE-Only Guaranteed To Work With The Sandbox Gamemode==*
URestrict is a ULib plugin that allow advanced control of you users on your server.
     With URestrict you can:
          -Control what weapons/swept users are allowed to use based on what group they're in. Usage include spawning, picking up, and spawning with.
          -Control what tools each group is allowed to use.
          -Control how many props, vehicles, sents, ragdolls, and npcs each group can spawn
          -Control what props, vehicles, sents, ragdolls, and npcs each group can spawn
    With both loadout and tool restictions you have various options such as:
          -Admin exclusion
          -Ability to disable global restrictions for either side loadouts or tools
    Best thing about it is, everything is done ingame with a gui. No need for console commands, just click buttons and enjoy the power at your finger tips. :D

How to get it:
    * SVN: http://ulyssesmod.net/URestrict
    * REQUIRE ULIB SVN TO FUNCTION *

Creating Loadouts
================================================
1: Type URestrict in the console
2: Open the loadouts tab
3: Click Add ( Middle Column )
4: Type in a name for your loadout ( Text box appears after clicking add )

Changing Group Loadouts
================================================
1: Type URestrict in the console
2: Open the loadouts tab
3: Select what group you want to modify ( Column on the far left )
4: Select what loadout you wan that group to use ( Column in the middle )
5: Click apply ( Middle Column 3rd button from the bottom )

Modifying Loadouts
================================================
1: Type URestrict in the console
2: Open the loadouts tab
3: Select what loadout you want to modify  ( Column in the middle )
4:   To Remove Items From The Loadouts
      1: Select what items you want to remove (Column on the right )
      2: Click modify ( Column on the right )
5:   To Add Items To The Loadouts
      1: Click modify ( Column on the right )
      2: Type in what you want to add ( Text box appears after clicking modify)

Tool Restrictions
================================================
1: Type URestrict in the consol
2: Open the tools tab
3: Select a tool to apply restrictions to (Left Column)
4: Click add (Center Column)
5: Select the newly added tool (Center Column)
6: Click allow/deny (Right Column)
7: Now type in the groups you would like to allow/deny use
    of the tool separating each with a space then press enter

PICTURES :D






« Last Edit: June 10, 2011, 09:59:22 PM by JamminR »
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline Cornflake

  • Newbie
  • *
  • Posts: 26
  • Karma: 0
Re: URestrict
« Reply #1 on: September 29, 2008, 03:16:20 PM »
Oh snap, sweet  :D Now to make certain STOOLs admin only I no longer have to do messy Lua edits! I'm going to give this a  try today, I'm sure it will be very nice.

jay, you have been coming out with some really great addons, gotta love APromotion! Keep up the excellent work!

Offline Enrico42

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
Re: URestrict
« Reply #2 on: September 29, 2008, 04:11:13 PM »
good work !!!  ;)

Offline devsolution

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: URestrict
« Reply #3 on: September 29, 2008, 04:30:38 PM »
Thats our Jay!
When Jay just get a few more scripts together I'd like to see a pack :D

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: URestrict
« Reply #4 on: September 29, 2008, 05:52:33 PM »
Nice!
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: URestrict
« Reply #5 on: September 29, 2008, 07:33:57 PM »
The SVN link provided gives a 404 not found.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline roxon101

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: URestrict
« Reply #6 on: September 30, 2008, 06:31:17 PM »
Really wouldn't mind being able to download this  ;D

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #7 on: September 30, 2008, 07:57:43 PM »
The SVN link provided gives a 404 not found.

     - In a SVN client it works :P

Quote
Really wouldn't mind being able to download this
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: URestrict
« Reply #8 on: September 30, 2008, 08:04:17 PM »
     - In a SVN client it works :P

Does in http too. :P
I just had to remove the space at the end of the copy paste.
No, i wouldn't download it this way, but I like to browse some of our code at times manually.


"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Sc00by22

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 0
Re: URestrict
« Reply #9 on: October 07, 2008, 09:17:49 AM »
When I try and open the GUI in-game I'm getting this error :

ULib/modules/client/urestrict_cl.lua:228: attempt to concatenate field '?' (a nil value)


Also, I was trying to restrict wire to specific groups, I think the tool name is "wire" but It didn't seem to work, If anybody knows what it is, Please do tell me.
« Last Edit: October 07, 2008, 09:21:29 AM by Sc00by22 »

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #10 on: October 07, 2008, 07:45:18 PM »
Wire isn't actually just one tool. Wire is a bunch of tools. Go into the game, and select a wire tool, then open your console and type gmod_tool, and it'll autocomplete the name of the current tool.
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline Sc00by22

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 0
Re: URestrict
« Reply #11 on: October 08, 2008, 02:12:13 PM »
What about the error I'm getting?

Offline Enrico42

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
Re: URestrict
« Reply #12 on: October 08, 2008, 03:20:37 PM »
can be restricted, tools added?
for example: advanced duplicator, stacker, iris (for stargate )....

but for me don't work ,I must enter the wrong name of the tools, but find the name or exact ^ ^

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #13 on: October 08, 2008, 05:54:06 PM »
Quote
What about the error I'm getting?
     - I have not seen nor been able to replicate this error, make sure you're on the latest revision.
Quote
can be restricted, tools added?
for example: advanced duplicator, stacker, iris (for stargate )....

but for me don't work ,I must enter the wrong name of the tools, but find the name or exact ^ ^
     - I'm having a hard time interpreting this, but if you're trying to add tools to restrict, just follow these instructions:
            Select a tool, then open your console and type gmod_tool, and it'll auto complete the name of the current tool.
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline Enrico42

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
Re: URestrict
« Reply #14 on: October 09, 2008, 04:37:17 PM »
   
ok thank  jay209015 , I'll try right away, then I will try to restrict the unofficial tools that I add ^ ^