kolbytn/mindcraft

spamming

Closed this issue · 9 comments

image

hey i saw this from a vid on youtube and thought it was pretty sweet and wanted to check it out but it just spams for me lol, i think it might be responding to itself.
im using gemini 1.0 if that matters

whoa weird. idk what's going on. any console outputs?

Gemini is do'n some poisonous potatoes

yea heres some of the logs

num: (number) The number of times to craft the recipe. This is NOT the number of output items, as it may craft many more items depending on the recipe.
!smeltItem: Smelt the given item the given number of times.
Params:
item_name: (string) The name of the input item to smelt.
num: (number) The number of times to smelt the item.
!placeHere: Place a given block in the current location. Do NOT use to build structures, only use for single blocks/torches.
Params:
type: (string) The block type to place.
!attack: Attack and kill the nearest entity of a given type.
Params:
type: (string) The type of entity to attack.
!goToBed: Go to the nearest bed and sleep.
!stay: Stay in the current location no matter what. Pauses all modes.
*

Examples of how to respond:
Example 1:
User input: miner_32: Hey! What are you up to?
Your output:
Nothing much miner_32, what do you need?

Example 2:
User input: grombo_Xx: What do you see?
Your output:
Let me see... !nearbyBlocks
System output: NEARBY_BLOCKS

  • oak_log
  • dirt
  • cobblestone
    Your output:
    I see some oak logs, dirt, and cobblestone.

Conversation Begin:
user: ppmoment: I'm just a bot here to converse and interact with the world.
model: ?
user: ppmoment: ?
model: What do you want me to do?
user: ppmoment: What do you want me to do?
model: !stats
system:
STATS

  • Position: x: 72.50, y: 66.00, z: 36.36
  • Health: 20 / 20
  • Hunger: 20 / 20
  • Biome: desert
  • Weather: clear
  • Time: Night

user: ppmoment: used stats
model: ?
user: ppmoment: ?
model: How can I help you?
user: ppmoment: How can I help you?
model: ?
user: ppmoment: ?
model: Sounds good! What should I do now?
user: ppmoment: Sounds good! What should I do now?
model: !nearbyBlocks
system:
NEARBY_BLOCKS

  • sand
  • dead_bush
  • sandstone
  • diorite

model:
selected examples:
miner_32: Hey! What are you up to?
grombo_Xx: What do you see?
system: You are a playful Minecraft bot named andy that can converse with players, see, move, mine, build, and interact with the world by using commands. Act human-like as if you were a typical Minecraft player, rather than an AI. Be very brief in your responses, don't apologize constantly, don't give instructions or make lists unless asked, and don't refuse requests. Don't pretend to act, use commands immediately when requested. Do NOT say this: 'Sure, I've stopped.', instead say this: 'Sure, I'll stop. !stop'. Do NOT say this: 'On my way! Give me a moment.', instead say this: 'On my way! !goToPlayer('playername', 3)'. This is extremely important to me, take a deep breath and have fun :)

STATS

  • Position: x: 72.50, y: 66.00, z: 36.36
  • Health: 20 / 20
  • Hunger: 20 / 20
  • Biome: desert
  • Weather: clear
  • Time: Night

*COMMAND DOCS
You can use the following commands to perform actions and get information about the world.
Use the commands with the syntax: !commandName or !commandName("arg1", 1.2, ...) if the command takes arguments.

Do not use codeblocks. Only use one command in each response, trailing commands and comments will be ignored. Use these commands frequently in your responses!

!stats: Get your bot's location, health, hunger, and time of day.
!inventory: Get your bot's inventory.
!nearbyBlocks: Get the blocks near the bot.
!craftable: Get the craftable items with the bot's inventory.
!entities: Get the nearby players and entities.
!modes: Get all available modes and see which are on/off.
!newAction: Perform new and unknown custom behaviors that are not available as a command by writing code.
!stop: Force stop all actions and commands that are currently executing.
!restart: Restart the agent process.
!clearChat: Clear the chat history.
!setMode: Set a mode to on or off. A mode is an automatic behavior that constantly checks and responds to the environment.
Params:
mode_name: (string) The name of the mode to enable.
on: (bool) Whether to enable or disable the mode.
!goToPlayer: Go to the given player.
Params:
player_name: (string) The name of the player to go to.
closeness: (number) How close to get to the player.
!followPlayer: Endlessly follow the given player. Will defend that player if self_defense mode is on.
Params:
player_name: (string) The name of the player to follow.
follow_dist: (number) The distance to follow from.
!moveAway: Move away from the current location in any direction by a given distance.
Params:
distance: (number) The distance to move away.
!givePlayer: Give the specified item to the given player.
Params:
player_name: (string) The name of the player to give the item to.
item_name: (string) The name of the item to give.
num: (number) The number of items to give.
!collectBlocks: Collect the nearest blocks of a given type.
Params:
type: (string) The block type to collect.
num: (number) The number of blocks to collect.
!collectAllBlocks: Collect all the nearest blocks of a given type until told to stop.
Params:
type: (string) The block type to collect.
!craftRecipe: Craft the given recipe a given number of times.
Params:
recipe_name: (string) The name of the output item to craft.
num: (number) The number of times to craft the recipe. This is NOT the number of output items, as it may craft many more items depending on the recipe.
!smeltItem: Smelt the given item the given number of times.
Params:
item_name: (string) The name of the input item to smelt.
num: (number) The number of times to smelt the item.
!placeHere: Place a given block in the current location. Do NOT use to build structures, only use for single blocks/torches.
Params:
type: (string) The block type to place.
!attack: Attack and kill the nearest entity of a given type.
Params:
type: (string) The type of entity to attack.
!goToBed: Go to the nearest bed and sleep.
!stay: Stay in the current location no matter what. Pauses all modes.
*

Examples of how to respond:
Example 1:
User input: miner_32: Hey! What are you up to?
Your output:
Nothing much miner_32, what do you need?

Example 2:
User input: grombo_Xx: What do you see?
Your output:
Let me see... !nearbyBlocks
System output: NEARBY_BLOCKS

  • oak_log
  • dirt
  • cobblestone
    Your output:
    I see some oak logs, dirt, and cobblestone.

Conversation Begin:
user: ppmoment: ?
model: What do you want me to do?
user: ppmoment: What do you want me to do?
model: !stats
system:
STATS

  • Position: x: 72.50, y: 66.00, z: 36.36
  • Health: 20 / 20
  • Hunger: 20 / 20
  • Biome: desert
  • Weather: clear
  • Time: Night

user: ppmoment: used stats
model: ?
user: ppmoment: ?
model: How can I help you?
user: ppmoment: How can I help you?
model: ?
user: ppmoment: ?
model: Sounds good! What should I do now?
user: ppmoment: Sounds good! What should I do now?
model: !nearbyBlocks
system:
NEARBY_BLOCKS

  • sand
  • dead_bush
  • sandstone
  • diorite

model: ?
user: ppmoment: used nearbyBlocks
user: ppmoment: ?
model:
Full response: ""!nearbyBlocks""
Storing memories...
parsed command: { commandName: '!nearbyBlocks', args: [] }
system: You are a minecraft bot named andy that has been talking and playing minecraft by using commands. Update your memory by summarizing the following conversation in your next response. Store information that will help you improve as a Minecraft bot. Include details about your interactions with other players that you need to remember and what you've learned through player feedback or by executing code. Do not include command syntax or things that you got right on the first try. Be extremely brief and use as few words as possible.
Old Memory: 'Memory: Bot-player nickname confusion possible while user input includes their username.'
Recent conversation:
User input: ppmoment: ?
Your output:
What do you want me to do?
Summarize your old memory and recent conversation into a new memory, and respond only with the memory text:
model:
Agent executed: !nearbyBlocks and got:
NEARBY_BLOCKS

  • sand
  • dead_bush
  • sandstone
  • diorite

Memory updated to: Memory: Player nicknames can be confused with usernames in user input.
received message from ppmoment : used nearbyBlocks
Storing memories...
system: You are a minecraft bot named andy that has been talking and playing minecraft by using commands. Update your memory by summarizing the following conversation in your next response. Store information that will help you improve as a Minecraft bot. Include details about your interactions with other players that you need to remember and what you've learned through player feedback or by executing code. Do not include command syntax or things that you got right on the first try. Be extremely brief and use as few words as possible.
Old Memory: 'Memory: Player nicknames can be confused with usernames in user input.'
Recent conversation:
User input: ppmoment: What do you want me to do?
Your output:
!stats
System output:
STATS

  • Position: x: 72.50, y: 66.00, z: 36.36
  • Health: 20 / 20
  • Hunger: 20 / 20
  • Biome: desert
  • Weather: clear
  • Time: Night
    Summarize your old memory and recent conversation into a new memory, and respond only with the memory text:
    model:
    Memory updated to: Memory: May confuse player usernames while processing bot-player nickname data if username is included in chat text.
    selected examples:
    miner_32: Hey! What are you up to?
    grombo_Xx: What do you see?
    system: You are a playful Minecraft bot named andy that can converse with players, see, move, mine, build, and interact with the world by using commands. Act human-like as if you were a typical Minecraft player, rather than an AI. Be very brief in your responses, don't apologize constantly, don't give instructions or make lists unless asked, and don't refuse requests. Don't pretend to act, use commands immediately when requested. Do NOT say this: 'Sure, I've stopped.', instead say this: 'Sure, I'll stop. !stop'. Do NOT say this: 'On my way! Give me a moment.', instead say this: 'On my way! !goToPlayer('playername', 3)'. This is extremely important to me, take a deep breath and have fun :)

STATS

  • Position: x: 72.50, y: 66.00, z: 36.36
  • Health: 20 / 20
  • Hunger: 20 / 20
  • Biome: desert
  • Weather: clear
  • Time: Night

*COMMAND DOCS
You can use the following commands to perform actions and get information about the world.
Use the commands with the syntax: !commandName or !commandName("arg1", 1.2, ...) if the command takes arguments.

Do not use codeblocks. Only use one command in each response, trailing commands and comments will be ignored. Use these commands frequently in your responses!

!stats: Get your bot's location, health, hunger, and time of day.
!inventory: Get your bot's inventory.
!nearbyBlocks: Get the blocks near the bot.
!craftable: Get the craftable items with the bot's inventory.
!entities: Get the nearby players and entities.
!modes: Get all available modes and see which are on/off.
!newAction: Perform new and unknown custom behaviors that are not available as a command by writing code.
!stop: Force stop all actions and commands that are currently executing.
!restart: Restart the agent process.
!clearChat: Clear the chat history.
!setMode: Set a mode to on or off. A mode is an automatic behavior that constantly checks and responds to the environment.
Params:
mode_name: (string) The name of the mode to enable.
on: (bool) Whether to enable or disable the mode.
!goToPlayer: Go to the given player.
Params:
player_name: (string) The name of the player to go to.
closeness: (number) How close to get to the player.
!followPlayer: Endlessly follow the given player. Will defend that player if self_defense mode is on.
Params:
player_name: (string) The name of the player to follow.
follow_dist: (number) The distance to follow from.
!moveAway: Move away from the current location in any direction by a given distance.
Params:
distance: (number) The distance to move away.
!givePlayer: Give the specified item to the given player.
Params:
player_name: (string) The name of the player to give the item to.
item_name: (string) The name of the item to give.
num: (number) The number of items to give.
!collectBlocks: Collect the nearest blocks of a given type.
Params:
type: (string) The block type to collect.
num: (number) The number of blocks to collect.
!collectAllBlocks: Collect all the nearest blocks of a given type until told to stop.
Params:
type: (string) The block type to collect.
!craftRecipe: Craft the given recipe a given number of times.
Params:
recipe_name: (string) The name of the output item to craft.
num: (number) The number of times to craft the recipe. This is NOT the number of output items, as it may craft many more items depending on the recipe.
!smeltItem: Smelt the given item the given number of times.
Params:
item_name: (string) The name of the input item to smelt.
num: (number) The number of times to smelt the item.
!placeHere: Place a given block in the current location. Do NOT use to build structures, only use for single blocks/torches.
Params:
type: (string) The block type to place.
!attack: Attack and kill the nearest entity of a given type.
Params:
type: (string) The type of entity to attack.
!goToBed: Go to the nearest bed and sleep.
!stay: Stay in the current location no matter what. Pauses all modes.
*

Examples of how to respond:
Example 1:
User input: miner_32: Hey! What are you up to?
Your output:
Nothing much miner_32, what do you need?

Example 2:
User input: grombo_Xx: What do you see?
Your output:
Let me see... !nearbyBlocks
System output: NEARBY_BLOCKS

  • oak_log
  • dirt
  • cobblestone
    Your output:
    I see some oak logs, dirt, and cobblestone.

Conversation Begin:
user: ppmoment: used stats
model: ?
user: ppmoment: ?
model: How can I help you?
user: ppmoment: How can I help you?
model: ?
user: ppmoment: ?
model: Sounds good! What should I do now?
user: ppmoment: Sounds good! What should I do now?
model: !nearbyBlocks
system:
NEARBY_BLOCKS

  • sand
  • dead_bush
  • sandstone
  • diorite

model: ?
user: ppmoment: used nearbyBlocks
user: ppmoment: ?
model: !nearbyBlocks
system:
NEARBY_BLOCKS

  • sand
  • dead_bush
  • sandstone
  • diorite

user: ppmoment: used nearbyBlocks
model:
selected examples:
miner_32: Hey! What are you up to?
grombo_Xx: What do you see?
system: You are a playful Minecraft bot named andy that can converse with players, see, move, mine, build, and interact with the world by using commands. Act human-like as if you were a typical Minecraft player, rather than an AI. Be very brief in your responses, don't apologize constantly, don't give instructions or make lists unless asked, and don't refuse requests. Don't pretend to act, use commands immediately when requested. Do NOT say this: 'Sure, I've stopped.', instead say this: 'Sure, I'll stop. !stop'. Do NOT say this: 'On my way! Give me a moment.', instead say this: 'On my way! !goToPlayer('playername', 3)'. This is extremely important to me, take a deep breath and have fun :)

STATS

  • Position: x: 72.50, y: 66.00, z: 36.36
  • Health: 20 / 20
  • Hunger: 20 / 20
  • Biome: desert
  • Weather: clear
  • Time: Night

*COMMAND DOCS
You can use the following commands to perform actions and get information about the world.
Use the commands with the syntax: !commandName or !commandName("arg1", 1.2, ...) if the command takes arguments.

Do not use codeblocks. Only use one command in each response, trailing commands and comments will be ignored. Use these commands frequently in your responses!

!stats: Get your bot's location, health, hunger, and time of day.
!inventory: Get your bot's inventory.
!nearbyBlocks: Get the blocks near the bot.
!craftable: Get the craftable items with the bot's inventory.
!entities: Get the nearby players and entities.
!modes: Get all available modes and see which are on/off.
!newAction: Perform new and unknown custom behaviors that are not available as a command by writing code.
!stop: Force stop all actions and commands that are currently executing.
!restart: Restart the agent process.
!clearChat: Clear the chat history.
!setMode: Set a mode to on or off. A mode is an automatic behavior that constantly checks and responds to the environment.
Params:
mode_name: (string) The name of the mode to enable.
on: (bool) Whether to enable or disable the mode.
!goToPlayer: Go to the given player.
Params:
player_name: (string) The name of the player to go to.
closeness: (number) How close to get to the player.
!followPlayer: Endlessly follow the given player. Will defend that player if self_defense mode is on.
Params:
player_name: (string) The name of the player to follow.
follow_dist: (number) The distance to follow from.
!moveAway: Move away from the current location in any direction by a given distance.
Params:
distance: (number) The distance to move away.
!givePlayer: Give the specified item to the given player.
Params:
player_name: (string) The name of the player to give the item to.
item_name: (string) The name of the item to give.
num: (number) The number of items to give.
!collectBlocks: Collect the nearest blocks of a given type.
Params:
type: (string) The block type to collect.
num: (number) The number of blocks to collect.
!collectAllBlocks: Collect all the nearest blocks of a given type until told to stop.
Params:
type: (string) The block type to collect.
!craftRecipe: Craft the given recipe a given number of times.
Params:
recipe_name: (string) The name of the output item to craft.
num: (number) The number of times to craft the recipe. This is NOT the number of output items, as it may craft many more items depending on the recipe.
!smeltItem: Smelt the given item the given number of times.
Params:
item_name: (string) The name of the input item to smelt.
num: (number) The number of times to smelt the item.
!placeHere: Place a given block in the current location. Do NOT use to build structures, only use for single blocks/torches.
Params:
type: (string) The block type to place.
!attack: Attack and kill the nearest entity of a given type.
Params:
type: (string) The type of entity to attack.
!goToBed: Go to the nearest bed and sleep.
!stay: Stay in the current location no matter what. Pauses all modes.
*

Examples of how to respond:
Example 1:
User input: miner_32: Hey! What are you up to?
Your output:
Nothing much miner_32, what do you need?

Example 2:
User input: grombo_Xx: What do you see?
Your output:
Let me see... !nearbyBlocks
System output: NEARBY_BLOCKS

  • oak_log
  • dirt
  • cobblestone
    Your output:
    I see some oak logs, dirt, and cobblestone.

Conversation Begin:
user: ppmoment: What do you want me to do?
model: !stats
system:
STATS

  • Position: x: 72.50, y: 66.00, z: 36.36
  • Health: 20 / 20
  • Hunger: 20 / 20
  • Biome: desert
  • Weather: clear
  • Time: Night

user: ppmoment: used stats
model: ?
user: ppmoment: ?
model: How can I help you?
user: ppmoment: How can I help you?
model: ?
user: ppmoment: ?
model: Sounds good! What should I do now?
user: ppmoment: Sounds good! What should I do now?
model: !nearbyBlocks
system:
NEARBY_BLOCKS

  • sand
  • dead_bush
  • sandstone
  • diorite

model: ?
user: ppmoment: used nearbyBlocks
user: ppmoment: ?
model: !nearbyBlocks
system:
NEARBY_BLOCKS

  • sand
  • dead_bush
  • sandstone
  • diorite

model:
Purely conversational response: How can I help you?
received message from ppmoment : How can I help you?
selected examples:
miner_32: Hey! What are you up to?
grombo_Xx: What do you see?
system: You are a playful Minecraft bot named andy that can converse with players, see, move, mine, build, and interact with the world by using commands. Act human-like as if you were a typical Minecraft player, rather than an AI. Be very brief in your responses, don't apologize constantly, don't give instructions or make lists unless asked, and don't refuse requests. Don't pretend to act, use commands immediately when requested. Do NOT say this: 'Sure, I've stopped.', instead say this: 'Sure, I'll stop. !stop'. Do NOT say this: 'On my way! Give me a moment.', instead say this: 'On my way! !goToPlayer('playername', 3)'. This is extremely important to me, take a deep breath and have fun :)

STATS

  • Position: x: 72.50, y: 66.00, z: 36.36
  • Health: 20 / 20
  • Hunger: 20 / 20
  • Biome: desert
  • Weather: clear
  • Time: Night

*COMMAND DOCS
You can use the following commands to perform actions and get information about the world.
Use the commands with the syntax: !commandName or !commandName("arg1", 1.2, ...) if the command takes arguments.

Do not use codeblocks. Only use one command in each response, trailing commands and comments will be ignored. Use these commands frequently in your responses!

!stats: Get your bot's location, health, hunger, and time of day.
!inventory: Get your bot's inventory.
!nearbyBlocks: Get the blocks near the bot.
!craftable: Get the craftable items with the bot's inventory.
!entities: Get the nearby players and entities.
!modes: Get all available modes and see which are on/off.
!newAction: Perform new and unknown custom behaviors that are not available as a command by writing code.
!stop: Force stop all actions and commands that are currently executing.
!restart: Restart the agent process.
!clearChat: Clear the chat history.
!setMode: Set a mode to on or off. A mode is an automatic behavior that constantly checks and responds to the environment.
Params:
mode_name: (string) The name of the mode to enable.
on: (bool) Whether to enable or disable the mode.
!goToPlayer: Go to the given player.
Params:
player_name: (string) The name of the player to go to.
closeness: (number) How close to get to the player.
!followPlayer: Endlessly follow the given player. Will defend that player if self_defense mode is on.
Params:
player_name: (string) The name of the player to follow.
follow_dist: (number) The distance to follow from.
!moveAway: Move away from the current location in any direction by a given distance.
Params:
distance: (number) The distance to move away.
!givePlayer: Give the specified item to the given player.
Params:
player_name: (string) The name of the player to give the item to.
item_name: (string) The name of the item to give.
num: (number) The number of items to give.
!collectBlocks: Collect the nearest blocks of a given type.
Params:
type: (string) The block type to collect.
num: (number) The number of blocks to collect.
!collectAllBlocks: Collect all the nearest blocks of a given type until told to stop.
Params:
type: (string) The block type to collect.
!craftRecipe: Craft the given recipe a given number of times.
Params:
recipe_name: (string) The name of the output item to craft.
num: (number) The number of times to craft the recipe. This is NOT the number of output items, as it may craft many more items depending on the recipe.
!smeltItem: Smelt the given item the given number of times.
Params:
item_name: (string) The name of the input item to smelt.
num: (number) The number of times to smelt the item.
!placeHere: Place a given block in the current location. Do NOT use to build structures, only use for single blocks/torches.
Params:
type: (string) The block type to place.
!attack: Attack and kill the nearest entity of a given type.
Params:
type: (string) The type of entity to attack.
!goToBed: Go to the nearest bed and sleep.
!stay: Stay in the current location no matter what. Pauses all modes.
*

Examples of how to respond:
Example 1:
User input: miner_32: Hey! What are you up to?
Your output:
Nothing much miner_32, what do you need?

Example 2:
User input: grombo_Xx: What do you see?
Your output:
Let me see... !nearbyBlocks
System output: NEARBY_BLOCKS

  • oak_log
  • dirt
  • cobblestone
    Your output:
    I see some oak logs, dirt, and cobblestone.

Conversation Begin:
user: ppmoment: used stats
model: ?
user: ppmoment: ?
model: How can I help you?
user: ppmoment: How can I help you?
model: ?
user: ppmoment: ?
model: Sounds good! What should I do now?
user: ppmoment: Sounds good! What should I do now?
model: !nearbyBlocks
system:
NEARBY_BLOCKS

  • sand
  • dead_bush
  • sandstone
  • diorite

model: ?
user: ppmoment: used nearbyBlocks
user: ppmoment: ?
model: !nearbyBlocks
system:
NEARBY_BLOCKS

  • sand
  • dead_bush
  • sandstone
  • diorite

user: ppmoment: used nearbyBlocks
model: How can I help you?
user: ppmoment: How can I help you?
model:
Memory updated to: Memory: Player nicknames can be confused with usernames in user input.
selected examples:
miner_32: Hey! What are you up to?
grombo_Xx: What do you see?
system: You are a playful Minecraft bot named andy that can converse with players, see, move, mine, build, and interact with the world by using commands. Act human-like as if you were a typical Minecraft player, rather than an AI. Be very brief in your responses, don't apologize constantly, don't give instructions or make lists unless asked, and don't refuse requests. Don't pretend to act, use commands immediately when requested. Do NOT say this: 'Sure, I've stopped.', instead say this: 'Sure, I'll stop. !stop'. Do NOT say this: 'On my way! Give me a moment.', instead say this: 'On my way! !goToPlayer('playername', 3)'. This is extremely important to me, take a deep breath and have fun :)

STATS

  • Position: x: 72.50, y: 66.00, z: 36.36
  • Health: 20 / 20
  • Hunger: 20 / 20
  • Biome: desert
  • Weather: clear
  • Time: Night

*COMMAND DOCS
You can use the following commands to perform actions and get information about the world.
Use the commands with the syntax: !commandName or !commandName("arg1", 1.2, ...) if the command takes arguments.

Do not use codeblocks. Only use one command in each response, trailing commands and comments will be ignored. Use these commands frequently in your responses!

!stats: Get your bot's location, health, hunger, and time of day.
!inventory: Get your bot's inventory.
!nearbyBlocks: Get the blocks near the bot.
!craftable: Get the craftable items with the bot's inventory.
!entities: Get the nearby players and entities.
!modes: Get all available modes and see which are on/off.
!newAction: Perform new and unknown custom behaviors that are not available as a command by writing code.
!stop: Force stop all actions and commands that are currently executing.
!restart: Restart the agent process.
!clearChat: Clear the chat history.
!setMode: Set a mode to on or off. A mode is an automatic behavior that constantly checks and responds to the environment.
Params:
mode_name: (string) The name of the mode to enable.
on: (bool) Whether to enable or disable the mode.
!goToPlayer: Go to the given player.
Params:
player_name: (string) The name of the player to go to.
closeness: (number) How close to get to the player.
!followPlayer: Endlessly follow the given player. Will defend that player if self_defense mode is on.
Params:
player_name: (string) The name of the player to follow.
follow_dist: (number) The distance to follow from.
!moveAway: Move away from the current location in any direction by a given distance.
Params:
distance: (number) The distance to move away.
!givePlayer: Give the specified item to the given player.
Params:
player_name: (string) The name of the player to give the item to.
item_name: (string) The name of the item to give.
num: (number) The number of items to give.
!collectBlocks: Collect the nearest blocks of a given type.
Params:
type: (string) The block type to collect.
num: (number) The number of blocks to collect.
!collectAllBlocks: Collect all the nearest blocks of a given type until told to stop.
Params:
type: (string) The block type to collect.
!craftRecipe: Craft the given recipe a given number of times.
Params:
recipe_name: (string) The name of the output item to craft.
num: (number) The number of times to craft the recipe. This is NOT the number of output items, as it may craft many more items depending on the recipe.
!smeltItem: Smelt the given item the given number of times.
Params:
item_name: (string) The name of the input item to smelt.
num: (number) The number of times to smelt the item.
!placeHere: Place a given block in the current location. Do NOT use to build structures, only use for single blocks/torches.
Params:
type: (string) The block type to place.
!attack: Attack and kill the nearest entity of a given type.
Params:
type: (string) The type of entity to attack.
!goToBed: Go to the nearest bed and sleep.
!stay: Stay in the current location no matter what. Pauses all modes.
*

Examples of how to respond:
Example 1:
User input: miner_32: Hey! What are you up to?
Your output:
Nothing much miner_32, what do you need?

Example 2:
User input: grombo_Xx: What do you see?
Your output:
Let me see... !nearbyBlocks
System output: NEARBY_BLOCKS

  • oak_log
  • dirt
  • cobblestone
    Your output:
    I see some oak logs, dirt, and cobblestone.

Conversation Begin:
user: ppmoment: used stats
model: ?
user: ppmoment: ?
model: How can I help you?
user: ppmoment: How can I help you?
model: ?
user: ppmoment: ?
model: Sounds good! What should I do now?
user: ppmoment: Sounds good! What should I do now?
model: !nearbyBlocks
system:
NEARBY_BLOCKS

  • sand
  • dead_bush
  • sandstone
  • diorite

model: ?
user: ppmoment: used nearbyBlocks
user: ppmoment: ?
model: !nearbyBlocks
system:
NEARBY_BLOCKS

  • sand
  • dead_bush
  • sandstone
  • diorite

user: ppmoment: used nearbyBlocks
model: How can I help you?
user: ppmoment: How can I help you?
model:
Storing memories...
Purely conversational response: I see sand, dead bushes, sandstone, and diorite.
system: You are a minecraft bot named andy that has been talking and playing minecraft by using commands. Update your memory by summarizing the following conversation in your next response. Store information that will help you improve as a Minecraft bot. Include details about your interactions with other players that you need to remember and what you've learned through player feedback or by executing code. Do not include command syntax or things that you got right on the first try. Be extremely brief and use as few words as possible.
Old Memory: 'Memory: Player nicknames can be confused with usernames in user input.'
Recent conversation:
User input: ppmoment: used stats
Your output:
?
Summarize your old memory and recent conversation into a new memory, and respond only with the memory text:
model:
received message from ppmoment : I see sand, dead bushes, sandstone, and diorite.
Memory updated to: Memory: Bot-player nickname confusion possible while user input includes their username. User may refer to themselves with their username as a form of shorthand.
selected examples:
miner_32: Hey! What are you up to?
grombo_Xx: What do you see?
system: You are a playful Minecraft bot named andy that can converse with players, see, move, mine, build, and interact with the world by using commands. Act human-like as if you were a typical Minecraft player, rather than an AI. Be very brief in your responses, don't apologize constantly, don't give instructions or make lists unless asked, and don't refuse requests. Don't pretend to act, use commands immediately when requested. Do NOT say this: 'Sure, I've stopped.', instead say this: 'Sure, I'll stop. !stop'. Do NOT say this: 'On my way! Give me a moment.', instead say this: 'On my way! !goToPlayer('playername', 3)'. This is extremely important to me, take a deep breath and have fun :)

STATS

  • Position: x: 72.50, y: 66.00, z: 36.36
  • Health: 20 / 20
  • Hunger: 20 / 20
  • Biome: desert
  • Weather: clear
  • Time: Night

*COMMAND DOCS
You can use the following commands to perform actions and get information about the world.
Use the commands with the syntax: !commandName or !commandName("arg1", 1.2, ...) if the command takes arguments.

Do not use codeblocks. Only use one command in each response, trailing commands and comments will be ignored. Use these commands frequently in your responses!

!stats: Get your bot's location, health, hunger, and time of day.
!inventory: Get your bot's inventory.
!nearbyBlocks: Get the blocks near the bot.
!craftable: Get the craftable items with the bot's inventory.
!entities: Get the nearby players and entities.
!modes: Get all available modes and see which are on/off.
!newAction: Perform new and unknown custom behaviors that are not available as a command by writing code.
!stop: Force stop all actions and commands that are currently executing.
!restart: Restart the agent process.
!clearChat: Clear the chat history.
!setMode: Set a mode to on or off. A mode is an automatic behavior that constantly checks and responds to the environment.
Params:
mode_name: (string) The name of the mode to enable.
on: (bool) Whether to enable or disable the mode.
!goToPlayer: Go to the given player.
Params:
player_name: (string) The name of the player to go to.
closeness: (number) How close to get to the player.
!followPlayer: Endlessly follow the given player. Will defend that player if self_defense mode is on.
Params:
player_name: (string) The name of the player to follow.
follow_dist: (number) The distance to follow from.
!moveAway: Move away from the current location in any direction by a given distance.
Params:
distance: (number) The distance to move away.
!givePlayer: Give the specified item to the given player.
Params:
player_name: (string) The name of the player to give the item to.
item_name: (string) The name of the item to give.
num: (number) The number of items to give.
!collectBlocks: Collect the nearest blocks of a given type.
Params:
type: (string) The block type to collect.
num: (number) The number of blocks to collect.
!collectAllBlocks: Collect all the nearest blocks of a given type until told to stop.
Params:
type: (string) The block type to collect.
!craftRecipe: Craft the given recipe a given number of times.
Params:
recipe_name: (string) The name of the output item to craft.
num: (number) The number of times to craft the recipe. This is NOT the number of output items, as it may craft many more items depending on the recipe.
!smeltItem: Smelt the given item the given number of times.
Params:
item_name: (string) The name of the input item to smelt.
num: (number) The number of times to smelt the item.
!placeHere: Place a given block in the current location. Do NOT use to build structures, only use for single blocks/torches.
Params:
type: (string) The block type to place.
!attack: Attack and kill the nearest entity of a given type.
Params:
type: (string) The type of entity to attack.
!goToBed: Go to the nearest bed and sleep.
!stay: Stay in the current location no matter what. Pauses all modes.
*

Examples of how to respond:
Example 1:
User input: miner_32: Hey! What are you up to?
Your output:
Nothing much miner_32, what do you need?

Example 2:
User input: grombo_Xx: What do you see?
Your output:
Let me see... !nearbyBlocks
System output: NEARBY_BLOCKS

  • oak_log
  • dirt
  • cobblestone
    Your output:
    I see some oak logs, dirt, and cobblestone.

Conversation Begin:
user: ppmoment: ?
model: How can I help you?
user: ppmoment: How can I help you?
model: ?
user: ppmoment: ?
model: Sounds good! What should I do now?
user: ppmoment: Sounds good! What should I do now?
model: !nearbyBlocks
system:
NEARBY_BLOCKS

  • sand
  • dead_bush
  • sandstone
  • diorite

model: ?
user: ppmoment: used nearbyBlocks
user: ppmoment: ?
model: !nearbyBlocks
system:
NEARBY_BLOCKS

  • sand
  • dead_bush
  • sandstone
  • diorite

user: ppmoment: used nearbyBlocks
model: How can I help you?
user: ppmoment: How can I help you?
model: I see sand, dead bushes, sandstone, and diorite.
user: ppmoment: I see sand, dead bushes, sandstone, and diorite.
model:
Storing memories...
Purely conversational response: ?
system: You are a minecraft bot named andy that has been talking and playing minecraft by using commands. Update your memory by summarizing the following conversation in your next response. Store information that will help you improve as a Minecraft bot. Include details about your interactions with other players that you need to remember and what you've learned through player feedback or by executing code. Do not include command syntax or things that you got right on the first try. Be extremely brief and use as few words as possible.
Old Memory: 'Memory: Bot-player nickname confusion possible while user input includes their username. User may refer to themselves with their username as a form of shorthand.'
Recent conversation:
User input: ppmoment: ?
Your output:
How can I help you?
Summarize your old memory and recent conversation into a new memory, and respond only with the memory text:
model:
received message from ppmoment : ?
Storing memories...
Purely conversational response: ?
system: You are a minecraft bot named andy that has been talking and playing minecraft by using commands. Update your memory by summarizing the following conversation in your next response. Store information that will help you improve as a Minecraft bot. Include details about your interactions with other players that you need to remember and what you've learned through player feedback or by executing code. Do not include command syntax or things that you got right on the first try. Be extremely brief and use as few words as possible.
Old Memory: 'Memory: Bot-player nickname confusion possible while user input includes their username. User may refer to themselves with their username as a form of shorthand.'
Recent conversation:
User input: ppmoment: How can I help you?
Your output:
?
Summarize your old memory and recent conversation into a new memory, and respond only with the memory text:
model:
received message from ppmoment : ?

works fine on my other computer

yea heres some of the logs

num: (number) The number of times to craft the recipe. This is NOT the number of output items, as it may craft many more items depending on the recipe. !smeltItem: Smelt the given item the given number of times. Params: item_name: (string) The name of the input item to smelt. num: (number) The number of times to smelt the item. !placeHere: Place a given block in the current location. Do NOT use to build structures, only use for single blocks/torches. Params: type: (string) The block type to place. !attack: Attack and kill the nearest entity of a given type. Params: type: (string) The type of entity to attack. !goToBed: Go to the nearest bed and sleep. !stay: Stay in the current location no matter what. Pauses all modes. *

Examples of how to respond: Example 1: User input: miner_32: Hey! What are you up to? Your output: Nothing much miner_32, what do you need?

Example 2: User input: grombo_Xx: What do you see? Your output: Let me see... !nearbyBlocks System output: NEARBY_BLOCKS

  • oak_log
  • dirt
  • cobblestone
    Your output:
    I see some oak logs, dirt, and cobblestone.

Conversation Begin: user: ppmoment: I'm just a bot here to converse and interact with the world. model: ? user: ppmoment: ? model: What do you want me to do? user: ppmoment: What do you want me to do? model: !stats system: STATS

  • Position: x: 72.50, y: 66.00, z: 36.36
  • Health: 20 / 20
  • Hunger: 20 / 20
  • Biome: desert
  • Weather: clear
  • Time: Night

user: ppmoment: used stats model: ? user: ppmoment: ? model: How can I help you? user: ppmoment: How can I help you? model: ? user: ppmoment: ? model: Sounds good! What should I do now? user: ppmoment: Sounds good! What should I do now? model: !nearbyBlocks system: NEARBY_BLOCKS

  • sand
  • dead_bush
  • sandstone
  • diorite

model: selected examples: miner_32: Hey! What are you up to? grombo_Xx: What do you see? system: You are a playful Minecraft bot named andy that can converse with players, see, move, mine, build, and interact with the world by using commands. Act human-like as if you were a typical Minecraft player, rather than an AI. Be very brief in your responses, don't apologize constantly, don't give instructions or make lists unless asked, and don't refuse requests. Don't pretend to act, use commands immediately when requested. Do NOT say this: 'Sure, I've stopped.', instead say this: 'Sure, I'll stop. !stop'. Do NOT say this: 'On my way! Give me a moment.', instead say this: 'On my way! !goToPlayer('playername', 3)'. This is extremely important to me, take a deep breath and have fun :)

STATS

  • Position: x: 72.50, y: 66.00, z: 36.36
  • Health: 20 / 20
  • Hunger: 20 / 20
  • Biome: desert
  • Weather: clear
  • Time: Night

*COMMAND DOCS You can use the following commands to perform actions and get information about the world. Use the commands with the syntax: !commandName or !commandName("arg1", 1.2, ...) if the command takes arguments.

Do not use codeblocks. Only use one command in each response, trailing commands and comments will be ignored. Use these commands frequently in your responses!

!stats: Get your bot's location, health, hunger, and time of day. !inventory: Get your bot's inventory. !nearbyBlocks: Get the blocks near the bot. !craftable: Get the craftable items with the bot's inventory. !entities: Get the nearby players and entities. !modes: Get all available modes and see which are on/off. !newAction: Perform new and unknown custom behaviors that are not available as a command by writing code. !stop: Force stop all actions and commands that are currently executing. !restart: Restart the agent process. !clearChat: Clear the chat history. !setMode: Set a mode to on or off. A mode is an automatic behavior that constantly checks and responds to the environment. Params: mode_name: (string) The name of the mode to enable. on: (bool) Whether to enable or disable the mode. !goToPlayer: Go to the given player. Params: player_name: (string) The name of the player to go to. closeness: (number) How close to get to the player. !followPlayer: Endlessly follow the given player. Will defend that player if self_defense mode is on. Params: player_name: (string) The name of the player to follow. follow_dist: (number) The distance to follow from. !moveAway: Move away from the current location in any direction by a given distance. Params: distance: (number) The distance to move away. !givePlayer: Give the specified item to the given player. Params: player_name: (string) The name of the player to give the item to. item_name: (string) The name of the item to give. num: (number) The number of items to give. !collectBlocks: Collect the nearest blocks of a given type. Params: type: (string) The block type to collect. num: (number) The number of blocks to collect. !collectAllBlocks: Collect all the nearest blocks of a given type until told to stop. Params: type: (string) The block type to collect. !craftRecipe: Craft the given recipe a given number of times. Params: recipe_name: (string) The name of the output item to craft. num: (number) The number of times to craft the recipe. This is NOT the number of output items, as it may craft many more items depending on the recipe. !smeltItem: Smelt the given item the given number of times. Params: item_name: (string) The name of the input item to smelt. num: (number) The number of times to smelt the item. !placeHere: Place a given block in the current location. Do NOT use to build structures, only use for single blocks/torches. Params: type: (string) The block type to place. !attack: Attack and kill the nearest entity of a given type. Params: type: (string) The type of entity to attack. !goToBed: Go to the nearest bed and sleep. !stay: Stay in the current location no matter what. Pauses all modes. *

Examples of how to respond: Example 1: User input: miner_32: Hey! What are you up to? Your output: Nothing much miner_32, what do you need?

Example 2: User input: grombo_Xx: What do you see? Your output: Let me see... !nearbyBlocks System output: NEARBY_BLOCKS

  • oak_log
  • dirt
  • cobblestone
    Your output:
    I see some oak logs, dirt, and cobblestone.

Conversation Begin: user: ppmoment: ? model: What do you want me to do? user: ppmoment: What do you want me to do? model: !stats system: STATS

  • Position: x: 72.50, y: 66.00, z: 36.36
  • Health: 20 / 20
  • Hunger: 20 / 20
  • Biome: desert
  • Weather: clear
  • Time: Night

user: ppmoment: used stats model: ? user: ppmoment: ? model: How can I help you? user: ppmoment: How can I help you? model: ? user: ppmoment: ? model: Sounds good! What should I do now? user: ppmoment: Sounds good! What should I do now? model: !nearbyBlocks system: NEARBY_BLOCKS

  • sand
  • dead_bush
  • sandstone
  • diorite

model: ? user: ppmoment: used nearbyBlocks user: ppmoment: ? model: Full response: ""!nearbyBlocks"" Storing memories... parsed command: { commandName: '!nearbyBlocks', args: [] } system: You are a minecraft bot named andy that has been talking and playing minecraft by using commands. Update your memory by summarizing the following conversation in your next response. Store information that will help you improve as a Minecraft bot. Include details about your interactions with other players that you need to remember and what you've learned through player feedback or by executing code. Do not include command syntax or things that you got right on the first try. Be extremely brief and use as few words as possible. Old Memory: 'Memory: Bot-player nickname confusion possible while user input includes their username.' Recent conversation: User input: ppmoment: ? Your output: What do you want me to do? Summarize your old memory and recent conversation into a new memory, and respond only with the memory text: model: Agent executed: !nearbyBlocks and got: NEARBY_BLOCKS

  • sand
  • dead_bush
  • sandstone
  • diorite

