Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Without permission #9

Closed
Falow1 opened this issue Oct 20, 2021 · 1 comment
Closed

Without permission #9

Falow1 opened this issue Oct 20, 2021 · 1 comment
Assignees
Labels
invalid This doesn't seem right

Comments

@Falow1
Copy link

Falow1 commented Oct 20, 2021

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

@punteroo punteroo self-assigned this Oct 21, 2021
@punteroo punteroo added the invalid This doesn't seem right label Oct 21, 2021
@punteroo
Copy link
Owner

punteroo commented Oct 21, 2021

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.

Repository owner locked as off-topic and limited conversation to collaborators Oct 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants