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 Nov 19, 2012@Mayhem777
That is a warning, not an error. It is there because many people run Essentials and then find they can't run HSP commands. There is a comment a page or two back (linked here) that documents how to deal with it. If your home and spawn commands are working as expected (with HSP), then I wouldn't worry about it.
Regarding the conflicts, you just turn it off in the config:
Make sure you add it to the existing core section.
If you want more help, please post your entire config.yml with your next update (open a ticket and attach it there, or use pastebin). It's much easier than trying to guess what might be going on in your specific environment.
-
View User Profile
-
Send Message
Posted Nov 19, 2012U'll hate me... bun when i reload i get this and the plugin stops working again T^T
http://pastebin.com/xkwsvHEb
I just stopped and started the server T^T
Also i get "2012-11-19 21:37:09 [WARNING] [HomeSpawnPlus] Set "core.warnConflicts" to false in your HSP config.yml to disable this warning." in this log but is set to FALSE.... maybe is using a default config instead of mine??
-
View User Profile
-
Send Message
Posted Nov 19, 2012Thanks man, very kind, all fixed and working, didn't know what was the character cause i deleted all and let the plugin generate a new config, but at the third time it worked :D
-
View User Profile
-
Send Message
Posted Nov 19, 2012@Mayhem777
Ah, now we have an error we can work with! As you can see in the output you pasted, the crux of the issue is:
org.bukkit.configuration.InvalidConfigurationException: unacceptable character '?' (0xFFFD) special characters are not allowed 2012-11-18 08:53:27 [SEVERE] Caused by: unacceptable character '?' (0xFFFD) special characters are not allowed in "<string>", position 202484
You have a bad character in your config.yml that is causing Bukkit to choke when loading the file and so of course HSP is unable to load without it's configuration from Bukkit.
You can either look for and fix the offending character (or possibly multiple characters if there was file corruption), or if you can't find it, you can just move your config.yml out of the way and restart Bukkit. HSP will see no config.yml and will copy the default one in place - but it should startup fine. Then you can just cut & paste your config sections into the new config, preferably one section at a time and test to make sure it loads so if you copy the bad character you'll know what section it is in.
-
View User Profile
-
Send Message
Posted Nov 19, 2012Ok here's the error i found it in the log:
http://pastebin.com/RFf5g9YB
-
View User Profile
-
Send Message
Posted Nov 19, 2012Well can you tell me how can i help you to find the problem? debug mode?
-
View User Profile
-
Send Message
Posted Nov 19, 2012@Q2Lummox
Ah. If I understand your request properly, it's that you don't want the Minecraft behavior of "fast-forwarding" through the night to take effect when players sleep in a bed, because you have another plugin that lets them heal by sleeping in a bed.
While an interesting request, this is not core to HomeSpawnPlus's functionality, so I won't be adding this feature. You might find other plugins out there that change the way sleeping works that might be interested (or already have) this feature. If not, I'd suggest asking the author of the other plugin since this is much closer tied to that plugins feature set.
-
View User Profile
-
Send Message
Posted Nov 19, 2012@Mayhem777
Wish I could help, but I don't know what "the same error" is. If you're referring to the startup messages related to ebeans, those are normal and you can ignore them.
If there's some other error, we can work with that, but right now I don't have enough information to help you other than to say that HSP 1.7.3 is working fine on many 1.4.2 and 1.4.5 servers, so this problem is unique to your environment.
You can open a ticket here with your problem statement and attach any errors you see in the logfile, as well as versions of plugins and Bukkit you are running and your HSP config.yml file.
A good troubleshooting tactic is to run Bukkit on a test server and run a minimal set of plugins, perhaps just your permissions plugin and HSP. If that works (it will), you can begin to compare differences between your working test server and your broken production server until you find the issue.
-
View User Profile
-
Send Message
Posted Nov 19, 2012I've deleted the minecars plugin but homespawnplus stills not working :( i've deleted all homespawn content and reinstalled but get same error :(
-
View User Profile
-
Send Message
Posted Nov 19, 2012I get the full report!:
2012-11-18 12:26:38 [INFO] DataSourcePool [MineCars] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
2012-11-18 12:26:38 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
2012-11-18 12:26:38 [WARNING] Bean [com.egodroid.bukkit.carmod.database.EbeanDB] has no unique id set
2012-11-18 12:26:38 [INFO] Entities enhanced[0] subclassed[1]
2012-11-18 12:26:38 [INFO] DataSourcePool [HomeSpawnPlus] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
2012-11-18 12:26:38 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
2012-11-18 12:26:38 [INFO] Entities enhanced[0] subclassed[7]
I think minecars is doing something wrong and made conflict with homespawnplus
-
View User Profile
-
Send Message
Posted Nov 19, 2012@andune
I explain again, in a more clear (all that I allow my level of "English")
I am using the plugin "NohealthRegen" which disables the auto Regeneration.
To regenerate life, use "BedHelath" fills you life when you use the bed.
What I look for is, disable the "time change" when using the bed. I want the player to use his bed in a normal way, but when lie down on it, time does not pass, that does not change the time.
Do not want that the players can "altering" the time sleeping in bed (I want to disable this option). But they can use the bed, both to establish his house, so that health is fill with "BedHealth".
I hope you now understand what I want.
Greetings;)
-
View User Profile
-
Send Message
Posted Nov 19, 2012So how can i give you more information to fix that?
-
View User Profile
-
Send Message
Posted Nov 18, 2012@Chaett
Sounds like it's working well then, glad to hear it. I think that's the first reported use case of spawnRegionRandom I've seen. I wrote that one just because I could and thought someone might find a use for it someday - glad someone did. :)
-
View User Profile
-
Send Message
Posted Nov 18, 2012@andune
After further research in the plugin files page here, I've finally got some progress with:
Which brings them at a random spot at our main base, region protected. I needed this because players that don't join a faction right away would end up underwater after dyeing.
-
View User Profile
-
Send Message
Posted Nov 18, 2012@Mayhem777
Sorry I don't understand what "plugin is red" means and as far as I've tested and heard from others, HSP 1.7.3 is working fine with all recent versions of Bukkit currently available. So this sounds like something unique to your environment and you'll have to do some more research or digging to figure it out, I can't tell what's going on from the info you posted.
Regarding the ebean messages, it is true the ebean server is loaded regardless of what you've configured it as in config.yml. This is a shortcoming of Bukkit, as Bukkit determines whether the ebean server should be loaded based on the plugin.yml "database" attribute. This means it's hard-coded in the JAR and Bukkit provides no way to change that dynamically.
I wrote a pull request a few months ago for Bukkit to resolve the issue (a very simple and clean one to maximize chances of being pulled in), but to date it has not been pulled. Sorry, nothing I can do about it. If you want the ebean server to be off and the messages to go away, you'll have to manually modify plugin.yml to set "database: false" in your HomeSpawnPlus.jar every time you download an update.
-
View User Profile
-
Send Message
Posted Nov 18, 2012@Chaett
Please follow the FAQ for turning on verboseStrategyLogging. This will tell you exactly what HSP is doing. If it's not doing what you expect, you likely have the configuration wrong.
From what I can see of what you've pasted, your config is probably wrong. It should be something like this:
Your indentation appears to be wrong and with what you have, I expect the only strategy being run is "spawnLocalWorld". verboseStrategyLogging will help you figure out what is going on and tuning it until you get it right. You can live-reload strategies after changing them in the config by running /hsp rc so testing can be very quick to get your strategies tuned to your liking.
-
View User Profile
-
Send Message
Posted Nov 18, 2012I've been going crazy trying to figure out onDeath on a new PvP world I created with Multiverse..
At death players spawn at a location not specified by me at all, near the /mv set spawn location, but not at that spot.
I have this config:
But doesn't seem to work when I did what is instructed by this plugin to /setspawn name. It seems to think it's a group spawn and doesn't spawn there after death as per config.
What I want is new arrival players that die before joining a faction to spawn on death at the portal location, central city, which is in a worldguard region.
I have essentials, factions and Population Density for that world, and I'm not sure if it's conflicting. There are no factions defined yet, it's a brand new map with only myself getting it ready before population.
-
View User Profile
-
Send Message
Posted Nov 18, 2012Im getting this:
2012-10-26 23:52:08 [SEVERE] ebean.properties not found
2012-10-26 23:52:08 [INFO] DataSourcePool [HomeSpawnPlus] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
2012-10-26 23:52:09 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
2012-10-26 23:52:09 [INFO] Entities enhanced[0] subclassed[7]
And i'm using YAML storage so don't understand why it uses ebean??
Also the plugin appears on red and nothing works :( same problem in version 1.7.2 and 1.7.3 in bukkit 1.4.2 R0.2
-
View User Profile
-
Send Message
Posted Nov 17, 2012@Q2Lummox
I'm afraid I don't understand the ultimate goal. I think just about every possible combination of bed sleeping is covered by the existing flags, they are documented here:
http://dev.bukkit.org/server-mods/homespawnplus/pages/bed-homes/
If you can't get it to work how you want from the flags covered in that documentation, then you will have to re-phrase your question, as I'm not sure what you're trying to accomplish.
Also note that HSP respects shift/sneak-clicking, which bypasses HSP functionality and passes the event straight to Bukkit, so your players could use this to sleep in beds without setting their homes. If you want this behavior to be the default, you can set the config flags appropriately to do so.
-
View User Profile
-
Send Message
Posted Nov 17, 2012Is there an option to turn off just to change the time to sleep?.
I need a player, can set your home by clicking on the bed, he can use his bed, but I do not want that to get into bed, after a few seconds the time is changed to "day", I want to stay in bed, but do not change over time.
This is possible?.