ダッシュボード
🔑 APIトークン管理
既存のトークン
トークンを読み込み中...
📖 設定ガイド
セットアップ
API仕様
Minecraftプラグインでの設定方法
1. プラグインの設定ファイルを開く
plugins/best_auction/config.yml
2. 以下の設定を追加/更新
# プラグインのconfig.ymlに設定する内容
# Cloud Integration Settings
cloud:
enabled: true
base_url: "https://best-auction-cloud.masafumi-t.workers.dev"
api_token: "your_token"
server_id: "your_server_id"
auth:
validate_on_startup: true
revalidate_interval: 60
sync:
auto_sync_on_startup: true
batch_size: 50
batch_delay: 1000
include_bids: true
force_full_sync: false
timeout: 5000
retry_attempts: 3
retry_delay: 1000
events:
auction_created: true
auction_ended: true
bid_placed: true
bid_cancelled: true
auction_cancelled: true
item_sold: true
3. サーバーを再起動
設定を反映するためにMinecraftサーバーを再起動してください。
🔧 プラグインコマンド
/auction cloud status
- クラウド接続状態を確認/auction cloud sync
- 手動でデータ同期/auction cloud validate
- トークン検証
API エンドポイント
ベースURL:
ベースURL:
https://best-auction-cloud.masafumi-t.workers.dev
主要エンドポイント
GET /api/auctions/{serverId}
- オークション一覧GET /api/auctions/{serverId}/{auctionId}
- 特定オークションGET /api/servers
- サーバー一覧GET /api/events/{serverId}
- イベント履歴
認証
すべてのAPIリクエストにはBearerトークンが必要です:
Authorization: Bearer YOUR_API_TOKEN
レスポンス形式
{
"success": true,
"data": {...},
"message": "Success"
}