motd

last built 4 months ago
Build #19
By downloading this file, you agree to our license terms.
Source: github.com
License: MIT
Maintainer: Community Plugin
This plugin does not compile with the latest version of RocketMod.
Contact the author and kindly ask him to update this plugin or consider fixing it on GitHub.

The RocketMod team curates a dozen of community plugins and could need your support.
Consider a donation to RocketMod and sponsor your favourite plugins or contribute code to them.

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


<?xml version="1.0" encoding="utf-8"?>
<MOTDConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ServerOpened>12-31-2016</ServerOpened>
  <Groups>
    <Group>
      <Name>Default</Name>
      <Messages>
        <Message Text="Welcome to %servername%" Color="yellow" />
        <Message Text="This server works for %serverdays% days" Color="yellow" />
        <Message Text="There are %online% players online" Color="yellow" />
        <Message Text="Enjoy and have fun" Color="yellow" />
      </Messages>
    </Group>
    <Group>
      <Name>Vip</Name>
      <Messages>
        <Message Text="Welcome back, %playername%" Color="yellow" />
        <Message Text="There are %online% players online" Color="yellow" />
        <Message Text="We are glad that you choose this server" Color="yellow" />
        <Message Text="Call a friends and play together!" Color="yellow" />
      </Messages>
    </Group>
    <Group>
      <Name>Admin</Name>
      <Messages>
        <Message Text="Players online: %online%" Color="yellow" />
        <Message Text="Admins online: %adminsonline%" Color="yellow" />
        <Message Text="Server uptime: %uptime%" Color="yellow" />
        <Message Text="TPS from last 1m, 5m, 15m: %tps%" Color="yellow" />
      </Messages>
    </Group>
  </Groups>
</MOTDConfiguration>

Default english translation


<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />

Commands and permissions


Git changelog


e221362a7f2e758 2019-07-18 15:39:56

Create LICENSE

    0403911ab1f7166 2019-05-12 18:47:20

    .net 4

      e7e4e1af7dabf96 2019-05-11 14:34:07

      Fix

        fa37c4e2c6e173c 2019-05-11 14:30:50

        s

          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