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 May 2, 2013I'm stalking your jenkins for a 1.5.2 build. <3
-
View User Profile
-
Send Message
Posted May 1, 2013@DarkRyuZ7
@Gunnerrrrrr has it right, look at his example. The only additional point I would add is that it's generally better to list "highest first" to avoid permission inheritance problems. You can read more about it here.
-
View User Profile
-
Send Message
Posted May 1, 2013@DarkRyuZ7
I believe it would look this: http://pastebin.com/MxmxDaed
Then just keep adding more entrys they way I did.
-
View User Profile
-
Send Message
Posted May 1, 2013Okay, looks nice...
Can i expand that?
and so on ?
-
View User Profile
-
Send Message
Posted Apr 30, 2013@DarkRyuZ7
Use the homeLimits section of the config. Something like this:
In this example, the default says each person on the server will be allowed 1 home per world. Then anyone with the permission 'donator' would be allowed 2 per world.
You can make the permission whatever you want and use your permission system to assign it to whatever group you are putting these players in. Or whatever makes sense for your intended setup and permission system.
-
View User Profile
-
Send Message
Posted Apr 30, 2013Hello, short question.
I have 2 groups on my server.
The first group should have 1 Home.
And for the second group, i want, if they pay me something, they will get a home. So, my question: Can i give Users additional homes? Not Automatic, i will take care of it if that works?
-
View User Profile
-
Send Message
Posted Apr 27, 2013@TheFlannelBeard
For #2, just go to each world and run "/setspawn" wherever you want that worlds spawn to be. Then in your strategy config, use:
Now when they type /spawn, they will be teleported to the spawn for their local world. If they are in a world without any spawn, nothing will happen. If you want them to go to the local spawn if there is one and then to default spawn if not, just add spawnDefaultWorld after spawnLocalWorld to your strategies.
Regarding "/deathspawn name", this capability already exists, in two forms. One is you can give your players the ability to spawn at named spawns, so they can just type "/spawn church10" or "/spawn deathspawn4", whatever you name them. If you actually want a "/deathspawn" command that would work just like your graveyard spawn (and you could even add a warmup or cooldown), then just make your own deathspawn custom command.
-
View User Profile
-
Send Message
Posted Apr 26, 2013@andune
1 means that i remember having this set up perfectly but in 2 it means i dont remember how to do it. so #2 I need guidance on. I tried doing the default spawns for the world, but it sets it as the global spawn on death and in /spawn, no matter what world. So i was asking for assistance. im sorry I didnt make that clearer, i was at work when i wrote this. :D
and in #3, yes, any spawn would do but i think the "graveyard church" idea might add some value to what were doing. Might be cool. I think maybe a future version could have them defined in the config or through a command (example: /deathspawn "name") for that world or global, but I mean i dont think anyone really "needs" that, per se, as In how it is now is just fine, at least for me! Thank you for the help, if you can maybe guide me on #2 thatd be awesome!! thank you so much for your time, andune. :D its highly appreciated, man.
-
View User Profile
-
Send Message
Posted Apr 26, 2013@TheFlannelBeard
Sounds like #1 and #2 are fine and your only question is #3?
If so, the answer is: sort of. HSP has a spawnNearest strategy, which will pick the nearest spawn to the player. So if the only spawns you have in the world are church1 through church 10, then yes, that will work. If you also have other spawns, such as a newbie spawn and some other spawns, then they could spawn at those as well if they die nearest to them. So if it's a world that only has your church spawns, you're good.
If what you want is to spawn to the nearest spawn, but you want to define the spawns (ie. church1 through 10, but not spawn1, spawn2 and newbie_spawn), then a strategy could easily be created to do that, but one doesn't currently exist.
-
View User Profile
-
Send Message
Posted Apr 26, 2013I had this installed during 1.4.6 and just reupdated. I have a question.
1. Ive read through it all. I seem to be confused a little.
2. I have 2 worlds, and a first spawn. If theyre in world1 and do /spawn, they go to world1's spawn. If they go to world2 and do /spawn, they go to world2's spawn.
3. Can I set up "churches" with "graveyards" and when players die (in their respective worlds only) can I set up death hubs on nearest death? Lets say I have 10 Churches set up allllll around the map. If they die, and i have like "church1" "church2" etc set up, can I have them spawn at the nearest church?? I hope that makes sense.
-
View User Profile
-
Send Message
Posted Apr 25, 2013@saxamafonet
It is not possible with anything in HSP today, although in theory it could be added with a mode. This functionality is probably better controlled in WorldGuard which has facilities for including and excluding commands, although I'm not sure if it lets you set an exclusion based on membership, but it's certainly a feature they could add.
Regarding Feed the beast and MCPC, I have never tested this. Specifically I saw one other report of MCPC not working, but the stack trace provided indicated a possible missing EBEAN implementation. If you have a stack trace you can pastebin when your server shuts itself off, that might be helpful in tracking down the issue.
-
View User Profile
-
Send Message
Posted Apr 25, 2013@Enkious
What you listed looks fine. Feel free to experiment on a test server, or if you don't have one, HSP supports live-reloading of most config options, event chains especially, so you can tweak it, run /hsp rc to reload, test it; tweak some more, reload, test, etc. A good way to test would be something like so:
In this example, anyone with the permission "my.test.perm" (which you could assign just to yourself for testing) will get the listed event chain when running the /spawn command. You can test it out to make sure it works how you like, then move the chain up under your onNewPlayer event, which obviously is much harder to test since you're only a new player on your first ever login. :)
Regarding the onJoin/spawnNewPlayer question, it won't ever get invoked. A player is only new on their first ever login, if you have an onNewPlayer event defined, that is what will get called. Similarly, I wouldn't expect your onDeath to work, since the player probably has a player file by the time they die (and therefore isn't "new" anymore).
Perhaps your intent is to have them go to the same random spawn they originally spawned at if they die? If so, yes that is possible with HSP, I can write an example for you if this is what you are trying to accomplish.
EDIT: oh and your last question, the command is /setspawn name1, although I think ThisUserNameIsMine may already have answered with a link to the actual command.
-
View User Profile
-
Send Message
Posted Apr 25, 2013@shon33
I don't know what mcpc-plus is, sorry. The error you posted suggests it might not support Ebeans, which HSP uses (it comes bundled with Bukkit). You can try changing your HSP core.storage to YAML instead, which will avoid the ebeans dependency. Be warned that this might be slow on very large installations, but performance should be ok up to a few thousand homes or so.
-
View User Profile
-
Send Message
Posted Apr 25, 2013@ThisUsernameIsMine
It's been a while, so I may not remember the details perfect, but I thought your issue was that you wanted CrazyLogin to have a higher priority, which is why you asked the author to change to MONITOR priority? By changing your HSP core.eventPriority to "high", CrazyLogin will have a higher priority.
If your problem is as you describe, in that you want HSP to have priority over CrazyLogin, then you may be out of luck. HSP allows you to change the priority, it's default is HIGHEST. If CrazyLogin is also HIGHEST and is getting the events instead, then unless the CrazyLogin author allows you to change the priority in the config like HSP does, you don't have many good options. You can try renaming the plugins so Bukkit loads them in a different order, it might affect which one gets final say.
Bukkit really doesn't provide a good way for server admins to manage plugin event conflicts. I went out of my way to add support for HSP to be controlled by a config option and I've not seen many other plugins that do this. You could ask the CrazyLogin author to add it.
-
View User Profile
-
Send Message
Posted Apr 24, 2013andune hasn't been on since the 16th D:
-
View User Profile
-
Send Message
Posted Apr 22, 2013Also, I am trying to use this with the Feed the beast modpack through MCPC+ (it offers the perfect setup for my server). However, when this mod is installed, the server randomly stops itself. No errors, no warning, just shuts itself off. Any suggestions?
-
View User Profile
-
Send Message
Posted Apr 19, 2013Is it possible to set a check so a player can not set their home via bed or command inside a region they are not a member of?
-
View User Profile
-
Send Message
Posted Apr 19, 2013@ThisUsernameIsMine
So... does my cfg look ok then?
-
View User Profile
-
Send Message
Posted Apr 19, 2013@Enkious
Your using named spawns so: http://dev.bukkit.org/server-mods/homespawnplus/pages/user-command-reference/#w-generally-reserved-for-ops-commands
(the second choice)
-
View User Profile
-
Send Message
Posted Apr 18, 2013Sorry to be a bother, if this sounds newb.. But what i am trying to do is Have any new users Spawn in a random Location "That i have set" up to 40 locations. So would my cfg look like this?
if this is alright? what is cmd to set spawn locations?