YASPawn - Yet another Spawn Plugin
YASPawn
YASPawn is a powerful spawn plugin, that enables the /spawn command, which teleports the player to a world spawn location.
Administrative tasks are:
- Enable/Disable a single server spawn on a specific (default) world
- Set the default world name
- Enable/Disable spawn locations for specific worlds
- More configuration options for spawning
What YASPawn is not
- YASPawn don't let you set spawn locations.You want to use the /setworldspawn command or other Plugins like Multiverse-Core.
- YASPawn teleports you to a single spawn location per world. For more "spawn points" you want to set warp points.
Installation Instructions / Plugin versions
For a complete installation of this plugin, download the YASPawnPlugin-full-<version>.jar file. In case you use others plugins from me, I suggest to install the DBB base plugin and the YASPawnPlugin-minimal-<version>.jar. Since they share the same codebase, your server instance will use less memory because of a decreased plugin size.
Then copy your downloaded files into your /plugins/ directory and start/restart your server. All neccessary files are being generated unless they exist.
Commands and Permissions
Command | Description | Permission |
---|---|---|
/spawn | Teleports the player to the spawn | yaspawn.spawn |
/spawn <world> | Teleports the player to the spawn of the given world | yaspawn.spawn.world |
/spawn help | Displays the help page (shows only commands for the appropriate permissions of the player) | yaspawn.spawn |
/spawn config defaultworld | Display the default world name | yaspawn.admin.defaultworld |
/spawn config defaultworld <world> | Set the default world name | yaspawn.admin.defaultworld |
/spawn config singleserverspawn | Displays whether the server has a single world spawn or not | yaspawn.admin.singleserverspawn |
/spawn config singleserverspawn enable | Enables the single world spawn feature | yaspawn.admin.singleserverspawn |
/spawn config singleserverspawn disable | Disables the single world spawn feature | yaspawn.admin.singleserverspawn |
/spawn config sayworldname | Displays whether saying the world name or not when issuing /spawn | yaspawn.admin.sayworldname |
/spawn config sayworldname enable | Enable saying the world name when issuing /spawn | yaspawn.admin.sayworldname |
/spawn config sayworldname disable | Disable saying the world name when issuing /spawn | yaspawn.admin.sayworldname |
/spawn config prefixonspawn | Displays whether to display the Plugin prefix when issuing /spawn | yaspawn.admin.prefixonspawn |
/spawn config prefixonspawn enable | Enables displaying the Plugin prefix | yaspawn.admin.prefixonspawn |
/spawn config prefixonspawn disable | Disables displaying the Plugin prefix | yaspawn.admin.prefixonspawn |
/spawn config locale | Displays the current locale | yaspawn.admin.locale |
/spawn config locale <locale> | Set's a locale (en_US if locale file does not exists) | yaspawn.admin.locale |
/spawn config | See the complete plugin configuration | Any of the above yaspawn.admin.* permissions |
/spawn config world <world> disable | Disables spawning at the given world | yaspawn.admin.disableworld |
/spawn config world <world> enable | Enables spawning at the given world | yaspawn.admin.enableworld |
/spawn worldlist | Displays a list of all worlds and each state (spawning disabled/enabled) | yaspawn.admin.worldlist |
/spawn reload | Reloads the configuration file | yaspawn.admin.reload |
By default, Operators are granted all rights.
Configuration
YASPawn consists of the default config.yml that allows you to adjust the settings for this plugin:
Type | Property | Description | Default |
---|---|---|---|
boolean | single-server-spawn | Defines whether a single spawn is enabled for the entire server or not | true |
String | default-world | In case your default world is not world, specify it here. This can also be used for the default spawn world | world |
List | disabled-worlds | A list of worlds, where the /spawn command will not get you to their respective spawn location, but to that of the default world | world_nether, world_the_end |
boolean | say-world.name | Tell the world name when the /spawn command is issued | false |
boolean | prefix-on-spawn | Display the plugin prefix when the /spawn-command is issued | false |
String | locale | The locale string for the language that has to be used | en_US |
boolean | use-metrics | Submit metrics to mcstats.org | true |
All locale translations are stored in /plugins/YASPawn/locale/.
Localization
Currently these locales are supported:
- en_US
- de_DE
All locale strings can be formatted with the Minecraft Formatting Codes.
Note: Some strings contain placeholders (%world%, %state%).
If you miss a translation please PM me.
Statistics
YASPawn collects statistic data and sends them to MCStats. You can disable this in the plugin configuration file.
Please note: By default, submitting metrics is enabled. By installing this plugin on your server you agree that you submit metrics at least the first time you (re)start your server with having this plugin enabled.
The plugin metrics can be obtained from here.
Plugin Source
This plugin source code is on GitHub. Feel free to fork a clone.
Future-Tech
- Exclude org.lichtspiele.dbb.* from plugin and create a new plugin (DBB) for my plugins
- Add support for per-group spawn locations/permissions that overrides the existing configuration
- more to come
Version changes
Version | Filename | Game Version compatibility | Description |
---|---|---|---|
1.1 | YASPawn-1.1.jar | <=craftbukkit-1.7.9 | Initial release |
Comments