Hello!
The worldspace position of an object can easily be found with the xform command in Mel. You can run this in the script editor, the Mel command field, or work it into an expression:
xform -q -t -ws nameOfTheMace;
Just replace "nameOfTheMace" with the name of your mace, and it will print out the world position in the script editor.
To elaborate a bit on the -q, -t, and -ws flags, those are telling the xform command to query(q) the translation(t) in world space(ws) of the mace.
Hope that helps!
side note, if you need to put it into a variable that you can use somewhere else in script, you need to use a formatting like this:
float $worldPos [] = `xform -q -t -ws nameOfTheMace`;
print $worldPos;
Notice how there are back ticks around the command. This is necessary to take the return info from the command and put it into a variable.
Let me know if you have any questions on any of that!
further reading:
More info on xform:
https://download.autodesk.com/global/docs/maya2012/en_us/Commands/xform.html
and if you're brand new to Mel, here is the root page for Mel info from Autodesk (I'm on 2018, but the info should be the same):
http://help.autodesk.com/view/MAYAUL/2018/ENU/?guid=GUID-60178D44-9990-45B4-8B43-9429D54DF70E