Interesting, but what is the point of the /tp commands? Minecraft already has /tp. Is it meant for players to use?
I often see plugins, usually Essentials type of plugins that do everything, that have commands that do the same thing as Minecraft’s commands. Why is this? Is it so that they can be managed with permissions?
I just do it so that players aren’t confused by all of the coordinates arguments of the command. I run a server for my friends that has quite a few basic players that want to use /tp, so I try to simplify it for them.
Planning to make an update that uses JSON files instead of java.io.File to save space and make it easier for server admin to edit homes, warps, spawn, etc.
Oh. I didn’t realize that there were already plugins for this type of thing. I promise you, all I did was program something for my server and post it. I wish you luck on BLWarps, though!
Hey @Zirconium, could you teach me how to use JSON? I’m not going to give you my age, but I’m a young programmer, and it seems that the SpongeDocs don’t give any useful information for creating JSON objects and reading from them. Thanks.
Haha That’s completely fine! By all means, keep going! Serializing to JSON in general is not relevant to Sponge (other than serializing Text), so that would not be a topic that would be covered on the docs. I usually use Jackson for JSON serialization and deserialization, but you could also use GSON. I can write up a quick guide to use Jackson a little bit later if you need.
That would be great! I’m exploring the Interwebnets on gson and the org.json objects, etc. However, I would trust you if you say that you use Jackson. Amazing!
Can you please remove the override for ‘tp’. No need to override minecraft native commands. Bukkit essentials did the same, and it only did cause a hot mess… :’(
New version! v1.1 has been deleted! Yes, I have removed conflict with Minecraft’s own /tp command (although I did keep /tphere just in case you wanted that).