Skip to content

Latest commit

 

History

History
171 lines (136 loc) · 12.9 KB

README_en.md

File metadata and controls

171 lines (136 loc) · 12.9 KB

phi-plugin phi-plugin version YunzaiBot MiaoYunzai TrssYunzai QQGuild Guild Bilibili Stars

English | 中文



Special Acknowledgements:

圈圈
@Walkersifolia

🌸
屑克鲁
@KeluIsAfkeru

🌸
史蒂夫
@Steve~ɘvɘɈƧ

🌸
文酱
@7aGiven

🌸
MoistCrystal
@MoistCrystal

🌸
yt6983138
@static_void

🌸
wms26
@千柒

🌸

Install:

Run in Yunzai directory

Install by using GitHub

git clone --depth=1 https://github.com/Catrong/phi-plugin.git ./plugins/phi-plugin/ # Install plugin ontology
cd ./plugins/phi-plugin/ # Go to the plugins directory
pnpm install -P # Install the plugin dependencies

Install by using Gitee

git clone --depth=1 https://gitee.com/catrong/phi-plugin.git ./plugins/phi-plugin/ # Install plugin ontology
cd ./plugins/phi-plugin/ # Go to the plugins directory
pnpm install -P # Install the plugin dependencies

List of features:

The following # can be replaced with /, and the command header can be customized

User features below

Function name Function Description
#phi帮助 Get help
#phi (bind|绑定)xxx Bind sessionToken
#phi (unbind|解绑) Delete sessionToken and save records on the bot)
#phi clean Delete all of the personal data
#phi (update|更新存档) Update save on the bot
#phi (rks|pgr|b19) Querying the rks (Get the resulting b21 results)
#phi info(1|2)? Get personal information
#phi lmtacc [0-100] Calculate the RKS after limiting the minimum ACC
#phi (lvsco(re)|scolv) <DIF range> Get comprehensive scores for different difficulty ranges
#phi chap <章节名称|help> Obtain the scores of all songs in any one chapter
#phi list <range of dif> <EZ|HD|IN|AT> <NEW|C|B|A|S|V|FC|PHI> Get scores of all thesongs which in different difficulty ranges
#phi best1(+) Get b19 in text version (or more), up to b99
#phi (score|单曲成绩)xxx Get track scores,acc and acc suggestions
#phi (suggest|推分) Get suggestions and the acc which can make your RKS +0.01
#phi (ranklist|排行榜) Get RKS leaderboard
#phi data Get the quantity of data
#phi (guess|猜曲绘) Guess the song, answer without special orders,just reply directly. bot will not reply if it your answer is not the song title, if it is not the correct song title,it will reply. '#illans' to stop guessing and get answer.
#phi mic Listen to music clips and guess the song, guess by '/gu'; For example '/gu Distorted Fate', if more fragments are needed to send '/phi mictip', '/micans' to stop guessing and get answer.
#phi (曲绘洗牌|illmix) Shuffle the order of the track list in the guess plot and normalize the weights
#phi (letter|出你字母|猜曲名) Guess the title of the song according to the letters, '#出...' Opens the specified letter, guess by'#第n个...' , '#letterans' to stop guessing and get answer.
#phi (字母洗牌|lettermix) The order of the track list in the title will be shuffled according to the letter guess and the weights will be normalized
#phi (song|曲) xxx Get Phigros song info, also supports aliasing
#phi tips Random tips
#phi jrrp Find out the lucky dog
#phi (rand|随机) <condition> According to the conditional random tracks, the condition supports difficulty, fixed number, difficulty can be multi-select, in - interval
#phi (曲绘|ill|Ill) xxx Query the illustration of a song in Phigros
#phi (search|查询|检索) <condition, value> Retrieve tracks in the library, support BPM constant quantity, condition bpm dif cmb, the value can be interval, with - interval
#phi (theme|主题) [0-2] Toggles the drawing theme, only for b19 And update
sign/签到 sign for Notes and task
task/我的任务 Review your tasks
retask/刷新任务 Refreshing the task by costing 20 Notes
#phi (send|送|转) <target> <quantity> Send to the target Note, support @ or QQ number

Admin functions below

Function name Function Description
#phi(设置别名|setnick) xxx ---> xxx Set an alias for a song in the format Original name (or already an alias) ---> alias (spaces on both sides of the ---> are automatically filtered)
#phi(删除别名|delnick) xxx Delete an alias for a song
#phi(强制)?更新 Update this plugin
#phi get <rank> Get the sessionToken of a user at a specific rank on the leaderboard
#phi del <sessionToken> Disable a specific sessionToken
#phi allow <sessionToken> Restore a specific sessionToken
`#phi (set 设置)`
#phi ban <function> Disable a certain type of function, see the table below

Function Parameter Description

Parameter Function Affected Commands
all all all
help Help feature /help /tkhelp
bind Binding feature /bind /unbind
b19 Image score lookup feature /pgr /update /info /list /pb30 /score /lvsco /chap /suggest
wb19 Text score lookup feature /data /best
song Song guide feature /song /ill /search /alias /rand
ranklist Leaderboard feature (does not disable user rankings) /ranklist /godlist
fnc Small features /com /tips /lmtacc
tipgame Tip guessing game /tipgame
guessgame Guessing game /guess
ltrgame Letter guessing game /letter /ltr
sign Entertainment features /sign /send /task /retask /jrrp
setting System settings /theme
dan Rank certification related /dan /danupdate

Todo

  • Optimized the interface design

  • Added collectibles, avatars, etc

  • Dotted phi's song


Links

Yunzai-Bot plugins index

Miao-Yunzai

TRSS-Yunzai


Best19 rendering

Renderings from@Steve~
Single song score info rendering

Renderings from@Steve~

Single song score info rendering(Legacy)

Renderings from@Steve~

Single song information rendering
Range Score Info rendering

Renderings from@Eastown

User information rendering

Renderings from@Steve~
User information rendering(Legacy)

Renderings from@Eastown

Disclaimer

  1. Plugins are only for internal communication and small-scale use. Do not use 'Yunzai-Bot' and 'phi-Plugin' for any profit-oriented scenarios.
  2. The pictures and other materials are from the network, only for the exchange of learning use, if any infringement, please contact, will be immediately deleted.
  3. Cloud archive adapted from 7aGiven/PhigrosLibrary.

Bad writing,don't overdo it...