motd

#4 - published 2 years ago

MOTD

Example of messages: i.imgur.com/jb54mkM.png

Example of config: i.imgur.com/xGvbdgH.png

 

Dont forget to add “motd.default” permission to default player group, if you need it

Example: i.imgur.com/gNi0GNY.png

 

Features:

  • Up to 4 colored messages for each group
  • Unlimited amount of groups
  • Colors:
    • Set color in text. Avaiable colors: i.imgur.com/y7vR0nq.png
    • Set color in RGB. Example: 0, 255, 128
    • Set color in HEX. Example: #0000FF
  • Some parameters, which you can add to your messages:
    • %servername%, %playername%, %online%, %adminsonline%, %mode%, %pvp/pve%, %map%, %uptime%, %tps%
  • Permissions. You can choose, which messages to show for different players.
    • Permission using: motd.groupname
    • Example of permission: motd.vip
    • Example of permission: motd.admin

 

FAQ:

  • Can we change color for certain words in message?
    • No.
  • What is TPS?
    • TPS – Ticks Per Second. It depends on your server perfomance. By default, you must have 60 TPS or abowe. If you get 20TPS and lower, players on your server will feel lags. Here is good explanation for minecraft (but it has 20TPS by default): www.spigotmc.org/threads/what-is-tps.4277/
  • What is uptime?
    • It is a time since server start, up to this moment.

 

ToDo:

  • Add translation support
  • Add string for displaying server age
  • Fix that admins have all groups permissions
  • Add %serverdays% %CurrentTime% %CurrentDate% %Lastlogin% %LastLoginOfMembersOfYourGroup%
  • Any ideas? Write them to comments

Default configuration


Default english translation


Commands and permissions


Git changelog


e9bce011c53a656 2017-02-06 11:31:26

Fixed default date style to be like in USA

    3edabb5f420cd4a 2017-02-06 10:42:47

    Removed currentTime and currentDate because of different time style it countries

      59a20cde9eb54b4 2017-02-06 10:33:04

      Code cleanup, case-sensitive support and few new params for config

      • Added params for config: %currentTime%, %currentDate%, %serverTime%,
      • %serverDays%. Removed few warnings. Added "ServerOpened" string param to
      • config file, small code clean up.

      7521e11bca28d1c 2016-11-06 06:21:02

      Small code clean

        b5e87b1d20047b9 2016-11-06 06:16:37

        Uploaded libs

          b0c5a9c0cf5fc5a 2016-11-06 06:11:02

          Updated to 1.2.1

          • Updated to new Rocket/Unturned, removed unuseful warnings

          3a4594ced1dec51 2016-01-17 19:26:22

          Fixed plugin reload, fixed mistake in "Gropus", added %tps%, %uptime%, more detailed warnings

            41653fdc48c075a 2015-10-10 09:46:10

            Update version number

              d59cd3539739806 2015-10-10 09:41:46

              Updated to Unturned 3.12.2.1

                843aa0334a203cd 2015-08-21 16:22:28

                Rename Group "Premium" to "Vip"

                  855a4bea1b5db15 2015-08-21 16:05:10

                  Remove unused "using"

                    e1a22d295697a96 2015-08-21 15:24:57

                    Add assembly description

                      2a0659cb8d5e719 2015-08-21 15:24:44

                      Remove not worked things

                        db8670dacf7cf60 2015-08-21 15:24:05

                        Small fix

                          46ad9852e12ff4f 2015-08-21 15:23:35

                          Add features

                            d874a915028dd8a 2015-08-20 15:00:24

                            First files upload

                              Download

                              Build #4
                              By downloading this file, you agree to our license terms.

                              Repository

                              github.com

                              License

                              MIT

                              Author

                              doozzik