PlayerJoin icon

PlayerJoin -----

Execute commands on player join and leave!



PlayerJoin - Command Execution on Player Join/Leave
PlayerJoin is a simple yet powerful plugin for Minecraft servers that allows you to automatically execute commands when a player joins or leaves the server. Whether you want to send welcome messages, grant permissions, or run custom scripts, PlayerJoin makes it easy and flexible.

Features:
  • Execute one or more commands when a player joins or leaves the server.

  • Supports PlaceholderAPI for dynamic command customization.

  • Customizable commands via the plugin configuration file.

  • Lightweight and optimized for performance.
Commands:
  • /playerjoin [reload|help] - Main command for PlayerJoin.
    • Aliases: /pj

    • Permission: playerjoin.command
Subcommands:
  • help - Displays the list of available commands.

  • reload - Reloads the plugin configuration.
    • Permission: playerjoin.reload
Permissions:
  • playerjoin.command - Allows access to the main command. (default: true)

  • playerjoin.onjoin - Allows executing commands on player join. (default: true)

  • playerjoin.onleave - Allows executing commands on player leave.

  • playerjoin.reload - Allows reloading the plugin configuration. (default: OP)
Configuration Example:
join-commands:
- "broadcast Welcome %player% to the server!"
- "give %player% minecraft:diamond 1"
leave-commands:
- "broadcast %player% has left the server!"

With PlaceholderAPI enabled, placeholders such as %player% will be dynamically replaced with the player’s name.

Soft Dependencies:
  • PlaceholderAPI (optional) - Enhances command customization with placeholders.
How to Install:
  1. Download the latest version of PlayerJoin.

  2. Place the plugin file into your server's plugins directory.

  3. Restart or reload your server.

  4. Configure the plugin as needed in the config.yml file.

  5. Use /playerjoin reload to apply changes.
Support and Contributions:
For any issues or suggestions, feel free to reach out on the Spigot discussion thread. Contributions are welcome on GitHub!
Resource Information
Author:
----------
Total Downloads: 12
First Release: May 15, 2025
Last Update: May 15, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings