NOTICE: This plugin branch is for PocketMine-MP 4.
Features
- Ask a question to Google Bard
- Customizable messages
- Customizable forms
- FormUI support
Commands & Permissions
Command | Description | Permission |
---|---|---|
/bardai |
Ask a question to Google Bard | bardai.command |
Authentication
- Visit https://bard.google.com/
- F12 for console
- Session:
Application → Cookies → Copy the value of __Secure-1PSID cookie.
Config
token: ''
messages:
not-ready: '&cThe AI is not ready yet, please check token in config.yml'
player-only: '&cThis command can only be used by players.'
no-permission: '&cYou do not have permission to use this command.'
empty-question: '&cYou must ask a question.'
processing: '&aAsking Bard...'
ask-form:
title: 'Bard AI'
label: 'Ask Bard a question!'
input:
text: 'Question'
placeholder: 'Ask a question...'
result-form:
title: 'Bard AI'
content: '{content}'
button: '&cClose'