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 Apr 11, 2014Very nice indeed :-)
-
View User Profile
-
Send Message
Posted Apr 6, 2014I will double that HOORAY! Thank you! I love the control this plugin gives me.
"v1.7.8 - remove dependency on CraftBukkit; eliminates breaks simply because of changing CraftBukkit versions. Hooray!"
Thanks for the awesome work!
-
View User Profile
-
Send Message
Posted Apr 1, 2014@andune I want them to spawn at a minigame but ill ask the minigame makers if they know how to fix it thx
-
View User Profile
-
Send Message
Posted Mar 31, 2014@justinwl
/spawndelete is the HSP command for deleting a spawn (as documented on the commands page).
This can be used to delete HSP spawn points, if any exist. There is also a Minecraft/Bukkit spawn point for each map, and as far as I know, there is no way to delete it. If your HSP strategies fail to send the person somewhere, the event (in this case, the respawn event) will just fall to Bukkit to process, which of course will just send them to the Minecraft map spawn.
So we come back to: if someone dies on your minigames world, what is it you want to happen? Let's say you deleted both the HSP spawn and found some way to hack Minecraft/Bukkit and delete the world spawn, so now NO spawn exists on that world. What is it you expect to happen? The player dies and ends up in a timeless void? Are they supposed to go to their home? Or perhaps a home or a spawn on another world?
Figure out what it is that you WANT to have happen and then build an HSP event chain that does that. That's what HSP is for.
-
View User Profile
-
Send Message
Posted Mar 31, 2014i said what im asking how do i remove a world spawn from a world make no spawn at all for that world
-
View User Profile
-
Send Message
Posted Mar 30, 2014@justinwl
There are many examples to help you out.
The first thing is to decide what you WANT to happen instead of what IS happening. You didn't describe what you want to happen, so I can't really help. Whatever it is you want to have happen, chances are good HSP can do it, look at the examples and have a look over the events and strategies for all the possibilities.
-
View User Profile
-
Send Message
Posted Mar 30, 2014@justinwl sorry i forgot im trying to hury and set this up...
-
View User Profile
-
Send Message
Posted Mar 30, 2014ok so i have a world with minigames where u die and stuff but when they die they spawn where that world spawn is how do i remove a spawn from a world? please help
-
View User Profile
-
Send Message
Posted Mar 28, 2014@MrCleanIsDirty
If you're running the latest snapshot from Jenkins, that error makes no sense as that line should never be null. And if it is null, it is a very odd bug. But if you're running a different version, then it could be a different line and I might have a more immediate answer.
In any case, please open a ticket and include your exact Bukkit version and HSP version (both printed out at server startup) and this stack trace here so I have the context. Also a list of plugins you are using is very helpful and if you do anything specific to make the stack trace happen.
I can then make sure I'm looking at the right source code and try to replicate the problem to help troubleshoot the issue.
-
View User Profile
-
Send Message
Posted Mar 27, 2014@andune
Ahh ok. I tried that, but it was a little wonky, but it would have worked fine for players. I am only allowing players to sethome in secondworld, so it worked fine for them. Admins with named homes in default "world" were being sent to the nearest named home instead. Not a big issue as long as players couldn't sethome in default world.
Ultimately ended up using homeSpecificWorld. I hadn't noticed it before, and it ended up solving my problem. :)
Thanks for the help!
-
View User Profile
-
Send Message
Posted Mar 27, 2014Do you know why I'm recievieng this error? I can't even use HSP with 1.7.5. Error: http://pastebin.com/t4XUh82M
-
View User Profile
-
Send Message
Posted Mar 26, 2014@Sordrin
Ah, that's good then. We've ruled out the most common issue of some other plugin eating your /home commands, so we know it's HSP getting your command and just need to fix your strategies. The best do-it-yourself method for this is to turn on core.verboseStrategyLogging and HSP will tell you exactly what it is doing when you type /home.
My best guess from your description is this:
You have homeMultiWorld as your only strategy. homeMultiWorld is a shortcut strategy for homeLocalWorld followed by homeDefaultWorld. I'll setup a scenario that I assume is similar to yours and might explain what is going on.
HSP has a core.defaultWorld parameter, let's assume for this example you've set this to a world you have named default. Lets assume a second world called secondWorld where you have run /sethome and so you have a home on secondWorld. Now let's assume you're standing on thirdWorld (your "local" world when you run /home). You have no home set on default or thirdWorld, only the one you set on secondWorld.
When you run /home standing on thirdWorld, HSP runs the homeMultiWorld strategy which checks first for a home on the world you're standing on, thirdWorld. Nope, no home there. HSP moves on and checks the default world, which in this example is default. Nope, no home there. HSP moves on to the next strategy. There is no next strategy, so you hit the end and get the 'No home found' message.
Assuming this describes your situation, great, now we know the problem. How to fix? Decide what you want to happen and then put in the strategies to match. The easiest might be just to add homeAnyWorld after homeMultiWorld, so a player will first be sent to a home on the local and default world (if any), or as in this example where they have none, homeAnyWorld would find the home that was set on secondWorld.
This might not be what you want if you have five worlds and want /home to work a specific consistent way, or perhaps work one way on one world and a different way on another. HSP leaves it to you to decide how you want it to work, but if you just want /home to "always" work as long as a player has a home defined somewhere, then adding homeAnyWorld as a last-ditch strategy is a good plan.
-
View User Profile
-
Send Message
Posted Mar 26, 2014@andune
I am running Essentials, however I had already read the FAQ and implemented the aliases. Those work fine, but even if I type /hspsethome in one world, and /hsphome in another, it gives me the "No home found" message.
-
View User Profile
-
Send Message
Posted Mar 25, 2014@Sordrin
Are you running other plugins that also have their own /home command, Essentials perhaps? If so, please read the FAQ, it will help you troubleshoot and fix this issue.
-
View User Profile
-
Send Message
Posted Mar 25, 2014@Sargewood
The latest dev release on Jenkins works fine against 1.7.5 (just tested), in fact it works as far back as build #49, built Jan 11.
When the current dev build on Jenkins is released here on DBO, it will relieve the issue of HSP breaking with every MC/Bukkit version change since the CraftBukkit dependency has been eliminated.
-
View User Profile
-
Send Message
Posted Mar 25, 2014I can't seem to get /home to work across multiple worlds. I am using PEX and multiverse. I changed multiverseEnabled to false in config_defaults.yml, but it resets it every time I restart. I figure that is supposed to happen, so I added multiverseEnabled: true to config.yml under core:.
I also have the strategy for onHomeCommand set to - homeMultiWorld, and have added the hsp.command.home.otherworld node to the default group. Even as an admin with *, it tells me "No home found" when I am trying to use the default "/home" command. It only works once I am in the world with the default home. Using /home with a name seems to work fine across worlds.
Am I missing something?
-
View User Profile
-
Send Message
Posted Mar 25, 2014As Sargewood said below, it doesn't load with 1.7.5, I thought I'd just confirm it, I testify!
-
View User Profile
-
Send Message
Posted Mar 25, 2014It appears the plugin is not loading properly for the new 1.7.5 CraftBukkit development build. If you could please update, we would be greatly appreciative. :)
-
View User Profile
-
Send Message
Posted Mar 18, 2014@NoHoPeLess
Yes, first step is to use /hsp backup to backup your database.
Then change your core.storage to ebeans, setup your bukkit.yml to point to mysql and then restart your server. HSP will initialize the database, it will be empty.
Then run /hsp restore OVERWRITE. This will restore your database from the backup file you took just a few minutes ago, of course restoring to your newly created MySQL database tables.
-
View User Profile
-
Send Message
Posted Mar 18, 2014Hello :D we use flatfile can we convert it to mysql? with all homes etc?