Sueta

AlonsoWhitelistNotify [1.8-1.12] • NEW! WhitelistGUI, QuickA

1.1

• Get notified of failed login attempts because of whitelist!

·Plugin

PENDING RECODE, DO NOT USE IN 1.13+

AlonsoWhitelistNotify is a simple plugin that allow server owners/developers be notified when players try to join whitelisted servers. Useful if you want to know if an specific player (an staff member, or even other developer) is trying to join the server you are without success.

Actually, I made this plugin for my network. When setting up minigame servers i had to enable whitelist. But i needed a way to know if the player who helped me to test was trying to join and that's why a made this plugin. I think this could help someone else.

I provide support through discord for all my plugins, if you have any question, problem, suggestion, or bug of any kind related to one of them I will be happy to help you as much as i can. Join discord now by clicking the image above!

Many of you may know how to code plugins, but there are people who don't.
This is made for those people.

Review section is not place for bug reports.

  • Multiversion support [1.8 - 1.12]
  • Multilanguage support [Spanish, French, English]
    Add you own language file.
  • Lightweight plugin.
  • Easy setup.
  • Sound notification.
  • Custom permissions.
  • Configurable messages.
  • Whitelist GUI to easy manage whitelist.
  • Cooldown time before same player login attempt is notified again to avoid spam.




Installing plugin in your server:

  • Download the plugin from SpigotMC.org
  • Copy the jar file into you plugins folder.
  • Restart the server.
  • If you are running 1.9, 1.10, 1.11 or 1.12 server, please modify Sound name in config.yml and restart. Otherwise plugin will not load correctly. Useful links for sound names are in config.yml

Plugin may support /reload command but it's never recommended.


/awhitelistnotify - Main command
Aliases: /awnotify & /awn

/awn - Open whitelist GUI
/awn maintenance off - Disable maintenance mode
/awn maintenance on - Enable maintenance mode
/awn add player - Add player from whitelist
/awn remove player - Remove player from whitelist


alonsowhitelistnotify.notify - Get notifications of login attempts
alonsowhitelistnotify.addwhitelist - Click to add player to whitelist
alonsowhitelistnotify.maintenance.admin - Enable/disable maintenance mode
alonsowhitelistnotify.maintenance.join - Join server in maintenance mode

✪ config.yml

###########################################################
#                   AlonsoWhitelistNotify                 #
#                Developed by AlonsoAliaga                #
#     Youtube: http://www.youtube.com/AlonsoAliagaPlay    #
#     Spigot: https://www.spigotmc.org/members/281176/    #
###########################################################

#Important note: Changes need restart to work, comments are
#deleted after the first use of /awn maintenace on/off
#Make sure you read everything!

#Enable plugin?
Enabled: true
#Select the language. Default: EN (English)
#Available languages: ES(Español), EN(English), FR(Français)
#PM me with your translation so i can add you language.
Language: EN
#Custom permission.
Permission: 'alonsowhitelistnotify.notify'
Notify:
  #Cooldown in seconds to notify a player login attemp again. To avoid spam set larger values than 30.
  Cooldown: 30
Sound:
  #Enable sound notification?
  Enabled: true
  #Custom sound. Use Sound name according to you version.
  #Sound names for 1.8 can be found here http://docs.codelanx.com/Bukkit/1.8/org/bukkit/Sound.html
  #Sound names for 1.9+ can be found here https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
  #Default 1.8, change if using 1.9+ before enabled sound notification.
  Sound: 'LEVEL_UP'
Clickable:
  #Enabled clickable text to add player to whitelist?
  Enabled: true
  #Custom permission to recieve clickable text and use command to add player to whitelist.
  Permission: 'alonsowhitelistnotify.addwhitelist'
Maintenance:
  #Enable maintenance mode?
  Enabled: false
  #Custom permission to enable or disable maintenance mode
  PermissionAdmin: 'alonsowhitelistnotify.maintenance.admin'
  #Custom permission to join server with maintenance mode enabled
  PermissionJoin: 'alonsowhitelistnotify.maintenance.join'

✪ messages_EN.yml

###########################################################
#                   AlonsoWhitelistNotify                 #
#                Developed by AlonsoAliaga                #
#     Youtube: http://www.youtube.com/AlonsoAliagaPlay    #
#     Spigot: https://www.spigotmc.org/members/281176/    #
###########################################################

