Home Set Home - A teleportation manager!


#1

Home Set Home

Commands:

/tp
/tphere

/setspawn
/spawn

/sethome
/home
/homes
/delhome

/setwarp
/warp
/warps
/delwarp

Permissions:

homesethome.tp
homesethome.tphere

homesethome.setspawn
homesethome.spawn

homesethome.sethome
homesethome.home
homesethome.homes
homesethome.delhome

homesethome.setwarp
homesethome.warp
homesethome.warps
homesethome.delwarp

Download link here OR http://homesethome.javaman.net

Donation link at http://paypal.me/TheNewJavaman

TheNewJavaman/GStuff

Have fun!


#2

@poiihy This is my other thread. I programmed this as well over last weekend.


#3

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?


#4

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.


#5

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.


#6

That sounds awfully familiar :stuck_out_tongue:


#7

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!


#8

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.


#9

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.


#10

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!


#11

Minecraft commands already have permissioins, like minecraft.command.tp


#12

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... :cry:


#13

I usually use Jackson for JSON serialization and deserialization, but you could also use GSON.

I'd highly recommend GSON simply because it's already pulled in as part of your SpongAPI dependency (run ./gradlew dependencies to see this).


#14

I'm aware; I may or may not switch

</derail>


#15

I'm sorry for taking so long just to delete a few files in my code. The new updated 1.1 version should be up in a couple of seconds.


#16

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).


#17

HomeSetHome 1.2 is out! Just recompiled build.gradle to have API 4.0.1.


#18

Maybe you can add Event Strategys.
Like -> http://dev.bukkit.org/server-mods/homespawnplus/pages/strategy-doc/


#19

I'm not sure that I get the entire usage of such event. Is this for programmers or for server managers?


#20

Thats for Server Owner for better flexible strategies.
You can look on the example config file to view what i mean.
http://dev.bukkit.org/bukkit-plugins/homespawnplus/pages/events-config-example/