Steam Avatar
You aren't signed in

Restrict Items

2 KB, 10 years ago, submitted by Pecon7

This rather simple server mod allows you to restrict what items normal players are allowed to equip. Any admin may simply do the easy slash-command.
e.g.
/restrictitem mini-nuke
/restrictitem homing rocket
/restrictitem wrench
/restrictitem Mr. Wiggles

Items can be un-restricted in a similar manner.
Example:
/unrestrictitem wrench

Super admins can save 'profiles' which can be loaded later on so you don't have to re-restrict every item each time you start your server.
Examples:
/saveItemRestrictionProfile fortwars2
/setItemRestrictionProfile fortwars2

You can set a profile to be the 'default' profile. The default profile will automatically be loaded when the server starts.
Examples:
/setItemRestrictionDefaultProfile fortwars2
/clearItemRestrictionDefaultProfile


You don't need to memorize those. You only need to know one command. You can access a full reference of the commands with the help command.
/restrictionHelp

As you could easily tell, this mod can be useful in a variety of situations. No longer will arbitrary rules such as "no using the homing rocket" be needed, just restrict it and relax.
Admins can still use restricted items. This mod will still allow players to spawn and pick up restricted items, but they will be unable to equip them.


Advanced:
/restrictimage (image) - Super-admin only
/unrestrictimage (image) - Super-admin only
SetImageAsRestricted("image"); - Returns true or false

catzoo
Useful
Corecska
No more people bombing my house! c:
5/5
brendan
Extremely useful for my Endless Zombies because you get players spamming the Akimbo Guns and Rocket Launcher at the zombies.

Don't want to disable those precious addons but want to keep them on your server, yet restrict them from all players besides admins? Then this is for you!

500/500
Mariobro123586
Super useful, but I can't seem to restrict the Ryno V with this.
Pecon7
@Mariobro123586

Make sure you're typing the exact name of the weapon as it appears in the wrench menu.
Futurjojo
yey pecon is below me
Taylor0055
How do i get my mini nuke i did /restrictitem
:(
@ Taylor

/restrict mini-nuke doesn't give you one. Those are just examples. You would have download it, but it is failbinned.
Esphere
@ XR_7

Some people had put the mininuke for download on some sites, thats how I got my mininuke