ReinfyTeam / ProfanityFilter

A best profanity filter for pocketmine. Controls hate speech and blocks bad words in certain on the chat with plugin api for plugin developers!
https://poggit.pmmp.io/p/ProfanityFilter
GNU Lesser General Public License v2.1
9 stars 4 forks source link

Use InfoAPI for template strings #193

Closed SOF3 closed 1 year ago

SOF3 commented 1 year ago

Actually we could remove the colorize call as well since InfoAPI already supports it, but there are some minor differences (e.g. no &, {darkPurple} instead of {dark_purple}, etc. Also {player_ping} will now become {player ping}. In the long term, I recommend deprecating the {"player_name"} template too since it would be {player name} (or just {player} with InfoAPI.

SOF3 commented 1 year ago

Actually you need to use pharynx to include InfoAPI properly, but I didn't bother to study what build.php does. Feel free to ask me if you have problems there.

SOF3 commented 1 year ago

I forgot to delete the .poggit.yml. Direct Poggit builds will no longer work properly; use the builds from the poggit/stable branch instead.

SOF3 commented 1 year ago

I mean you have to replace your build workflow with the pharynx workflow.

xqwtxon commented 1 year ago

I forgot to delete the .poggit.yml. Direct Poggit builds will no longer work properly; use the builds from the poggit/stable branch instead.

Where, i can replace?

SOF3 commented 1 year ago

refer to https://github.com/SOF3/timer-pmmp