ohFirstSpawn - Teleport player on their FirstJoin - [1.18 -
1.2.1First Time Player Spawn Teleporter
ohFirstSpawn
A lightweight and configurable plugin that automatically teleports players to a designated spawn point. Can teleport only first-time players or all players on every join.
✨ Features
- Automatic Detection: Identifies first-time players and teleports them after a configurable delay
- Flexible Teleportation: Choose between first-time only or all players on every join
- Fully Configurable: All messages, sounds, and timings can be customized
- Multi-Language Support: Comes with English configs
- Sound Effects: Optional teleport sounds for better user experience
- Permission-Based: Secure command system with proper permission checks
- Lightweight: Minimal performance impact with efficient player tracking
- Data Persistence: Remembers processed players across server restarts
Commands
| Command | Description | Permission |
/ofs set | Set the first spawn location | ohfirstspawn.set |
/ofs info | View current spawn configuration and statistics | ohfirstspawn.set |
/ofs reload | Reload plugin configuration | ohfirstspawn.set |
Configuration
The plugin features a comprehensive config.yml where you can customize:
- Spawn coordinates (world, x, y, z, yaw, pitch)
- All plugin messages with color code support
- Teleport delay (in ticks)
- Sound effects on/off
- Custom teleport sounds
Example Configuration
# ohFirstSpawn Configuration File
# Spawn configuration
spawn:
world: world
x: 0
y: 0
z: 0
yaw: 0
pitch: 0
# List of players who already spawned for the first time
players: []
# Customizable messages (supports color codes with &)
messages:
# Command messages
only-player: '&cThis command can only be executed by a player!'
no-permission: '&cYou don''t have permission to use this command!'
usage: '&cUsage: /ofs set | /ofs info'
# Spawn set messages
spawn-set: '&aSpawn for new players set successfully!'
spawn-position: '&7Position: &f{x}, {y}, {z} &7in world &f{world}'
spawn-rotation: '&7Yaw: &f{yaw} &7Pitch: &f{pitch}'
# Info messages
spawn-info: '&aSpawn configured:'
spawn-world: '&7World: &f{world}'
spawn-coordinates: '&7Coordinates: &f{x}, {y}, {z}'
spawn-not-configured: '&cSpawn not configured yet!'
spawn-load-error: '&cError loading spawn!'
players-processed: '&7Players processed: &f{count}'
# Plugin settings
settings:
# Delay in ticks before teleport (20 ticks = 1 second)
teleport-delay: 20
# Enable sounds on teleport
play-sounds: true
# Sound to play (only if play-sounds is true)
teleport-sound: ENTITY_ENDERMAN_TELEPORT
# If true, ALL players will be teleported to spawn on join (not just first-time players)
teleport-join-players: false
debug: true
Teleport Modes
The plugin supports two teleportation modes:
- First-Time Only (
teleport-join-players: false): Only new players who have never joined before are teleported to spawn - All-Time join (
teleport-join-players: true): Every player is teleported to spawn on every join
Permissions
| Permission | Description | Default |
ohfirstspawn.set | Allow setting spawn locations and using commands | op |
Compatibility
- Minecraft Versions: 1.18+
- Server Software: Spigot, Paper, Purpur, Folia
- Java: 17+
Installation
- Download the plugin JAR file
- Place it in your server's
pluginsfolder - Restart or reload your server
- Configure messages in
config.ymlif desired - Set spawn location with
/ofs set - Done! Players will automatically be teleported based on your configuration
Usage
- Set spawn location: Stand where you want players to spawn and run
/ofs set - Check configuration: Use
/ofs infoto view current spawn settings and player statistics - Choose teleport mode: Set
teleport-join-playerstotruefor all join time orfalsefor first-time only - Customize messages: Edit the
config.ymlfile to change messages and settings - Reload configuration: Use
/ofs reloadto apply config changes without restart
Multi-Language Support
The plugin comes with pre-configured language files:
- English (
config.yml)
Simply replace the default config with your preferred language version.
Support
If you encounter any issues or have questions:
- Create an Issue on GitHub
⭐ If you found this plugin helpful, please consider giving it a rating! ⭐
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta