ConditionalWhitelist - Whitelist Control based on online players! 1.0

Only allow players to join when certain players (like streamers) are online

  1. CreepPlays
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.15
    • 1.16
    banner.png

    You have starting a project which should only allow other players to join the server if for example some streamers are online? Then this plugin is the right one for you!

    It is based on the default player whitelist of Vanilla/Spigot, so you can simply add the player to the whitelist and it works!

    If you want to join as a normal player without certain players online, you cannot login and get this message:

    upload_2020-12-2_12-10-32.png


    If the condition is met, for example a streamer is online, normal players can join as usual with the whitelist mechanics.

    When the streamer in this example leaves the server, you see this countdown as a bossbar on the top:

    upload_2020-12-2_12-6-34.png

    After the countdown is done, you are kicked with a customizable kick message:

    upload_2020-12-2_12-9-44.png

    Config:

    Just change the config (in plugins/ConditionalWhitelist like you want.
    All shown messages can be customized.

    Code (Text):
    kick-in-minutes: 5

    server-close: "§lThe server will be closed"
    player-kick: "§cThe server was closed because no streamer is online!"
    not-in-whitelist: "§cYou are not whitelisted!"
    no-join-possible: "§cThe server is currently closed because no streamer is online!"

    minutes: "minutes"
    seconds: "seconds"
    minute: "minute"
    second: "second"
    Permissions:
    Code (YAML):
    Bypass Whitelist Condition: conditionalwhitelist.bypass
    Necessary Player for activating whitelist
    : conditionalwhitelist.necessary
    Terms of use:

    By downloading or using my plugin you agree to the following conditions:
    1. You are not allowed to sell this plugin.
    2. You are not allowed to claim this plugin as your own.