Ulysses Stuff > Ulysses Release Archives
URestrict [Depreciated-author no longer supports]
DoomGiver:
Hey, I'm having issues with ulib SVN and ulx SVN, would it be possible to make a non-svn for this? :(
OR
Could you tell me how to set it up to be non svn? I tried deleting all the "hidden" svn folders but that didn't work lol. :(
JamminR:
Doom, there is little way possible to make URestrict not rely on ULib SVN. It has nothing to do with hidden folders, the actual SVN ULib code has new commands that would make URestrict useless without.
SVN ULib (and ULX) are coming near to next release. We have no set date, but, time draws nearer than in past.
DoomGiver:
--- Quote from: JamminR on June 01, 2010, 04:56:50 PM ---Doom, there is little way possible to make URestrict not rely on ULib SVN. It has nothing to do with hidden folders, the actual SVN ULib code has new commands that would make URestrict useless without.
SVN ULib (and ULX) are coming near to next release. We have no set date, but, time draws nearer than in past.
--- End quote ---
Ya I figured that out about 5 mins ago when I checked the code out for a ulib plugin that has both svn and non svn releases. :(
If anyone can help me figure out how to get the SVN to work I would mail them a cookie :) haha.
The_code:
Hello everyone. Im having problem figuring out how to restrict weapons from the /data/urestrict files, since the GUI is not working right now.
I want to for example restrict weapon_ak47 for all except superadmin, but i dont know the syntax.
I think it should be in denyspawn.txt, right?
Should i then write:
--- Quote ---"weapon"
{
"user"
{
"weapon_ak47"
}
"operator"
{
"weapon_ak47"
}
"admin"
{
"weapon_ak47"
}
}
--- End quote ---
or something...
EDIT: Are there no examples?
jay209015:
As far as the ability to spawn the weapons, you've done it correctly. However in order to deny it to everyone but superadmin, you'll have to use data/URestrict/loadouts.txt
--- Code: ---"default"
{
"loadout"
{
"weapon_physgun"
"weapon_physcannon"
"gmod_camera"
"gmod_tool"
}
"groups"
{
"user"
"admin"
"operator"
}
}
"Administrators"
{
"loadout"
{
"weapon_physgun"
"weapon_physcannon"
"gmod_camera"
"gmod_tool"
"weapon_ak47"
}
"groups"
{
"superadmin"
}
}
"excluded"
{
}
--- End code ---
Alternatively, you can just add superadmins to the excluded loadout.
--- Code: ---"default"
{
"loadout"
{
"weapon_physgun"
"weapon_physcannon"
"gmod_camera"
"gmod_tool"
}
"groups"
{
"user"
"admin"
"operator"
}
}
"excluded"
{
"superadmin"
}
--- End code ---
I do apologize for the lacking of clear documentation. If you notice my todo list for when I rebuild URestrict, documentation is a part of it.
--- Code: ---URestrict:
Modularize
Globablize Excluded function
Presets
Optimize Client Sync
Optimize File updates
Merge with XGUI
Restrictions for Adv. Dupe.
Merge with ASpam
DOCUMENT!
Global All for all groups
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version