#How to make deoped player execute commands that can do only oped players?
1 messages · Page 1 of 1 (latest)
Give perm, do command, remove perm
You can also make console execute the command
That wouldn't really work
How so?
Because then you wouldn't have position or player in the command
make console execute command "/gamemode creative %player%" and you can parse in locations in a local variable. I have used it on many servers with never a issue
That works with some commands
With what case it won’t work?
/kittycannon
Bruh
What?
What’s that even?
shoots an exploding ocelot
Also some commands are only executable by the player
or affect the executor
I guess you could modify the command to work with locations but that’s such a rare case
Most plugins don't have support for console commands
Also /warp
/lobby
and that kinda stuff
/party
im using /fireball and /lighting
idk i will try
i cant now
i will try
Idk its solved or not so i will dont add solved tag
Thats from essentials, and who use essentials?
me
Literally 2nd most downloaded plugin :I
Neither of those will work with console
yes but so many unnecessary features
It has 0 features u can’t make in skript or another plugin that is designed only for that feature as far as I know
Better to make it urself Yk
Then u can change it
well gl finding a plugin you can't recreate in skript
true
Im making this solved:
make player run command "/fireball large" as op
Why don't you just spawn the fireball in skript?
no why didnt he make it a function not a command and make the command run the function
oh sorry im so stupid
cuz its to long code cuz i like short code
Function for 1 line?
yes but is it worth every opped player getting a chat msg when do do a command?
no make the fireball a function and make the command execute the function and make the whatever he need it to execute function instead of the command
no they dont
no one w them
oh its just when they do it manuly then ig
plus cmd output is off
and im using plugin that turn off all commands output not only cmd blocks output
okay¨that makes sense then
i think that function for one commands is little bit unlogical
idk i use it alot
but its little bit strange to use function if u can make just /fireball large
i think so
i think idc lol cuz its solved
Why make a function for 1 line tf