Ajneb97 / ConditionalEvents

MIT License
22 stars 12 forks source link

Feature request | Add money #77

Closed Rexmen1 closed 1 month ago

Rexmen1 commented 1 month ago

with current method where i use command to give money to players for some custom events its heavy and spams console with this warning...

[15:53:55] [Server thread/INFO]: Reapeating command detected while performing specialized command (cmi money give Rairah 13.5 -s) [15:53:55] [Server thread/INFO]: Infinite loop detected! Please update your commands relating to (cmi money give Rairah 13.5 -s)

so if there is add_money action which will help alot i think... Ty

Ajneb97 commented 1 month ago

Check your events, if an "infinite loop" message appears, there is something your are doing incorrectly. Implementing an add_money action is unnecessary because of the console_command action, and it would require adding compatibility with a lot of plugins.

Rexmen1 commented 1 month ago

sharing config here please tell me whats wrong here https://ptero.co/cemiboboba.less

Rexmen1 commented 1 month ago

issue here is that players mine alot and with eff 5 + haste 2 its even faster

Rexmen1 commented 1 month ago

and isn't vault is the only thing needed to add support for adding money?

Ajneb97 commented 1 month ago

Yes, but some plugins don't use Vault anymore since it is not updated since 2020.

Rexmen1 commented 1 month ago

You didn't said whats wrong with that config... You said something is wrong with setup so please guide me

https://ptero.co/cemiboboba.less

Ajneb97 commented 1 month ago

If you are talking about the last event, I don't see anything wrong. Try adding a cooldown to the event.

Rexmen1 commented 1 month ago

thats what im saying there is nothing wrong with config and still gives me error [15:53:55] [Server thread/INFO]: Reapeating command detected while performing specialized command (cmi money give Rairah 13.5 -s) i guess gonna use some other plugin for it bcz adding cooldown isn't possible for what I'm trying to setup for it..

Rexmen1 commented 1 month ago

Bye, can close it i guess?