kangarko / ChatControl-Pro

The ultimate chat solution. Prevent spam, ads, swears and even bots on your server. Replaced by ChatControl Red: https://mineacademy.org/chatcontrol-red
Other
65 stars 8 forks source link

Pay for global chat #2275

Closed Demonas closed 3 years ago

Demonas commented 3 years ago

Hi , i enabled ranged mode it works fine but i want to make that players need to pay to use global chat example Player types ! Hello world Player will pay 150

M0diis commented 3 years ago

Read rules.txt

There is an option to "fine" a player for something.

You can simply check if the message starts with "!" and make sure they have appropriate permission with require perm. # match ^!\w+ # this is just a regex to match if the start of the message starts with a "!" and words after. # then fine (If plugin Vault is installed - take specified amount of money from the player.) # require perm [message] (Only execute the rule if the player has specified permission.

kangarko commented 3 years ago

Thanks to M0diis for an excellent tip — I think that's the closest you can get for this without the need for a developer to make an extension for our plugin!

MrBrights commented 3 years ago

I happened to be studying this problem for a long time But I found that when the player has no money, he can still speak normally Is there any way to solve this problem? I was wondering whether it is possible to add a matching placeholder or a character that requires money?

kangarko commented 3 years ago

No sorry I am afraid you would need a custom development works for this or I am unsure of a way going forward with this.

MrBrights commented 3 years ago

不抱歉,我擔心您需要為此進行自定義開發工作,或者我不確定前進的方向。

I think this is a minor change, because I have no research on making plugins, I hope you can update it

kangarko commented 3 years ago

We are no longer shipping feature updates to ChatControl Pro

M0diis commented 3 years ago

We are no longer shipping feature updates to ChatControl Pro

Any plans on making it Open-Sourced/Community maintained?

kangarko commented 3 years ago

Not right now, we already made tons of our other plugins open source.