koishi-plugin-eqserver-connect
v0.0.3
Published
EQ server PostgreSQL connector with register + daily signin
Maintainers
Readme
koishi-plugin-eqserver-connect
PostgreSQL connector plugin for Koishi:
- Register player mapping with
注册 <authid>(alias:register). - Daily sign-in with
签到(alias:qd). - One sign-in per day, reset at 12:00 (configurable timezone offset).
- Rewards
100-500by default, and directly adds to the configuredstore_playerscurrency field (creditsby default). - Group whitelist in plugin config (
groupIds), with sandbox groups allowed by default.
Required database table
The plugin expects an existing table:
store_players(id, authid, credits, ...)
Set currencyField to use a different currency column, for example shop_credits.
Set currencyName to change the display name in sign-in messages, for example 商店积分.
It auto-creates:
koishi_player_bind(Koishi user -> player binding)koishi_signin(daily sign-in records)
