Closed fucksophie closed 2 months ago
The /sudo
is in run module
, using: /run as fake-op ...
.
The output commands: are /send-message
, /send-broadcast
, /send-title
, /send-actionbar
and /send-toast
.
The /invsee
and /endersee
is in the plan.
The
/sudo
is inrun module
, using:/run as fake-op ...
. The output commands: are/send-message
,/send-broadcast
,/send-title
,/send-actionbar
and/send-toast
.
Sudo with sudo <name> c:Hi
will send a message to everybody, as that user. Like
/sudo Notch c:Hi!
Notch: Hi!
This can be .. kinda horribly recreated with fuji's current tools, but it just looks horrible.
/execute as @a run run as fake-op @s send-broadcast %fuji:player_prefix%%player:displayname_visual%%fuji:player_suffix%: Hi
Fuji is currently missing:
/sudo /invsee and /endersee
/invsee <player>
lets moderators see other people's inventory/endersee <player>
lets moderators see other people's ender chest
/sudo <player> <command>
lets moderators run commands as other people. There should also be a sudo command like/sudo Notch c:Hello World
that sends a message, like EssentialsX.Essentials-commands does have these, but it's non-FOSS and I'd like not to use it.
The command /run as fake-op ...
is a bit verbose, you can use command-alias
module to create your own command.
Here is the example config:
"command_alias": {
"enable": true,
"alias": [
{
"from": [
"sudo"
],
"to": [
"run",
"as",
"fake-op"
]
}
]
},
The
/sudo
is inrun module
, using:/run as fake-op ...
. The output commands: are/send-message
,/send-broadcast
,/send-title
,/send-actionbar
and/send-toast
.Sudo with
sudo <name> c:Hi
will send a message to everybody, as that user. Like/sudo Notch c:Hi!
Notch: Hi!
This can be .. kinda horribly recreated with fuji's current tools, but it just looks horrible.
/execute as @a run run as fake-op @s send-broadcast %fuji:player_prefix%%player:displayname_visual%%fuji:player_suffix%: Hi
Hey, how about adding another command for this purpose? https://github.com/sakurawald/fuji-fabric/issues/68
Hey, how about adding another command for this purpose? https://github.com/sakurawald/fuji-fabric/issues/68
Perfect! Exactly what I need.
completed in fuji v1.5.1
Fuji is currently missing:
/invsee <player>
lets moderators see other people's inventory/endersee <player>
lets moderators see other people's ender chest/sudo <player> <command>
lets moderators run commands as other people. There should also be a sudo command like/sudo Notch c:Hello World
that sends a message, like EssentialsX.Essentials-commands does have these, but it's non-FOSS and I'd like not to use it.