Home Stations

Default Station



HomeStations offers home <-> spawn teleportation via special "stations". This is a nice alternative to the common /home plugins, but without the need of commands.

A station is a special structure built like shown on the following image (it's not (yet) customizable):
Note, that while a station has to be built like this, you can make the station prettier by building something around, just the way you like it.
You could for example place some glowstone around or have some sort of podium with stairs around the emerald block.

The structure of a station.

The server admins can build Server-Stations at their spawn(s) or special locations

An admin can turn a normal home-station into a server-station by standing on the emerald block and typing /homestations addSpawn.
Additionally server admins can define their main-server-station. Players can then teleport from normal home-stations to this spawn-station, just by clicking the upper button of a normal home-station.

Players can build their own home-stations where ever they want

However, players can only set one station as their "home" (just like /sethome in other plugins), by clicking the lower button on the station they want.

Teleporting

Now, if a main spawn station is defined and a player has set his home station via the bottom button, he can teleport from all spawn stations (stations an admin has defined as spawn station via /homestations addSpawn) to their home station, and they can teleport from all normal other home stations to the main spawn station.
They teleport by simple clicking the upper button of a station.

how-this-works-1.3

Commands

Aliases for "homestations" are: "homestation", "hs"
/homestations addSpawn - Defines a normal station as spawn station.
/homestations setMainSpawn - Defines the main spawn station. It doesn't matter if this station was a spawn station already before.

Permissions

homestation.use - Allows using of those stations.
homestation.admin - Allows defining of spawn stations and setting of the main spawn station.

Configuration

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Firework Effect 1:
  Colors:
  - 255;165;0
  Fade Colors:
  - 255;0;0
  Flicker: true
  Trail: true
Firework Effect 2:
  Colors:
  - 255;255;0
  Fade Colors: []
  Flicker: true
  Trail: false
Upward:
  Teleport:
    Y Velocity: 2.0
    Delay in Ticks: 15
  Effect:
    Maximum Range: 255.0
    Distance between Fireworks: 2.5
Downward:
  Effect:
    Offset: 3.0
  Teleport:
    Y Offset: 3.0


Credits for the FireworkEffectPlayer goes to codename_b.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of blablubbabc blablubbabc Mar 14, 2016 at 23:19 UTC - 0 likes

    @Co0sh: Go

    https://github.com/blablubbabc/HomeStations

    Feel free to send in pull request. However, I don't plan to accept pull requests which rely on other plugins, or introduce MySQL. You could however create pull request for any sort of API methods you need in order to do those integrations with other plugins in a separate 'add-on'-plugin.

  • Avatar of Co0sh Co0sh Mar 14, 2016 at 09:45 UTC - 0 likes

    @blablubbabc: Go

    Hey blablubbabc ^^

    If you're not going to develop this plugin right now, could you release the source on GitHub? I'd love to send some PRs like commands for setting player stations with a location, BetonQuest events/conditions/objectives, MySQL support etc.

  • Avatar of blablubbabc blablubbabc Mar 04, 2016 at 22:26 UTC - 0 likes

    v1.6

    • Player data is now saved using the player's unique id. The old player data gets imported once the player joins the server for the first time after this update. After importing, the old player data gets removed.

    I recommend you to backup your old player data before running this version, just in case something doesn't work as expected and you don't want your players to have to re-select their spawn-/home-stations.

    @CloudeLecaw: Go

    I am not working much on this plugin. I currently have no plans to work on new features for this plugin, sorry..

    Last edited Mar 04, 2016 by blablubbabc
  • Avatar of Co0sh Co0sh May 18, 2015 at 11:46 UTC - 0 likes

    @CloudeLecaw: Go

    I'm not the developer of this plugin, blablubbabc is, sorry.

  • Avatar of Co0sh Co0sh Feb 15, 2014 at 21:28 UTC - 0 likes

    Thanks :D

  • Avatar of blablubbabc blablubbabc Feb 15, 2014 at 21:13 UTC - 0 likes

    v1.5

    • Fixed: missing a line separator in the player data files.
    • Load the player data of the currently online players on enable.
    Last edited Feb 15, 2014 by blablubbabc
  • Avatar of Co0sh Co0sh Feb 15, 2014 at 20:02 UTC - 0 likes

    I'd like to report a bug. Players before version 1.3 had only one set of coordinates in their files in PlayerData folder. The plugin works perfectly for them. But when somebody changes his home station or chooses a spawn station (basicly when player data is modified for the first time at newer version) the plugin adds second set of coordinates to the file (or "not set"). That's when a bug appears. If such player logs out and then logs in he can't teleport to his home station. The plugin seems to not be able to read the player's file when it contains more than one station saved. It works only when the player data is loaded to memory.

  • Avatar of blablubbabc blablubbabc Feb 14, 2014 at 20:19 UTC - 0 likes

    v 1.4

    • Automatically set the player's spawn location the the main spawn location when the player doesn't have selected a spawn location for the first time. No longer continueally print the "no spawn location selected" message.
  • Avatar of Co0sh Co0sh Feb 14, 2014 at 00:48 UTC - 0 likes

    @blablubbabc: Go

    Thank you very much ^^

    Players can teleport to their home and from there to the right spawn station though. And for people who are using this for some adventure maps, they can simply stay with older versions. Once again thank you.

  • Avatar of blablubbabc blablubbabc Feb 14, 2014 at 00:32 UTC - 0 likes

    @Co0sh: Go

    v1.3

    • Each player can now select his spawn station by clicking the lower button of a spawn station. Spawn stations can no longer work as home station. If the player has no spawn station selected yet, he will teleport to the main spawn station.
    • Added some new messages and change some old ones.
    • Might have slightly changed the default firework effect.

    @Co0sh: Go

    Players can no longer teleport from one spawn station to another by this change though. That's why I didn't change this earlier: I wanted to think about it a bit more before changing this behavior.

Facts

Date created
Aug 21, 2013
Categories
Last update
Mar 04, 2016
Development stage
Release
Language
  • enUS
License
All Rights Reserved
Curse link
Home Stations
Downloads
4,228
Recent files
  • R: 1.6 for 1.9 Mar 04, 2016
  • R: 1.5 for 1.7.4 Feb 15, 2014
  • R: 1.4 for 1.7.4 Feb 14, 2014
  • R: 1.3 for 1.7.4 Feb 14, 2014
  • R: 1.1 for 1.6.4 Aug 24, 2013

Authors