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 Jan 18, 2013@shadvalentine
Isn't that related to the plugin Minigames?
Anyway...
The latest build of HSP (v1.7.4 dev build 685) doesn't seem to play nice with CB 1.4.7,
but after search'n'replacing all v1_4_6 instances with v1_4_R1 (using dirtyJOE; Java Overal Editor) it seems to work fine.
-
View User Profile
-
Send Message
Posted Jan 18, 2013I get this on startup: http://pastebin.com/mwWvnpUi
-
View User Profile
-
Send Message
Posted Jan 18, 2013bukkit 1.4.7 is out ... borke HSP
2013-01-18 05:45:43 [SEVERE] Error occurred while enabling Minigames v1.3.5 (Is it up to date?)
java.lang.NoClassDefFoundError: net/minecraft/server/v1_4_6/EntityHuman
at com.pauldavdesign.mineauz.minigames.Minigames.onEnable(Minigames.java:59)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugin(CraftServer.java:282)
at org.bukkit.craftbukkit.v1_4_R1.CraftServer.enablePlugins(CraftServer.java:264)
at net.minecraft.server.v1_4_R1.MinecraftServer.j(MinecraftServer.java:321)
at net.minecraft.server.v1_4_R1.MinecraftServer.e(MinecraftServer.java:300)
at net.minecraft.server.v1_4_R1.MinecraftServer.a(MinecraftServer.java:259)
at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:149)
at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:399)
at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_4_6.EntityHuman
at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:70)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 12 more
-
View User Profile
-
Send Message
Posted Jan 17, 2013@javieraizpuru
spawnLastLocation remembers their location as they leave a given world to another world and is not really intended for use in onJoin, because it's not needed there.
Bukkit already remembers the "last logout location", so if you want them to spawn there, just comment out the onJoin event or use the default strategy. If your goal is to have them spawn at a first-time spawn (the only time they don't have a previous logout location) and their "last logout" location all the other times, just leave the default config:
and use /setfirstspawn to set the "new player" spawn for use here.
-
View User Profile
-
Send Message
Posted Jan 17, 2013¿why every time a player joins it spawn on the default spawn and not in ther last location?
the strategie i use:
onJoin:
- spawnLastLocation
- spawnLocalWorld
-
View User Profile
-
Send Message
Posted Jan 14, 2013@Aiur850
Very interesting, considering I maintain both projects. :) Thanks for the info, I'll look into it. It could be a common library version mismatch causing the issue.
-
View User Profile
-
Send Message
Posted Jan 14, 2013@andune
This issue has been resolved. The bukkit plugin, HoneyPot v1.4.4.1 for CB 1.4.6-R0.1 conflicts with HomeSpawnPlus versions v1.7.3 - v1.7.3.2
Likely a class conflict. We did not test HomeSpawnPlus against the new release of HoneyPot being v1.4.4.2 for CB 1.4.6-R0.3 that just came out a day or two ago, though likely the issue would persist.
-
View User Profile
-
Send Message
Posted Jan 13, 2013@andune
For comparison, I downloaded Spigot (same version that you listed) and got the following results:
-
View User Profile
-
Send Message
Posted Jan 13, 2013@seventoes
Do you have a 'commands:' section in your HSP config? If you can pastebin your config, I can look it over for any possible issues or use it to try to recreate the problem.
EDIT: Actually on closer examination, I see you are running Spigot. I have never tested against Spigot and I'm not sure if they've followed the CraftBukkit package-rename commit. In order for HSP to work, you'll have to pick the version of HSP that matches the version of CraftBukkit that Spigot imitates.
The Spigot message says v1.4.6 so if Spigot follows the package renaming, you would think HSP v1.7.3.2 would be correct. If Spigot chose not to implement the package renaming, you might need to use HSP v1.7.3 instead.
Some good news here is the in-development v2.0 of HSP eliminates this problem; it will be backwards compatible for all versions of CraftBukkit so one JAR will run on any version of CraftBukkit released up to that point (which should also include Spigot).
-
View User Profile
-
Send Message
Posted Jan 12, 2013Been having some trouble getting /home to work, it just says "Unknown command" at the moment.
/plugman vlist:
/version:
CommandBook has the "homes" component disabled. Let me know if you need any more info, I've been stumped on this one for a few days now!
-
View User Profile
-
Send Message
Posted Jan 11, 2013@jeffro1001
I've never heard of that and if all you did was install dynmap (no other changes) and got the behavior, then uninstalled dynmap and the behavior went away, that is very bizarre indeed.
However, in any case, regardless of the 'why' it happened, the answer will be the same: read the FAQ section on Essentials commands. Essentials, for all it's efforts to play nice and defer to other plugins, doesn't play well with HSP's dynamic command system and there are some very easy steps you can take to permanently resolve the issue on your server.
-
View User Profile
-
Send Message
Posted Jan 11, 2013Has anyone heard of any kind of conflict with Dynmap?
I'm running bukkit version 1.4.6-R0.4-SNAPSHOT
HomeSpawnPlus v1.7.3.2
Havent had any problems with HSP until i installed DynMap yesterday:
dynmap v1.3-1468
After the dynmap install all /home commands seem to have now been taken over by Essentials. (essentials has been running along side HSP all this time with no problems )
HSP hasn't thrown any errors and still seems to do it's job on player join but the /home command now seems to go to essentials instead of HSP.
Any Idea what this could be?
-
View User Profile
-
Send Message
Posted Jan 10, 2013WorldGuard integration possibilities are covered in the examples, specifically Example 7 has lots of info on this.
The answer, as with all answers for HSP, is it depends on what you want to do. Lets assume what you're trying to do is set it so when a player dies in a WorldGuard region, they spawn at the WorldGuard region spawn (if set). But if they die elsewhere, they spawn at their home; if no home is set, you want them to spawn at the local spawn. Here's a simple example for what that looks like:
Also, as with all things in HSP, there's value in doing and observing. You can reload HSP config live, so there's no cost to changing a config and '/hsp rc' and then give a test to see what it does. Turn on verboseStrategyLogging (read FAQ) for even more detail and watch your server.log. You should validate your HSP strategies are doing whatever it is you intend for them to do, so test it out.
-
View User Profile
-
Send Message
Posted Jan 10, 2013can you show my how I would put it in the config. and i want it so when they leave that region its not there spawn any more
-
View User Profile
-
Send Message
Posted Jan 9, 2013@Clinot
In thinking through your use case, I think what you want is already provided by Bukkit for free:
In this scenario, when a player joins, HSP will just pass control over to Bukkit which will promptly do exactly what you're suggesting: log the player in wherever they last logged out.
The spawnlastlocation was really intended for use in other events, such as crossWorld or custom commands where the Bukkit logout location isn't what you want.
-
View User Profile
-
Send Message
Posted Jan 9, 2013@buttatron2000
That is a WorldGuard feature, please read the WorldGuard documentation (I don't recall the syntax). Basically, using WorldGuard, you can set a spawn point for a given region. Then you can use HSP's spawnWGregion strategy to use those WorldGuard spawns as part of your strategy chains.
-
View User Profile
-
Send Message
Posted Jan 9, 2013Hey just have a quick little problem here. I am trying to get it so when my players are in a world guard region they spawn in a certain spot after they die in that region. I see its in features but i dont know how to do it! So could i have a little insight here?
-
View User Profile
-
Send Message
Posted Jan 7, 2013I really like the plugin ,especially group spawns, however on the spawnlastlocation strategy i think it should log everytime you disconnect not every time you log out, Otherwise this is the perfect plugin for what i need.
-
View User Profile
-
Send Message
Posted Jan 5, 2013@andune
No need to do that, I found out that beeing op prevented us from setting homes, if I deop myself I can set homes without any problems...any idea for that?
-
View User Profile
-
Send Message
Posted Jan 5, 2013@Xcelsior1991
Two things: Please read this section in the How HSP works documentation regarding permission inheritance. I see your permissions are ordered lowest to highest and if your permission system uses inheritance, this will cause you problems.
Second, there are some known issues with Permissions in 1.4.6 unrelated to HSP and they seem to be most commonly related to "*" permissions. I'd recommend giving your admins your 'hsp.group.Admin' permission explicitly rather than depending on "*" to do it for you. That might resolve your problem. Also check out HSP's built-in /permcheck (/pc) command.