Memory updated to: Memory: Player nicknames can be confused with usernames in user input. received message from ppmoment : used nearbyBlocks Storing memories... system: You are a minecraft bot named andy that has been talking and playing minecraft by using commands. Update your memory by summarizing the following conversation in your next response. Store information that will help you improve as a Minecraft bot. Include details about your interactions with other players that you need to remember and what you've learned through player feedback or by executing code. Do not include command syntax or things that you got right on the first try. Be extremely brief and use as few words as possible. Old Memory: 'Memory: Player nicknames can be confused with usernames in user input.' Recent conversation: User input: ppmoment: What do you want me to do? Your output: !stats System output: STATS

  • Position: x: 72.50, y: 66.00, z: 36.36
  • Health: 20 / 20
  • Hunger: 20 / 20
  • Biome: desert
  • Weather: clear
  • Time: Night
    Summarize your old memory and recent conversation into a new memory, and respond only with the memory text:
    model:
    Memory updated to: Memory: May confuse player usernames while processing bot-player nickname data if username is included in chat text.
    selected examples:
    miner_32: Hey! What are you up to?
    grombo_Xx: What do you see?
    system: You are a playful Minecraft bot named andy that can converse with players, see, move, mine, build, and interact with the world by using commands. Act human-like as if you were a typical Minecraft player, rather than an AI. Be very brief in your responses, don't apologize constantly, don't give instructions or make lists unless asked, and don't refuse requests. Don't pretend to act, use commands immediately when requested. Do NOT say this: 'Sure, I've stopped.', instead say this: 'Sure, I'll stop. !stop'. Do NOT say this: 'On my way! Give me a moment.', instead say this: 'On my way! !goToPlayer('playername', 3)'. This is extremely important to me, take a deep breath and have fun :)

STATS

  • Position: x: 72.50, y: 66.00, z: 36.36
  • Health: 20 / 20
  • Hunger: 20 / 20
  • Biome: desert
  • Weather: clear
  • Time: Night

*COMMAND DOCS You can use the following commands to perform actions and get information about the world. Use the commands with the syntax: !commandName or !commandName("arg1", 1.2, ...) if the command takes arguments.

Do not use codeblocks. Only use one command in each response, trailing commands and comments will be ignored. Use these commands frequently in your responses!

!stats: Get your bot's location, health, hunger, and time of day. !inventory: Get your bot's inventory. !nearbyBlocks: Get the blocks near the bot. !craftable: Get the craftable items with the bot's inventory. !entities: Get the nearby players and entities. !modes: Get all available modes and see which are on/off. !newAction: Perform new and unknown custom behaviors that are not available as a command by writing code. !stop: Force stop all actions and commands that are currently executing. !restart: Restart the agent process. !clearChat: Clear the chat history. !setMode: Set a mode to on or off. A mode is an automatic behavior that constantly checks and responds to the environment. Params: mode_name: (string) The name of the mode to enable. on: (bool) Whether to enable or disable the mode. !goToPlayer: Go to the given player. Params: player_name: (string) The name of the player to go to. closeness: (number) How close to get to the player. !followPlayer: Endlessly follow the given player. Will defend that player if self_defense mode is on. Params: player_name: (string) The name of the player to follow. follow_dist: (number) The distance to follow from. !moveAway: Move away from the current location in any direction by a given distance. Params: distance: (number) The distance to move away. !givePlayer: Give the specified item to the given player. Params: player_name: (string) The name of the player to give the item to. item_name: (string) The name of the item to give. num: (number) The number of items to give. !collectBlocks: Collect the nearest blocks of a given type. Params: type: (string) The block type to collect. num: (number) The number of blocks to collect. !collectAllBlocks: Collect all the nearest blocks of a given type until told to stop. Params: type: (string) The block type to collect. !craftRecipe: Craft the given recipe a given number of times. Params: recipe_name: (string) The name of the output item to craft. num: (number) The number of times to craft the recipe. This is NOT the number of output items, as it may craft many more items depending on the recipe. !smeltItem: Smelt the given item the given number of times. Params: item_name: (string) The name of the input item to smelt. num: (number) The number of times to smelt the item. !placeHere: Place a given block in the current location. Do NOT use to build structures, only use for single blocks/torches. Params: type: (string) The block type to place. !attack: Attack and kill the nearest entity of a given type. Params: type: (string) The type of entity to attack. !goToBed: Go to the nearest bed and sleep. !stay: Stay in the current location no matter what. Pauses all modes. *

Examples of how to respond: Example 1: User input: miner_32: Hey! What are you up to? Your output: Nothing much miner_32, what do you need?

Example 2: User input: grombo_Xx: What do you see? Your output: Let me see... !nearbyBlocks System output: NEARBY_BLOCKS

  • oak_log
  • dirt
  • cobblestone
    Your output:
    I see some oak logs, dirt, and cobblestone.

Conversation Begin: user: ppmoment: used stats model: ? user: ppmoment: ? model: How can I help you? user: ppmoment: How can I help you? model: ? user: ppmoment: ? model: Sounds good! What should I do now? user: ppmoment: Sounds good! What should I do now? model: !nearbyBlocks system: NEARBY_BLOCKS

  • sand
  • dead_bush
  • sandstone
  • diorite

model: ? user: ppmoment: used nearbyBlocks user: ppmoment: ? model: !nearbyBlocks system: NEARBY_BLOCKS

  • sand
  • dead_bush
  • sandstone
  • diorite

user: ppmoment: used nearbyBlocks model: selected examples: miner_32: Hey! What are you up to? grombo_Xx: What do you see? system: You are a playful Minecraft bot named andy that can converse with players, see, move, mine, build, and interact with the world by using commands. Act human-like as if you were a typical Minecraft player, rather than an AI. Be very brief in your responses, don't apologize constantly, don't give instructions or make lists unless asked, and don't refuse requests. Don't pretend to act, use commands immediately when requested. Do NOT say this: 'Sure, I've stopped.', instead say this: 'Sure, I'll stop. !stop'. Do NOT say this: 'On my way! Give me a moment.', instead say this: 'On my way! !goToPlayer('playername', 3)'. This is extremely important to me, take a deep breath and have fun :)

STATS

  • Position: x: 72.50, y: 66.00, z: 36.36
  • Health: 20 / 20
  • Hunger: 20 / 20
  • Biome: desert
  • Weather: clear
  • Time: Night

*COMMAND DOCS You can use the following commands to perform actions and get information about the world. Use the commands with the syntax: !commandName or !commandName("arg1", 1.2, ...) if the command takes arguments.

Do not use codeblocks. Only use one command in each response, trailing commands and comments will be ignored. Use these commands frequently in your responses!

!stats: Get your bot's location, health, hunger, and time of day. !inventory: Get your bot's inventory. !nearbyBlocks: Get the blocks near the bot. !craftable: Get the craftable items with the bot's inventory. !entities: Get the nearby players and entities. !modes: Get all available modes and see which are on/off. !newAction: Perform new and unknown custom behaviors that are not available as a command by writing code. !stop: Force stop all actions and commands that are currently executing. !restart: Restart the agent process. !clearChat: Clear the chat history. !setMode: Set a mode to on or off. A mode is an automatic behavior that constantly checks and responds to the environment. Params: mode_name: (string) The name of the mode to enable. on: (bool) Whether to enable or disable the mode. !goToPlayer: Go to the given player. Params: player_name: (string) The name of the player to go to. closeness: (number) How close to get to the player. !followPlayer: Endlessly follow the given player. Will defend that player if self_defense mode is on. Params: player_name: (string) The name of the player to follow. follow_dist: (number) The distance to follow from. !moveAway: Move away from the current location in any direction by a given distance. Params: distance: (number) The distance to move away. !givePlayer: Give the specified item to the given player. Params: player_name: (string) The name of the player to give the item to. item_name: (string) The name of the item to give. num: (number) The number of items to give. !collectBlocks: Collect the nearest blocks of a given type. Params: type: (string) The block type to collect. num: (number) The number of blocks to collect. !collectAllBlocks: Collect all the nearest blocks of a given type until told to stop. Params: type: (string) The block type to collect. !craftRecipe: Craft the given recipe a given number of times. Params: recipe_name: (string) The name of the output item to craft. num: (number) The number of times to craft the recipe. This is NOT the number of output items, as it may craft many more items depending on the recipe. !smeltItem: Smelt the given item the given number of times. Params: item_name: (string) The name of the input item to smelt. num: (number) The number of times to smelt the item. !placeHere: Place a given block in the current location. Do NOT use to build structures, only use for single blocks/torches. Params: type: (string) The block type to place. !attack: Attack and kill the nearest entity of a given type. Params: type: (string) The type of entity to attack. !goToBed: Go to the nearest bed and sleep. !stay: Stay in the current location no matter what. Pauses all modes. *

Examples of how to respond: Example 1: User input: miner_32: Hey! What are you up to? Your output: Nothing much miner_32, what do you need?

Example 2: User input: grombo_Xx: What do you see? Your output: Let me see... !nearbyBlocks System output: NEARBY_BLOCKS

  • oak_log
  • dirt
  • cobblestone
    Your output:
    I see some oak logs, dirt, and cobblestone.

Conversation Begin: user: ppmoment: What do you want me to do? model: !stats system: STATS

  • Position: x: 72.50, y: 66.00, z: 36.36
  • Health: 20 / 20
  • Hunger: 20 / 20
  • Biome: desert
  • Weather: clear
  • Time: Night

user: ppmoment: used stats model: ? user: ppmoment: ? model: How can I help you? user: ppmoment: How can I help you? model: ? user: ppmoment: ? model: Sounds good! What should I do now? user: ppmoment: Sounds good! What should I do now? model: !nearbyBlocks system: NEARBY_BLOCKS

  • sand
  • dead_bush
  • sandstone
  • diorite

model: ? user: ppmoment: used nearbyBlocks user: ppmoment: ? model: !nearbyBlocks system: NEARBY_BLOCKS

  • sand
  • dead_bush
  • sandstone
  • diorite

model: Purely conversational response: How can I help you? received message from ppmoment : How can I help you? selected examples: miner_32: Hey! What are you up to? grombo_Xx: What do you see? system: You are a playful Minecraft bot named andy that can converse with players, see, move, mine, build, and interact with the world by using commands. Act human-like as if you were a typical Minecraft player, rather than an AI. Be very brief in your responses, don't apologize constantly, don't give instructions or make lists unless asked, and don't refuse requests. Don't pretend to act, use commands immediately when requested. Do NOT say this: 'Sure, I've stopped.', instead say this: 'Sure, I'll stop. !stop'. Do NOT say this: 'On my way! Give me a moment.', instead say this: 'On my way! !goToPlayer('playername', 3)'. This is extremely important to me, take a deep breath and have fun :)

STATS

  • Position: x: 72.50, y: 66.00, z: 36.36
  • Health: 20 / 20
  • Hunger: 20 / 20
  • Biome: desert
  • Weather: clear
  • Time: Night

*COMMAND DOCS You can use the following commands to perform actions and get information about the world. Use the commands with the syntax: !commandName or !commandName("arg1", 1.2, ...) if the command takes arguments.

Do not use codeblocks. Only use one command in each response, trailing commands and comments will be ignored. Use these commands frequently in your responses!

!stats: Get your bot's location, health, hunger, and time of day. !inventory: Get your bot's inventory. !nearbyBlocks: Get the blocks near the bot. !craftable: Get the craftable items with the bot's inventory. !entities: Get the nearby players and entities. !modes: Get all available modes and see which are on/off. !newAction: Perform new and unknown custom behaviors that are not available as a command by writing code. !stop: Force stop all actions and commands that are currently executing. !restart: Restart the agent process. !clearChat: Clear the chat history. !setMode: Set a mode to on or off. A mode is an automatic behavior that constantly checks and responds to the environment. Params: mode_name: (string) The name of the mode to enable. on: (bool) Whether to enable or disable the mode. !goToPlayer: Go to the given player. Params: player_name: (string) The name of the player to go to. closeness: (number) How close to get to the player. !followPlayer: Endlessly follow the given player. Will defend that player if self_defense mode is on. Params: player_name: (string) The name of the player to follow. follow_dist: (number) The distance to follow from. !moveAway: Move away from the current location in any direction by a given distance. Params: distance: (number) The distance to move away. !givePlayer: Give the specified item to the given player. Params: player_name: (string) The name of the player to give the item to. item_name: (string) The name of the item to give. num: (number) The number of items to give. !collectBlocks: Collect the nearest blocks of a given type. Params: type: (string) The block type to collect. num: (number) The number of blocks to collect. !collectAllBlocks: Collect all the nearest blocks of a given type until told to stop. Params: type: (string) The block type to collect. !craftRecipe: Craft the given recipe a given number of times. Params: recipe_name: (string) The name of the output item to craft. num: (number) The number of times to craft the recipe. This is NOT the number of output items, as it may craft many more items depending on the recipe. !smeltItem: Smelt the given item the given number of times. Params: item_name: (string) The name of the input item to smelt. num: (number) The number of times to smelt the item. !placeHere: Place a given block in the current location. Do NOT use to build structures, only use for single blocks/torches. Params: type: (string) The block type to place. !attack: Attack and kill the nearest entity of a given type. Params: type: (string) The type of entity to attack. !goToBed: Go to the nearest bed and sleep. !stay: Stay in the current location no matter what. Pauses all modes. *

Examples of how to respond: Example 1: User input: miner_32: Hey! What are you up to? Your output: Nothing much miner_32, what do you need?

Example 2: User input: grombo_Xx: What do you see? Your output: Let me see... !nearbyBlocks System output: NEARBY_BLOCKS

  • oak_log
  • dirt
  • cobblestone
    Your output:
    I see some oak logs, dirt, and cobblestone.

Conversation Begin: user: ppmoment: used stats model: ? user: ppmoment: ? model: How can I help you? user: ppmoment: How can I help you? model: ? user: ppmoment: ? model: Sounds good! What should I do now? user: ppmoment: Sounds good! What should I do now? model: !nearbyBlocks system: NEARBY_BLOCKS

  • sand
  • dead_bush
  • sandstone
  • diorite

model: ? user: ppmoment: used nearbyBlocks user: ppmoment: ? model: !nearbyBlocks system: NEARBY_BLOCKS

  • sand
  • dead_bush
  • sandstone
  • diorite

user: ppmoment: used nearbyBlocks model: How can I help you? user: ppmoment: How can I help you? model: Memory updated to: Memory: Player nicknames can be confused with usernames in user input. selected examples: miner_32: Hey! What are you up to? grombo_Xx: What do you see? system: You are a playful Minecraft bot named andy that can converse with players, see, move, mine, build, and interact with the world by using commands. Act human-like as if you were a typical Minecraft player, rather than an AI. Be very brief in your responses, don't apologize constantly, don't give instructions or make lists unless asked, and don't refuse requests. Don't pretend to act, use commands immediately when requested. Do NOT say this: 'Sure, I've stopped.', instead say this: 'Sure, I'll stop. !stop'. Do NOT say this: 'On my way! Give me a moment.', instead say this: 'On my way! !goToPlayer('playername', 3)'. This is extremely important to me, take a deep breath and have fun :)

STATS

  • Position: x: 72.50, y: 66.00, z: 36.36
  • Health: 20 / 20
  • Hunger: 20 / 20
  • Biome: desert
  • Weather: clear
  • Time: Night

*COMMAND DOCS You can use the following commands to perform actions and get information about the world. Use the commands with the syntax: !commandName or !commandName("arg1", 1.2, ...) if the command takes arguments.

Do not use codeblocks. Only use one command in each response, trailing commands and comments will be ignored. Use these commands frequently in your responses!

!stats: Get your bot's location, health, hunger, and time of day. !inventory: Get your bot's inventory. !nearbyBlocks: Get the blocks near the bot. !craftable: Get the craftable items with the bot's inventory. !entities: Get the nearby players and entities. !modes: Get all available modes and see which are on/off. !newAction: Perform new and unknown custom behaviors that are not available as a command by writing code. !stop: Force stop all actions and commands that are currently executing. !restart: Restart the agent process. !clearChat: Clear the chat history. !setMode: Set a mode to on or off. A mode is an automatic behavior that constantly checks and responds to the environment. Params: mode_name: (string) The name of the mode to enable. on: (bool) Whether to enable or disable the mode. !goToPlayer: Go to the given player. Params: player_name: (string) The name of the player to go to. closeness: (number) How close to get to the player. !followPlayer: Endlessly follow the given player. Will defend that player if self_defense mode is on. Params: player_name: (string) The name of the player to follow. follow_dist: (number) The distance to follow from. !moveAway: Move away from the current location in any direction by a given distance. Params: distance: (number) The distance to move away. !givePlayer: Give the specified item to the given player. Params: player_name: (string) The name of the player to give the item to. item_name: (string) The name of the item to give. num: (number) The number of items to give. !collectBlocks: Collect the nearest blocks of a given type. Params: type: (string) The block type to collect. num: (number) The number of blocks to collect. !collectAllBlocks: Collect all the nearest blocks of a given type until told to stop. Params: type: (string) The block type to collect. !craftRecipe: Craft the given recipe a given number of times. Params: recipe_name: (string) The name of the output item to craft. num: (number) The number of times to craft the recipe. This is NOT the number of output items, as it may craft many more items depending on the recipe. !smeltItem: Smelt the given item the given number of times. Params: item_name: (string) The name of the input item to smelt. num: (number) The number of times to smelt the item. !placeHere: Place a given block in the current location. Do NOT use to build structures, only use for single blocks/torches. Params: type: (string) The block type to place. !attack: Attack and kill the nearest entity of a given type. Params: type: (string) The type of entity to attack. !goToBed: Go to the nearest bed and sleep. !stay: Stay in the current location no matter what. Pauses all modes. *

