forked from Timberjaw/SpawnControl-Bukkit-Plugin
-
Notifications
You must be signed in to change notification settings - Fork 11
HSP 2.0 Upgrade Notes
andune edited this page Nov 23, 2014
·
6 revisions
If you are upgrading from HSP 1.7 to 2.0, here are new features and things to know:
- New config files in the config directory. Your existing config.yml will continue to work and take precedence, but you are encouraged to migrate your settings into the new config files and then remove your old config.yml. HSP's configs can be complex, so splitting them out into separate files is less intimidating for new users and allows existing users to focus on changes only for the section they care about.
- Uber commands, enabled by default. With these commands, there are only two commands players have to know: home and spawn. Typing "/home help" or "/spawn help" will show all the sub commands. This is implemented in such a way that all the original commands still work, so players can still use "/sethome" or they can also use "/home set". This is intended to make it easier for players to remember all the commands available to them. Note the help syntax will only show sub commands the player has access to, so if you haven't given permissions to allow "/home invite", for example, players won't see that as an option.
- Associated Worlds concept. This is a config option, enabled by default. Simply put, this treats "_nether" and "_the_end" worlds the same as the base world for most strategies, which makes them act more like they do in vanilla. For example, if your onDeath strategy is homeLocalWorld and a player dies in the nether, HSP will also check the base world for a home automatically. A config option exists so you can control home limits by associated worlds as well. For example, you could allow only 1 home between all of world, world_nether and world_the_end.
- Direct Command-block support. If you wanted a command block to send a player to their home or a spawn, you can now do this by using @p as the first argument. "/spawn @p specialSpawn" on a command block will send the player to specialSpawn.
- Public homeinvites. For those using homeInvites, your players can now send public invites (/hi public). You can disable public homeInvites via config if you don't want to use these.
- New strategies:
- ModeEffect - do special effects when players teleport
- Message - print a message to the player as part of your event strategies
- LastDeathLocation - teleport the player to their LastDeathLocation. Could be used to create a "/lastdeath" custom command
- HomeAssociatedWorld - Go to home on any associated world. Note that while homeLocalWorld will find the "parent" world when on a child world (_nether or _the_end), this strategy can be used to make it go the other way, so that if someone had a home in world_nether, but not world, and they died on world, this strategy would locate the world_nether home, whereas homeLocalWorld would not
- HomeMinecraftBedSpawn - actually a 2.0 strategy that was back-ported to later 1.7 series, this allows you to find and use the native Minecraft bed spawn as part of your strategies
- SpawnNearestWithPrefix - works like spawnNearest but requires a prefix. This could be used to implement a graveyard concept without accidentally picking other spawns the player might be near, such as the default spawn or the new player spawn, simply by naming your graveyard spawns with a common prefix (ie. graveyard1, graveyard2,..) and then using that prefix with this strategy.