▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/Invitation
Invitation

Invitation

A simple /invite <username> command to let your friends whitelist their friends to your Minecraft SMP without your knowledge!

Оцените первым
57
0

Invitation

Let your friends invite their friends without your knowledge! In less cynical terms, no longer will your friends have to beg you to whitelist their friends for the annual summer Minecraft survival multiplayer server. Tell them to do it themselves!

A Spigot (or Paper, or Purpur, or whatever Spigot derivative you want) plugin for Minecraft 1.17 to 26.1.2. Tested to work on Spigot 1.17 and Paper 26.1.2.

This is a pretty wrapper around vanilla functionality. If there's something more than invites that you expect this plugin to do, it almost certainly already exists in vanilla: blacklists (/ban), kick on uninvite (enforce-whitelist=true), and invite revocation (/whitelist remove).

Features

  • Let anyone whitelist a player by username. No more pings to add friends to the summer SMP!
  • Revoke mistaken invites within a configurable window. Typos have been forgiven!
  • (For operators) Look up who invited whom in the invite log to figure out who to hold accountable!

Installation

  1. Download the .jar file from GitHub releases or Modrinth.
  2. Place it in your /plugins/ directory in your server root.
  3. Start your server.

User guide

Click to view Frequently Asked Questions

How do I invite someone? Use /invite <username>

I mistakenly invited the wrong person. How do I uninvite someone? Use /uninvite to revoke your most recent invite. Beyond that, you need an admin to /whitelist remove <username> them.

I accidentally invited someone and now they are on the server. What do I do? First, revoke their invite if you can. Otherwise, ask the admin to remove them from the whitelist then /kick <username> them. You should set enforce-whitelist=true in your server.properties if you want to kick uninvited players immediately.

How do I figure out who invited a griefer to the server? Use /invitelog received <username> using the username of the griefer. The latest entry is your culprit.

My friend keeps inviting someone I don't like. How do I blacklist that player from being invited? This exists in vanilla already: Just ban that problematic player (not your friend, but you can do that too) with /ban <username>. They can still be invited, but they can't join.

My friend got upset and invited a crap ton of randoms. How do I rollback the whitelist? There is no rollback. You should've kept a copy of whitelist.json as a backup. More importantly, you should have a sit down with your friend.

Can I use this on an offline server? Sure, but it only whitelists real Minecraft accounts. Behind Velocity, this works fine. A real offline server? No.

Commands

Click to view command list
CommandUsagePermissionWho can use it by defaultWhat it does
/invite/invite <player>invite.useEveryoneLooks up a Minecraft username, adds that player to the server whitelist, and logs who invited them.
/uninvite/uninviteinvite.useEveryoneRevokes your recent invite if still inside the undo window.
/invitelog/inviteloginvite.logOperatorsAlias for /invitelog recent 1.
/invitelog/invitelog recent [page]invite.logOperatorsShows recent invite log entries, 5 per page.
/invitelog/invitelog sent <player> [page]invite.logOperatorsShows invites sent by that player, 5 per page.
/invitelog/invitelog received <player> [page]invite.logOperatorsShows who invited that player, 5 per page.

Configuration

Click to view configuration options

You can edit the plugin's configuration in plugins/Invitation/config.yml:

KeyDefaultWhat it does
cooldown-seconds7Wait between /invite attempts per player.
undo-seconds60How long after inviting /uninvite (or Undo) can revoke that invite.

Contributing

If you wrote the code for it, I'll happily accept a pull request if I feel like it doesn't bloat the scope of this plugin.

By submitting a contribution to this repository, you agree that your contribution is licensed under the same license as this repository, as published in the LICENSE file.

License

Unless otherwise noted, all source code in this repository is licensed under the Mozilla Public License 2.0 (SPDX: MPL-2.0). Please view the LICENSE file for the terms you are afforded under the MPL-2.0.

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

26.2.x26.1.x1.21.x1.20.x1.19.x1.18.x1.17.x

Зависимости

Ссылки

Создатели

Детали

Лицензия:
Опубликован:2 месяца назад
Обновлён:2 дня назад
Главная