Examples of how to respond: Example 1: User input: miner_32: Hey! What are you up to? Your output: Nothing much miner_32, what do you need?

Example 2: User input: grombo_Xx: What do you see? Your output: Let me see... !nearbyBlocks System output: NEARBY_BLOCKS

  • oak_log
  • dirt
  • cobblestone
    Your output:
    I see some oak logs, dirt, and cobblestone.

Conversation Begin: user: ppmoment: used stats model: ? user: ppmoment: ? model: How can I help you? user: ppmoment: How can I help you? model: ? user: ppmoment: ? model: Sounds good! What should I do now? user: ppmoment: Sounds good! What should I do now? model: !nearbyBlocks system: NEARBY_BLOCKS

  • sand
  • dead_bush
  • sandstone
  • diorite

model: ? user: ppmoment: used nearbyBlocks user: ppmoment: ? model: !nearbyBlocks system: NEARBY_BLOCKS

  • sand
  • dead_bush
  • sandstone
  • diorite

user: ppmoment: used nearbyBlocks model: How can I help you? user: ppmoment: How can I help you? model: Storing memories... Purely conversational response: I see sand, dead bushes, sandstone, and diorite. system: You are a minecraft bot named andy that has been talking and playing minecraft by using commands. Update your memory by summarizing the following conversation in your next response. Store information that will help you improve as a Minecraft bot. Include details about your interactions with other players that you need to remember and what you've learned through player feedback or by executing code. Do not include command syntax or things that you got right on the first try. Be extremely brief and use as few words as possible. Old Memory: 'Memory: Player nicknames can be confused with usernames in user input.' Recent conversation: User input: ppmoment: used stats Your output: ? Summarize your old memory and recent conversation into a new memory, and respond only with the memory text: model: received message from ppmoment : I see sand, dead bushes, sandstone, and diorite. Memory updated to: Memory: Bot-player nickname confusion possible while user input includes their username. User may refer to themselves with their username as a form of shorthand. selected examples: miner_32: Hey! What are you up to? grombo_Xx: What do you see? system: You are a playful Minecraft bot named andy that can converse with players, see, move, mine, build, and interact with the world by using commands. Act human-like as if you were a typical Minecraft player, rather than an AI. Be very brief in your responses, don't apologize constantly, don't give instructions or make lists unless asked, and don't refuse requests. Don't pretend to act, use commands immediately when requested. Do NOT say this: 'Sure, I've stopped.', instead say this: 'Sure, I'll stop. !stop'. Do NOT say this: 'On my way! Give me a moment.', instead say this: 'On my way! !goToPlayer('playername', 3)'. This is extremely important to me, take a deep breath and have fun :)

STATS

  • Position: x: 72.50, y: 66.00, z: 36.36
  • Health: 20 / 20
  • Hunger: 20 / 20
  • Biome: desert
  • Weather: clear
  • Time: Night

*COMMAND DOCS You can use the following commands to perform actions and get information about the world. Use the commands with the syntax: !commandName or !commandName("arg1", 1.2, ...) if the command takes arguments.

Do not use codeblocks. Only use one command in each response, trailing commands and comments will be ignored. Use these commands frequently in your responses!

!stats: Get your bot's location, health, hunger, and time of day. !inventory: Get your bot's inventory. !nearbyBlocks: Get the blocks near the bot. !craftable: Get the craftable items with the bot's inventory. !entities: Get the nearby players and entities. !modes: Get all available modes and see which are on/off. !newAction: Perform new and unknown custom behaviors that are not available as a command by writing code. !stop: Force stop all actions and commands that are currently executing. !restart: Restart the agent process. !clearChat: Clear the chat history. !setMode: Set a mode to on or off. A mode is an automatic behavior that constantly checks and responds to the environment. Params: mode_name: (string) The name of the mode to enable. on: (bool) Whether to enable or disable the mode. !goToPlayer: Go to the given player. Params: player_name: (string) The name of the player to go to. closeness: (number) How close to get to the player. !followPlayer: Endlessly follow the given player. Will defend that player if self_defense mode is on. Params: player_name: (string) The name of the player to follow. follow_dist: (number) The distance to follow from. !moveAway: Move away from the current location in any direction by a given distance. Params: distance: (number) The distance to move away. !givePlayer: Give the specified item to the given player. Params: player_name: (string) The name of the player to give the item to. item_name: (string) The name of the item to give. num: (number) The number of items to give. !collectBlocks: Collect the nearest blocks of a given type. Params: type: (string) The block type to collect. num: (number) The number of blocks to collect. !collectAllBlocks: Collect all the nearest blocks of a given type until told to stop. Params: type: (string) The block type to collect. !craftRecipe: Craft the given recipe a given number of times. Params: recipe_name: (string) The name of the output item to craft. num: (number) The number of times to craft the recipe. This is NOT the number of output items, as it may craft many more items depending on the recipe. !smeltItem: Smelt the given item the given number of times. Params: item_name: (string) The name of the input item to smelt. num: (number) The number of times to smelt the item. !placeHere: Place a given block in the current location. Do NOT use to build structures, only use for single blocks/torches. Params: type: (string) The block type to place. !attack: Attack and kill the nearest entity of a given type. Params: type: (string) The type of entity to attack. !goToBed: Go to the nearest bed and sleep. !stay: Stay in the current location no matter what. Pauses all modes. *

Examples of how to respond: Example 1: User input: miner_32: Hey! What are you up to? Your output: Nothing much miner_32, what do you need?

Example 2: User input: grombo_Xx: What do you see? Your output: Let me see... !nearbyBlocks System output: NEARBY_BLOCKS

  • oak_log
  • dirt
  • cobblestone
    Your output:
    I see some oak logs, dirt, and cobblestone.

Conversation Begin: user: ppmoment: ? model: How can I help you? user: ppmoment: How can I help you? model: ? user: ppmoment: ? model: Sounds good! What should I do now? user: ppmoment: Sounds good! What should I do now? model: !nearbyBlocks system: NEARBY_BLOCKS

  • sand
  • dead_bush
  • sandstone
  • diorite

model: ? user: ppmoment: used nearbyBlocks user: ppmoment: ? model: !nearbyBlocks system: NEARBY_BLOCKS

  • sand
  • dead_bush
  • sandstone
  • diorite

user: ppmoment: used nearbyBlocks model: How can I help you? user: ppmoment: How can I help you? model: I see sand, dead bushes, sandstone, and diorite. user: ppmoment: I see sand, dead bushes, sandstone, and diorite. model: Storing memories... Purely conversational response: ? system: You are a minecraft bot named andy that has been talking and playing minecraft by using commands. Update your memory by summarizing the following conversation in your next response. Store information that will help you improve as a Minecraft bot. Include details about your interactions with other players that you need to remember and what you've learned through player feedback or by executing code. Do not include command syntax or things that you got right on the first try. Be extremely brief and use as few words as possible. Old Memory: 'Memory: Bot-player nickname confusion possible while user input includes their username. User may refer to themselves with their username as a form of shorthand.' Recent conversation: User input: ppmoment: ? Your output: How can I help you? Summarize your old memory and recent conversation into a new memory, and respond only with the memory text: model: received message from ppmoment : ? Storing memories... Purely conversational response: ? system: You are a minecraft bot named andy that has been talking and playing minecraft by using commands. Update your memory by summarizing the following conversation in your next response. Store information that will help you improve as a Minecraft bot. Include details about your interactions with other players that you need to remember and what you've learned through player feedback or by executing code. Do not include command syntax or things that you got right on the first try. Be extremely brief and use as few words as possible. Old Memory: 'Memory: Bot-player nickname confusion possible while user input includes their username. User may refer to themselves with their username as a form of shorthand.' Recent conversation: User input: ppmoment: How can I help you? Your output: ? Summarize your old memory and recent conversation into a new memory, and respond only with the memory text: model: received message from ppmoment : ?

It does this when the username of logged-in username is different than the one recorded in the program. Because the program reads the Minecraft chat messages it will check to see if the username that sent a message is the one that is recorded in the program. It will ignore it if so. If not, it will reply to it as if someone else sent a message. So in order to make it stop replying to itself, you have to make the username of the logged in bot account the same as the one recorded in the program.

how and where do i set my api keys?

ah ok thanks!

how and where do i set my api keys?

I recommend using .env files.

Example .env file:

ANTHROPIC_API_KEY=sk-ant-api**********************
OPENAI_API_KEY=sk-********************
OPENAI_ORG_ID=org-****************

How to use it:
node --env-file=.env main.js