The Spawn Plugin offers flexible configuration options to customize the teleportation and spawn setting experience on your Minecraft server. Below is a breakdown of the main configurable features:
Storage
- Type: Choose between "SQLite" or "MySQL" for data storage.
- SQLite: Recommended for simplicity and ease of setup.
- MySQL: Use if you prefer a more robust solution. If the MySQL connection fails, the plugin automatically switches to SQLite.
- MySQL Configuration:
- Host: The MySQL server address (default: "localhost").
- User: The MySQL username (default: "admin").
- Password: The MySQL password (example: 123).
- Database: The database name (default: "spawn").
- TableName: The table where spawn data is stored (default: "spawn_spawn").
Settings
- Countdown: The delay in seconds before the teleportation occurs. Set to 0 for instant teleportation without a countdown.
- CancellMovement: If set to true, any movement by the player will cancel the teleportation process.
Messages
Customize the messages and sounds players receive during various spawn-related actions:
- SpawnSet: Notifies players when the spawn point is successfully set.
- Options include action bar messages, chat messages, titles, and sounds.
- NotSet: Alerts players when trying to teleport to a non-existent spawn point.
- Moved: Informs players that teleportation was canceled due to movement.
- Teleporting: Displays a countdown and status during teleportation.
- Teleported: Confirms successful teleportation with a message and sound.
Each message type supports customization in the following areas:
- Actionbar: Enable or disable a short message in the action bar.
- ChatMessage: Enable or disable a message in the chat.
- Title: Enable or disable a title message on the screen.
- Sound: Choose a sound to play when the message is triggered.