itemStack: @minecraft/server.ItemStack Item to give. selectSlot?: boolean = false Whether to set the selected slot once given.Returns booleanNotes:This function can't be called in read-only mode. This function can throw errors.glideglide(): boolean...
For building, those behavior packs should not use dedicated-server only modules like "@minecraft/server-net" or "@minecraft/server-admin" Then, when you're ready to use that world on a dedicated server, copy it from your Minecraft client's Worlds folder: %localappdata%\Packages\Microsoft....
Variables are used to configure your McMyAdmin and Minecraft server on the first run (when executingdocker runcommand). Subsequent container runs will skip the configuration. You don't want to "reconfigure" your server as the settings you changed in McMyAdmin after the first run would get repl...
如果该玩家在服务器中,且该玩家在“玩家权限”屏幕中的“操作员命令”开关已打开,那么他的权限等级默认为1(可在server.properties中更改)。 如果该玩家在单人游戏世界或局域网世界中,且该玩家在“玩家权限”屏幕中的“操作员命令”开关已打开,那么他的权限等级默认为3。 否则,他的权限等级为0。[需要测试] 注:命...
管理命令/resadmin lease set [领地名] [#天数/infinite] - 设置领地的时间限制或不限时/resadmin removeall [玩家名] - 移除某玩家的所有领地/resadmin setowner [领地名] [玩家名] - 将某领地以交给某玩家/resadmin server [领地名] - 将某领地设置为服务器领地/resload - 载入领地插件. *注* 在res...
/transferTransfers a player to another server.OwnerYes /weatherSets the weather in the environment. See more in thePopular Commands documentation.Game DirectorsYes /wsserverAttempts to connect to the websocket server on the provided URL.AdminYes ...
returnsender.canUseCommand(minecraftServer.getOpPermissionLevel(),"give"); } } 代码示例来源:origin: portablejim/VeinMiner privatevoidneedAdmin(ICustomCommandSendersender)throwsCommandException{ if(senderinstanceofCommandSenderPlayer){ CommandSenderPlayerplayer=(CommandSenderPlayer)sender; ...
description: 将<用户>加入到<组>. (如果不存在便创建文件)usage: /manuadd <用户> <组> | 可选 [世界]permissions: groupmanager.manuadd manudel:description: 移除<用户>的配置并移动到默认组.usage: /manudel <用户> permissions: groupmanager.manudel manuaddsub:description: 添加一个<组>到<...
使用英语阅读 保存 添加到集合 添加到计划 通过 Facebookx.com 共享LinkedIn电子邮件 打印 项目 2024/11/01 2 个参与者 反馈 本文内容 Properties Methods Properties id read-only id: string; Unique identifier for the tool Type:string onModalToolActivation ...
管理命令/resadmin lease set [领地名] [#天数/infinite] - 设置领地的时间限制或不限时/resadmin removeall [玩家名] - 移除某玩家的所有领地/resadmin setowner [领地名] [玩家名] - 将某领地以交给某玩家/resadmin server [领地名] - 将某领地设置为服务器领地/resload - 载入领地插件. *注* 在res...