SimpleMOTD icon

SimpleMOTD -----

[1.7-1.16] A very simple Spigot plugin that sends a small message when a player joins the server.



[​IMG]
A very simple Plugin that sends a small message when a player joins the server.​
Code (YAML):
motd :
- '&7Welcome to the server, &a %player%&7.'
- '&7Have fun while playing!'
- '&a %currentPlayers%&8/&a%maxPlayers% &7players are online right now.'
settings
:
  bypass
:
    usePerm
: false
    permission
: SimpleMOTD.bypass
  delay
:
    seconds
: 0

Placeholders:
  • %player% --> name of the player
  • %currentPlayers% --> current amount of players
  • %maxPlayers% --> max amount of players

If you want to send the message delayed, you can set the delay in the config.

If you enable the bypass permission players with the permission "SimpleMOTD.bypass" (customizable) won't see the MOTD.


This plugin should work with every version from 1.7-1.16. You can use every spigot based server version (Thermos, Magma, Paper, ...).​

API
Code (Java):
// Sends the MOTD to a player with a delay
sendMOTD (Player player, int delay )

// Sends the MOTD to a player
sendMOTD (Player player )

// Returns a list of all motd lines (without replaced placeholders or colorcodes)
getMOTDList ( )

// Returns the full motd message
getMOTD (Player player )

// Replaces all placeholders and colorcodes in a message
replacePlaceholders ( String raw, Player player )

// How to use
API motdApi = SimpleMOTD. getAPI ( ) ;
motdApi. sendMOTD (player ) ;
 
Resource Information
Author:
----------
Total Downloads: 7,374
First Release: Feb 10, 2020
Last Update: Dec 3, 2020
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings