TheoBong / PunishmentsX

GUI Based minecraft punishments plugin.
MIT License
2 stars 4 forks source link

Comments on deprecated code #21

Closed FRFlo closed 1 year ago

FRFlo commented 1 year ago

Describe the feature you'd like I imagine a world where deprecated code will be commented. Jokes appart, can you give somme comments for all deprecated methods.

Additional information No further informations ;)

TheoBong commented 1 year ago

I'm not quite sure what deprecated code you're referring too, could you link it please?

FRFlo commented 1 year ago

Theses lines for example:

getMongo

importFromDocument

TheoBong commented 1 year ago

Those are deprecated because they are only used for legacy anti-ban evasion system. I was too lazy to make my anti-evasion system compatible with sql so I just kept the methods mongo only.

The methods shouldn't be used in any future code-- thus its deprecated.

FRFlo commented 1 year ago

ok, thx