{"id":17014633,"url":"https://github.com/necnion8/bungeeplaytime","last_synced_at":"2026-04-17T17:32:14.424Z","repository":{"id":41742761,"uuid":"412990081","full_name":"Necnion8/BungeePlayTime","owner":"Necnion8","description":"AFK時間と非AFK時間の統計を取るプラグイン for Bungee","archived":false,"fork":false,"pushed_at":"2025-02-10T05:31:02.000Z","size":202,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T14:41:44.244Z","etag":null,"topics":["bungeecord-plugin","minecraft-plugin","spigot-plugin"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Necnion8.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-03T05:58:30.000Z","updated_at":"2025-02-10T05:31:05.000Z","dependencies_parsed_at":"2024-11-09T04:22:19.413Z","dependency_job_id":"d2d5e601-6cc2-46fe-b284-f52364ea321f","html_url":"https://github.com/Necnion8/BungeePlayTime","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Necnion8/BungeePlayTime","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Necnion8%2FBungeePlayTime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Necnion8%2FBungeePlayTime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Necnion8%2FBungeePlayTime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Necnion8%2FBungeePlayTime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Necnion8","download_url":"https://codeload.github.com/Necnion8/BungeePlayTime/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Necnion8%2FBungeePlayTime/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31938686,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bungeecord-plugin","minecraft-plugin","spigot-plugin"],"created_at":"2024-10-14T06:25:34.228Z","updated_at":"2026-04-17T17:32:14.408Z","avatar_url":"https://github.com/Necnion8.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BungeePlayTime\nプレイヤーのオンライン時間とプレイ時間を集計するプラグイン\n\n## 前提\n- BungeeCord\n- Spigot (AFK連携を使用する場合)\n- 連携プラグイン (オプション)\n    - [AFKPlus](https://www.spigotmc.org/resources/afk.35065/) (AFK判定の連携)\n    - [ConnectorPlugin](https://github.com/Phoenix616/ConnectorPlugin) (ブリッジ通信)\n    - [BungeeTabListPlus](https://www.spigotmc.org/resources/bungeetablistplus.313/) (プレースホルダ連携)\n\n## コマンドと権限\n\n\n| コマンド / 別名                                                        | サブコマンド                            | 権限                                    | 許可\u003csup\u003e※1\u003c/sup\u003e |\n|:-----------------------------------------------------------------|-----------------------------------|:--------------------------------------|:---------------:|\n| /playtime [player] \u003csub\u003e`/pt`\u003c/sub\u003e\u003cbr\u003e実行者のプレイ時間                 |                                   | bungeeplaytime.command.playtime       |       YES       |\n| /playtimetop \u003csub\u003e`/pttop, /pt top`\u003c/sub\u003e\u003cbr\u003eプレイ時間ランキング          |                                   | bungeeplaytime.command.playtimetop    |      OPのみ       |\n| /onlinetime [player] \u003csub\u003e`/ot`\u003c/sub\u003e\u003cbr\u003e実行者のオンライン時間             |                                   | bungeeplaytime.command.onlinetime     |       YES       |\n| /onlinetimetop \u003csub\u003e`/ottop, /ot top`\u003c/sub\u003e\u003cbr\u003eオンライン時間ランキング      |                                   | bungeeplaytime.command.onlinetimetop  |      OPのみ       |\n| /afkplayers \u003csup\u003e※1\u003c/sup\u003e\u003cbr\u003eAFKプレイヤー一覧                          |                                   | bungeeplaytime.command.afkplayers     |                 |\n| /bungeeplaytime \u003csup\u003e※1\u003c/sup\u003e \u003csub\u003e`/bpt`\u003c/sub\u003e\u003cbr\u003e管理者用プラグインコマンド | info [player/uuid]\u003cbr\u003eプレイヤーの情報を表示 | bungeeplaytime.command.bungeeplaytime |                 |\n| 〃                                                                | reload\u003cbr\u003e設定の再読み込み                | 〃                                     |                 |\n\u003csup\u003e※1\u003c/sup\u003e BungeeCordコマンドのみ\n\n## 設定\n[BungeeCord config.yml](..%2Fsrc%2Fmain%2Fresources%2Fbungee-config.yml) | [Bukkit config.yml](..%2Fsrc%2Fmain%2Fresources%2Fbukkit-config.yml)\n```yml\n### BungeeCord config.yml ###\n\nplayers:\n  played-in-unknown-state: false\n  afk-minutes: 5\n\ndb-type: mysql\n# available: mysql, sqlite\n\ndatabase:\n  mysql:\n    username: root\n    password: \"password\"\n    address: localhost:3306\n    database: \"bungeeplaytime\"\n    options:\n      autoReconnect: true\n\n  sqlite:\n    address: database.db\n    options:\n\n# Use ConnectorPlugin in API communication\nenable-connector-plugin-support: true\n```\n\n\u003e [!NOTE]\n\u003e データベースに MySQL か SQLite を使用できますが、デフォルトは MySQL になっています。\u003cbr\u003e\n\u003e 必要に応じて変更してください。`db-type: mysql`\n\n\n## API\n- Bungee/Bukkit 共通メソッド - [common/IPlayTimeAPI.java](..%2Fsrc%2Fmain%2Fjava%2Fcom%2Fgmail%2Fnecnionch%2Fmyplugin%2Fbungeeplaytime%2Fcommon%2FIPlayTimeAPI.java)\u003cbr\u003e\n- Bukkit - [bukkit/PlayTimeAPI.java](..%2Fsrc%2Fmain%2Fjava%2Fcom%2Fgmail%2Fnecnionch%2Fmyplugin%2Fbungeeplaytime%2Fbukkit%2FPlayTimeAPI.java)\u003cbr\u003e\n- Bungee - [bungee/PlayTimeAPI.java](..%2Fsrc%2Fmain%2Fjava%2Fcom%2Fgmail%2Fnecnionch%2Fmyplugin%2Fbungeeplaytime%2Fbungee%2FPlayTimeAPI.java)\n\n### 例: プレイ時間ランクの取得\n\u003e ```java\n\u003e Player player = Bukkit.getPlayer(\"Necnion8\");\n\u003e\n\u003e if (Bukkit.getPluginManager().isPluginEnabled(\"BungeePlayTime\")) {\n\u003e   PlayTimeAPI api = BungeePlayTime.getAPI();\n\u003e     \n\u003e   api.lookupTimeRanking(player.getUniqueId(), new LookupTimeOptions().server(\"game\"))\n\u003e     .thenAccept(ret -\u003e {\n\u003e       if (ret.isPresent()) {\n\u003e         getLogger().info(\"Player \" + player.getName() + \"'s rank \" + ret.getAsInt());\n\u003e       } else {\n\u003e         getLogger().info(\"No data player\");\n\u003e       }\n\u003e     });\n\u003e }\n\u003e ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnecnion8%2Fbungeeplaytime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnecnion8%2Fbungeeplaytime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnecnion8%2Fbungeeplaytime/lists"}