HomeSpawnPlus
HomeSpawnPlus (HSP) / SpawnControl: the most advanced Home/Spawn plugin for Bukkit. HSP has flexible events and strategies that you can customize for your unique needs. If you just want dead-simple home/spawn management, HSP can do that too, but you might find some other plugin easier to setup or understand. If you want full control and maximum flexibility to do whatever YOU want and not be limited by just basic /home and /spawn functionality, then HSP might be for you.
HSP's events and strategies, custom commands and integrations with plugins like WorldGuard and Multiverse allow you to completely control every aspect of spawns and homes, so that unique edge or setup you want, chances are good that HSP can do it for you.
Please read the FAQ before posting questions or tickets (especially Essentials users). Also there are Examples.
Versions
- Official releases are on the Files tab of this page
- Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk. Jenkins
HomeSpawnPlus has these Features:
- Multi-world homes (one-home per world, multiple homes per world or even just one global home, your choice)
- Specific control as to what happens on events such as player login, player death, typing /spawn or /home commands using strategies. Should the user always stay on the same world? Spawn at the nearest of multiple spawns (ie. graveyard concept)? Maybe they always go to a specific group spawn on that world (for PvP factions, perhaps)? Your choice.
- Ability to set a one-time new player spawn point
- Cooldowns and warmups Can be set to cancel on movement or damage. Advanced details here.
- Economy support (via Vault) to optionally charge players for commands
- Home limits, definable per-group or per-permission. More documentation.
- Configurable per-world or per-permission for just about every option (events, cooldowns, warmups, costs, homeLimits)
- Define your own custom commands Documentation here
- WorldGuard region-spawn support (allow people to spawn at WG region spawn when inside that WG region)
- Ability to visit homes other people have set, on any world (controlled by Permissions)
- Language localization Also you can customize any message in HSP. Details here.
- Home invites - documentation here
- Set homes by clicking on a bed: read bed-related options documentation.
- Dynmap integration built in, very configurable to meet your own needs
- Persistence choice: Sqlite (default), MySQL or YAML
- Standard YML config.yml: with live reloading in-game (/hsp rc)
- Import home data from other plugins (Essentials 2.9, CommandBook 2.1 and SpawnControl v0.8)
Installation:
- Download HomeSpawnPlus.jar and put it in your Bukkit plugins folder
- Startup Bukkit, HomeSpawnPlus will automatically put the default config.yml into plugins/HomeSpawnPlus/config.yml
- Configure config.yml to your liking, then either '/hsp rc' to live reload the config, or restart your server.
Additional info
This plugin was designed to work with Vault, WEPIF, PEX, Permissions 2.x/3.x, or any Superperms-compatible plugin. Please read more about permissions here.
Under the hood: How HSP works
Examples
Spawn strategy documentation
Advanced Cooldown and Warmup information
User Command Reference
Admin Command Reference
Permissions
Changelog
Source Code
Metrics plugin
This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
A unique identifier The server's version of Java Whether the server is in offline or online mode The plugin's version The server's version The OS version/name and architecture The core count for the CPU The number of players online The Metrics version
Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.
Have an issue? Got a new idea?
If you find a bug or have an enhancement request, please create a ticket so I don't lose track of the request or issue in a comment stream. If you have a basic question, feel free to post in the comments here or visit the forums on forums.bukkit.org.
Thanks to @Timberjaw for the awesome work on SpawnControl that gave me a great base to start from!
-
View User Profile
-
Send Message
Posted Jul 13, 2013@andune Your Server is down! Also building from Git WAS pain because you host all your stuff on your down server...
-
View User Profile
-
Send Message
Posted Jul 11, 2013@muggerfugger
It sure does; this is intentional by the Bukkit team. If you're wondering why they did this, or you're wondering why some plugins like HSP break and some other plugins don't, those questions are answered right here on this site (click that link).
Regarding latest dev versions, they are usually available on Jenkins pretty quickly after a CraftBukkit release. The latest version on Jenkins (#31) will display "HSP 1.7.7-SNAPSHOT build 721" in the server.log when it starts up, that's the one you need for 1.6.2. I've tested locally and it works for me, if you're seeing errors, please open a ticket with your server.log startup output including your CraftBukkit versions and HSP version as well as any errors you are seeing.
-
View User Profile
-
Send Message
Posted Jul 11, 2013plugin seems to break everytime a simple minecraft update is released :| even the latest dev release doesnt work for me
-
View User Profile
-
Send Message
Posted Jul 9, 2013@Peregrin5
Please open a ticket with any additional information you can provide: exact server version, exact HSP version, HSP config.yml, any additional plugin information, DB information and/or bukkit.yml DB settings, stack trace if available.
I have HSP 1.7.7-SNAPSHOT build 721 running with Craftbukkit 1.6.2 (build #2808) and it works fine in my local testing, so I'm not seeing any errors. It's possible there is something different in your environment causing an issue, but I won't know for sure unless you open a ticket with all the details needed to compare and for me to setup a local test that can reproduce any issues you are seeing.
-
View User Profile
-
Send Message
Posted Jul 9, 2013@andune
No I know that it's supposed to stop working. I updated it with the most recent version from Jenkin's and it still doesn't work. I'll try to get a console log going in a bit. But the issue is that it stopped recognizing the /home command.
Thanks for the Yaml help though!
Here is the error I'm getting.
-
View User Profile
-
Send Message
Posted Jul 9, 2013@iamswiiz
Thanks. I've seen two reports (this + 1 PM) of HSP not working in 1.6.2. I tested it prior to pushing to Jenkins, it worked for me. Just to be sure, I just now tested again. Here is my environment:
Note build 721. Please make sure your startup log lists the same.
If so, then the only thing I can offer is I see this in your stack trace:
You should double-check your bukkit.yml database settings.
-
View User Profile
-
Send Message
Posted Jul 9, 2013snapshot not working in 1.6.2
09.07 21:00:23 [Server] INFO ... 3 more
09.07 21:00:23 [Server] INFO at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
09.07 21:00:23 [Server] INFO at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftTask.run(CraftTask.java:53)
09.07 21:00:23 [Server] INFO at com.aronnn.vote4diamonds.TaskUtil.run(TaskUtil.java:31)
09.07 21:00:23 [Server] INFO Caused by: java.lang.NullPointerException
09.07 21:00:23 [Server] INFO at java.lang.Thread.run(Thread.java:722)
09.07 21:00:23 [Server] INFO at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
09.07 21:00:23 [Server] INFO at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
09.07 21:00:23 [Server] INFO at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
09.07 21:00:23 [Server] SEVERE org.apache.commons.lang.UnhandledException: Plugin Vote4Diamonds v1.0.1 generated an exception while executing task 18
09.07 21:00:23 [Server] SEVERE Exception in thread "pool-1-thread-93"
09.07 21:00:23 [Server] SEVERE ERROR: No database selected
09.07 21:00:18 [Server] INFO ... 15 more
09.07 21:00:18 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
09.07 21:00:18 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:601)
09.07 21:00:18 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
09.07 21:00:18 [Server] INFO at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source)
09.07 21:00:18 [Server] INFO at org.morganm.homespawnplus.listener.HSPPlayerListener.onPlayerTeleport(HSPPlayerListener.java:421)
09.07 21:00:18 [Server] INFO Caused by: java.lang.NullPointerException
09.07 21:00:18 [Server] INFO at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
09.07 21:00:18 [Server] INFO at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419)
09.07 21:00:18 [Server] INFO at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486)
09.07 21:00:18 [Server] INFO at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226)
09.07 21:00:18 [Server] INFO at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:590)
09.07 21:00:18 [Server] INFO at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:30)
09.07 21:00:18 [Server] INFO at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37)
09.07 21:00:18 [Server] INFO at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:118)
09.07 21:00:18 [Server] INFO at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296)
09.07 21:00:18 [Server] INFO at net.minecraft.server.v1_6_R2.Packet10Flying.handle(SourceFile:136)
09.07 21:00:18 [Server] INFO at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:399)
09.07 21:00:18 [Server] INFO at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:434)
09.07 21:00:18 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
09.07 21:00:18 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
09.07 21:00:18 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
09.07 21:00:18 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
09.07 21:00:18 [Server] INFO org.bukkit.event.EventException
09.07 21:00:18 [Server] SEVERE Could not pass event PlayerTeleportEvent to HomeSpawnPlus v1.7.7-SNAPSHOT
-
View User Profile
-
Send Message
Posted Jul 8, 2013@Peregrin5
You should only have one "world" sub-section, like so:
Try pasting your config into the online YAML parser. You'll note the way you have it setup currently, only "events.world.world3" shows up in the output. This is a function of the way YAML works.
EDIT: also regarding the stopping working in 1.6.2 comment, this is the first item covered in the FAQ and there is already a build up on Jenkins. HSP will stop working with every new Minecraft release, the Bukkit devs intentionally designed it that way. You can read more about it here.
-
View User Profile
-
Send Message
Posted Jul 8, 2013Well apart from the fact that it stopped working with 1.6.2 came about, I have been having problems with my configuration. I've been trying to configure it so different worlds have different strategies, but it doesn't seem to be following those strategies. Can anyone advise?
Here is my config:
-
View User Profile
-
Send Message
Posted Jul 8, 2013Wow, super fast!
Testing #30 now on our testserver.
I hope CB is ready (bugs, horse-hooks. etc...) soon for our public server, which is on 1.5.2. ;-)
-
View User Profile
-
Send Message
Posted Jul 8, 2013@Jobsti2
Thanks for the headsup. I got a pull request just about the same time your update came in. Great to have some help from the community! Pull request for 1.6.2 has been merged and a new build will be up on Jenkins soon (sorry, the ISP Jenkins is being hosted on is running incredibly slow tonight).
-
View User Profile
-
Send Message
Posted Jul 8, 20131.6.2 is out, time for an update ;-)
(No hurry andune, just an info)
-
View User Profile
-
Send Message
Posted Jul 5, 2013Thank you for the prompt update, Andune. :)
-
View User Profile
-
Send Message
Posted Jul 4, 2013@Hollowbrown
Did you read any other comments before posting? The answer to your question is only a few comments down on the front page.
-
View User Profile
-
Send Message
Posted Jul 4, 2013I have opened a ticket for my error, does this plugin normally still work with 1.6.1?
-
View User Profile
-
Send Message
Posted Jul 3, 2013@quickclay
It's not an error (note the [INFO] log level). It's an annoying spam message from the ebeans server that I have no control over. But rest assured it is a benign message and can be safely ignored.
-
View User Profile
-
Send Message
Posted Jul 3, 2013I get the following error on startup of my 1.6.1 server with the below dev build: 2013-07-03 18:56:16 [INFO] DataSourcePool [HomeSpawnPlus] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20] 2013-07-03 18:56:17 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
-
View User Profile
-
Send Message
Posted Jul 2, 2013@DiscoGC
http://andune.com/jenkins/job/HomeSpawnPlus/
-
View User Profile
-
Send Message
Posted Jul 2, 2013Can I have a link to the dev build for 1.6.1? :)
-
View User Profile
-
Send Message
Posted Jul 1, 2013@Jobsti2
Thanks for letting me know about the new CraftBukkit release. Dev build for HSP is now up on Jenkins. Let me know if any issues.