Scarpet Os Utils
本模组旨在让你能够通过 Scarpet 执行 Minecraft 服务器之外的系统函数和程序。尽情体验吧!
可用函数:
os_exec(command)
在操作系统中执行命令。
get_os()
以字符串形式返回主机操作系统。
powershell_exec(command)
在 PowerShell 中执行命令。等价于 powershell -c command。
cmd_exec(command)
在命令提示符中执行命令。等价于 cmd /c command。
bash_exec(command)
在 Bash 中执行命令。等价于 bash -c command。
sh_exec(command)
在 Shell 中执行命令。等价于 sh -c command。
Scarpet Os Utils
This mod was made to make you be able to execute system functions and programs outside you minecraft server using scarpet. Have fun with it!
Available functions:
os_exec(command)
Executes the command in the os.
get_os()
Returns the host os as a string.
powershell_exec(command)
Executes the command in powershell. Equivalent to powershell -c command.
cmd_exec(command)
Executes the command in command prompt. Equivalent to cmd /c command.
bash_exec(command)
Executes the command in bash. Equivalent to bash -c command.
sh_exec(command)
Executes the command in shell. Equivalent to sh -c command.
下载 Scarpet Os Utils
下载 Scarpet Os Utils
下载 Scarpet Os Utils
下载 Scarpet Os Utils
下载 Scarpet Os Utils
更新至 1.19 和 os_exec_ignore_errors
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