punteroo/TF2-Item-Plugins

Without permission

Falow1 opened this issue · 1 comments

I haven't activated the vip but nobody can use the plugin, when someone tries to use !weapons it says that the person doesn't have permission to use it

Commands are restricted to players (by default) with the admin flag ADMFLAG_RESERVATION. For a player to utilize any of the commands they must have this flag on them. More on assigning Admin Flags on players in AlliedModders' Wiki:
https://wiki.alliedmods.net/Adding_Admins_(SourceMod)

You can also use SourceMod's Overrides System to bypass this command and enable it for all players, more information on AlliedModders' Wiki:
https://wiki.alliedmods.net/Overriding_Command_Access_(Sourcemod)

...or modify these 3 lines on both plugins and use RegConsoleCmd instead of RegAdminCmd to allow anyone to use them freely, and then re-compile (Refer to the requirements section for Compiling info)
https://github.com/punteroo/TF2-Item-Plugins/blob/production/scripting/tf2item_weapons.sp#L53-L55
https://github.com/punteroo/TF2-Item-Plugins/blob/production/scripting/tf2item_cosmetics.sp#L52-L54

I'll close this issue, since this is not relevant to the plugin nor a problem with the project itself, but rather a generic SourceMod admin configuration.