Messages:
  #Custom kick message.
  #Placeholder: {PLAYERNAME} and {NEWLINE}
  KickMessage: '&cSorry {PLAYERNAME} but this server is whitelisted!'
  #No permission message.
  Nopermission: '&cYou don''t have permission to perform this command.'
  #Message when player is added to whitelist.
  AddedToWhitelist: '&a{PLAYERNAME} was added to whitelist!'
  #Message when player was already in whitelist.
  AlreadyInWhitelist: '&c{PLAYERNAME} was already in whitelist!'
  #Message when player is removed from whitelist.
  RemovedFromWhitelist: '&c{PLAYERNAME} was removed from whitelist!'
  #Message when player was not in whitelist.
  NotInWhitelist: '&c{PLAYERNAME} was not in whitelist!'
  #Message when whitelist is enabled.
  WhitelistEnabled: '&aWhitelist has been enabled!'
  #Message when whitelist is disabled.
  WhitelistDisabled: '&cWhitelist has been disabled!'
  #Message when a player name that haven't logged before is entered.
  NotPlayerBefore: '&cOnly players that have played before can be added to whitelist!'
Notify:
  #Custom prefix for notification. Leave '' if you don't want anyone
  Prefix: '&c[Whitelist] '
  #Notification format. Available placeholders: {PLAYERNAME} and {UUID}.
  Format: '&e{PLAYERNAME} with UUID {UUID} tried to join.'
Clickable:
  #Custom text to click to add player to whitelist.
  #Placeholders: {PREFIX} and {PLAYERNAME}.
  Text: '{PREFIX}&eClick here to add {PLAYERNAME} to whitelist.'
  #Custom hover text to show.
  #Placeholder: {PLAYERNAME}.
  Hover: '&eAdd {PLAYERNAME} to whitelist. &cClic here!'
GUI:
  Title: '&8&lWhitelist GUI'
  StatusOn: '&aEnabled'
  StatusOff: '&cDisabled'
  Items:
    previous:
      Displayname: '&9Previous Page'
      Material: FEATHER
      Data: 0
      Lore:
        - '&7Return to previous page'
        - '&7of whitelisted players.'
    next:
      Displayname: '&9Next Page'
      Material: FEATHER
      Data: 0
      Lore:
        - '&7Go to next page of'
        - '&7whitelisted players.'
    panel:
      Displayname: '&8&lWhitelist GUI'
      Material: STAINED_GLASS_PANE
      Data: 0
      Lore:
        - '&7This server is using'
        - '&7AlonsoWhitelistNotify'
        - ''
        - '&7Edit in &bmessages_EN.yml'
    whiteliston:
      Displayname: '&aTurn on whitelist'
      Material: STAINED_CLAY
      Data: 13
      Lore:
        - '&7Click to turn on whitelist'
        - '&7and allow only whitelisted'
        - '&7players to join the server.'
    whitelistoff:
      Displayname: '&cTurn OFF whitelist'
      Material: STAINED_CLAY
      Data: 14
      Lore:
        - '&7Click to turn off whitelist'
        - '&7and allow all player join'
        - '&7the server.'
    info:
      Displayname: '&eWhitelist Status'
      Material: EYE_OF_ENDER
      Data: 0
      Lore:
        - '&7Server currently have'
        - '&7whitelist {STATE}&7.'
    skull:
      #Only Color nodes are available!
      #Examples: '&e&l', '&a', '&a&n'
      Color-Displayname: '&e&l'
      Lore:
        - '&7{PLAYERNAME} is currently in whitelist, so'
        - '&7he can join with whitelist enabled.'
        - ''
        - '&eClick to remove {PLAYERNAME} from whitelist.'
Maintenance:
  Messages:
    Notification: '&6Maintenance mode has been enabled by {PLAYERNAME}!'
    #Placeholder: {PLAYERNAME} and {NEWLINE}
    KickMessage: '&c&lSorry {PLAYERNAME} but this server is under maintenance!'
    #Message when maintenance mode is enabled
    Enabled: '&aMaintenance mode has been enabled!'
    #Message when maintenance mode is disabled
    Disabled: '&cMainentance mode has been disabled!'


French - Thanks to @OndaEnergyze
YouTube


This is a simple plugin, i don't think it requires more features.
But if you have any suggestion, let me know in discussion tab.


By downloading this resource you agree all following terms and conditions:

  • You are not permitted to redistribute the plugin in any form, including as a part of any software package.
  • You are not permitted to decompile or modify the plugin in any form.
  • You are not permitted to claim this resource as your own creation.

Similar projects

Plugin →