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

[Request] Add execute as operator (op'd player) #116

Closed
Devoz-a opened this issue Jan 14, 2025 · 1 comment
Closed

[Request] Add execute as operator (op'd player) #116

Devoz-a opened this issue Jan 14, 2025 · 1 comment

Comments

@Devoz-a
Copy link

Devoz-a commented Jan 14, 2025

Some commands attached to furniture or items may require an elevated privilege to execute. There is a way to run as console but then the command does not run in the context of the player anymore. There should be a 3rd option to run the command as an op'd player, temporarily giving the player the rights to execute a command without handling permissions or making the console understand how to locate a specific player because that doesn't always work.

Thank you!

@LoneDev6
Copy link
Owner

I'd avoid adding this feature as it can lead to exploits.
Other plugins that provide this must be considered a risk to be installed.
What you can do is try using this method, to have the player context.

@LoneDev6 LoneDev6 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants