Ajneb97 / ServerVariables

MIT License
5 stars 5 forks source link

(Suggestion) Adding Errors to Debug #20

Open KhrysAK47 opened 2 months ago

KhrysAK47 commented 2 months ago

For example, when you try to add a non-existent variable, or similar, it sends a message like PLAYER x TRIED TO ADD x TO x.

For example if it's an integer variable, and you do /svar set test 123, it sends the failed attempt and what actually was written. Would be helpful for people who have lots of variables and sometimes mess up things, so we can figure the route.

KhrysAK47 commented 2 months ago

Personally I have [ServerVariables] You must use a valid number value. spamming in my console, and since I have no idea what it may be, I don't know haha. Maybe some sort of debug to know what command is being used in there?