player
Manage player details, abilities, inventory, and game modes in Minecraft Bedrock MCP Server. Perform actions like retrieving player info, sending messages, giving items, and modifying abilities for enhanced control.
Instructions
Player management: information, abilities, game modes, inventory, communication, permissions, items
Input Schema
Name | Required | Description | Default |
---|---|---|---|
ability | No | Player ability to modify | |
ability_value | No | Enable or disable the ability | |
action | Yes | Player operation to perform: get_info (returns player details like name, uniqueId, uuid, deviceId, xuid, isValid, isLoaded, isLocalPlayer), get_location (returns foot coordinates x,y,z and rotation in both Minecraft yaw -180°~+180° and compass bearing 0°~360° systems), send_message (sends chat message, requires: message), give_item (gives items to inventory, requires: item_id, optional: amount, can_destroy, can_place_on, keep_on_death), set_gamemode (changes game mode, optional: gamemode survival/creative/adventure/spectator, defaults to survival), add_levels (adds XP levels, requires: levels positive integer), get_abilities (returns abilities object with boolean values for mayfly/mute/worldbuilder), set_ability (modifies ability, requires: ability mayfly/mute/worldbuilder, ability_value boolean), get_tags (returns array of player tags), check_tag (checks specific tag, requires: tag, returns boolean), get_ping (returns network ping in milliseconds), list_all_players (returns array of online players with name, isLocalPlayer, isValid, isLoaded) | |
amount | No | Item amount (1-64) | |
can_destroy | No | Blocks this item can destroy (optional) | |
can_place_on | No | Blocks this item can be placed on (optional) | |
gamemode | No | Game mode to set | |
item_id | No | Item ID to give (e.g., minecraft:diamond, minecraft:iron_sword) | |
keep_on_death | No | Keep item on death (optional) | |
levels | No | Experience levels to add | |
message | No | Message to send to player | |
player_name | No | Target player name (optional, defaults to local player) | |
tag | No | Tag to check for |