Started by
snoweyrawr
on
Topic category: Help with Minecraft modding (Java Edition)
Hello,
I need some help making a command based warp system for my mod, its a server utility mod and the last major area is the warp system. The idea is as follows:
/setwarp <Name>
/warp <Name>
/delwarp <Name>
I know I need to collect warp name as a string, x, y, x of the player and the dimension but how do I store it?
Next is when a player uses /warp <Name>, I need it to find the warp, break apart the string data so it can teleport the player to the location
Finally, delwarp to remove that information from the data whilst retaining the rest
Anyone done this before and have a few pointers or know how to store and retrieve the data?
Thanks in advance!