On my Minecraft server, Ramshard hosts it, none of my servers allows the use of variables for commands. I have commands on, and command blocks on, and anything that doesn't involve variables like @pĀ will work, but if I try to use variables it doesn't recognize it. I use paper spigot for plugins, and I have contacted Ramshard and both couldn't do anything about it.
Thank you for your report!
However, this issue is Invalid.
Your game, launcher and/or server is modified.
If you can reproduce the issue in a vanilla environment, please create a new ticket - this is a bug tracker for the game, and not a support website.
Any non-standard client/server/launcher build needs to be taken up with the appropriate team, not Mojang Studios or the Bugtracker.
Any plugin or resource pack issues need to be addressed to the creator of the plugin or resource pack.
If you have problems on large servers, such as The Hive and Hypixel, please contact them first as they run extensively modified server software.
Quick Links:
š Issue Guidelines ā š Community Support ā š§ Customer Support ā āļø Feedback and Suggestions ā š Game Wiki
š¬ Mojira Subreddit ā š¬ Mojira Discord