InviteCode
PluginMIT

InviteCode

This plugin adds an invite-based verification system where players must enter a valid code with /join before they can play.

34
Downloads
2
Followers
7 months ago
Updated
📦
1
Versions

📖About InviteCode

InviteCode

The InviteCode plugin adds an invite-only verification system to your Minecraft server. New players must enter a valid invite code with /join <code> within a time limit or face automatic punishment.

🔧 Configurable Options (config.yml)

  • invite-codes – List of valid invite codes players can use to verify.
  • time-limit – Time (in seconds) a player has to verify before punishment.
  • max-attempts – Maximum number of failed code entries before punishment.
  • punishment – Action taken on unverified or failing players: kick, ban, or ban-ip.
  • kick-message – Customizable message shown when a player is kicked.
  • ban-message – Customizable message shown when a player is banned.

✨ Features

  • Players cannot move or chat until verified.

  • Verified and failed attempts are saved in verified.yml to persist across restarts.

  • Admins can manage settings and data live using:

    • /join reload – Reloads config.yml
    • /join reloadverified – Reloads verified.yml
    • /join resetattempts – Clears all failed attempts

This system is perfect for private or invite-only servers, giving you fine-grained control over who can stay on your server.

I created this plugin to stop random players from joining through port scans and griefing, while still keeping the server secure and accessible to a larger group through invite codes. In short, it’s designed as an alternative to traditional whitelists.

Plugin icon from Freepik - Flaticon