I did something like this using variables for my RPG. When you buy a sword, it doesn't give you it but it gives you 1 sword variable which you cash in in the pvp zone. When you leave the pvp zone, it removes your sword and your sword variable goes back to the place where you redeem it.