The SpawnTeleport plugin allows server administrators to set a custom spawn point for players when they first join the server.
The /setjoinspawn command allows OPs to set the spawn location. Once the spawn is set, all new players will be teleported to this location upon joining the server.
**How it works:**
- The /setjoinspawn command must be used by a player with the permission `jointpspawn.setjoinspawn`.
- This permission is by default granted to server OPs (operators).
- When used, the command sets the current location of the player as the spawn point for new players.
- Players will be automatically teleported to this spawn point when they join the server, if it is their first time or if they don't have a bed or spawn set.
**Usage:**
- Command: `/setjoinspawn`
- Permissions required: `jointpspawn.setjoinspawn`
- Default permission: OP (operator) only.
**Important Notes:**
- Only players with the `jointpspawn.setjoinspawn` permission (by default OPs) can use the command.
- If the permission is not granted, players will receive a message saying "You do not have permission to use this command."
- Once the spawn location is set, it will be stored in the plugin's configuration and applied automatically for all new players.