New option called "news" with which you can show an input message on the server showing the next maintenance, or some important news. The messages for this new option and its commands have also been added.
Also, added a missing message from the "motd+ list" command, which displayed "<none>" when the player list was empty.
In this update i fix little errors.
I recommend reset language files.
In this update, the language files get a new template:
Now, all the messages has their category.
Too, now each language has their language name. This is for the command /motd+ language. When u set a language, now appear the language's name. For example, if u set english, before appear en-US, now appear English.
In this update, i fix few errors in Skript load.
Now, don't must appear errors in skript load.
IMPORTANT
When the Skript it's loaded for first time, reload the skript or server. The messages dont work very good and need do this.
As I continued to develop the Skript, I had some serious problems.
With this new version, these problems are solved and 100% tested.
To make sure they don't show up, make sure you do the following:
- Delete the files called
variables.csv located in the
/plugins/Skript path. If you have a folder called Backup with files of these inside, delete them too.
- Delete the current plugin configuration. This folder is called
MOTD+ and it is in the plugins folder.
IMPORTANT
If in the game, you see that the messages come out something called
<none> follow the next steps:
- Close the server (/stop command).
- Delete the
variables.csv files generated by Skript.
- Open the server again.
If the problem persists, ask for support.
In this version, I have tried to further develop the multi-language system, according to LanguagesAPI.
Now, it will be better and faster.
I fix a little error in code.
After so long I have returned to Skript.
In this version, i have fixed several errors that were in the Skript, or so it seemed to me since it worked badly for me.
Also, it has been fixed in version 1.9.2, so it should not give problems in later versions.
Skript versions and the necessary add-ons must be the latest.
And highly recommended, copy and/or delete your old settings and let Skript create them again. To avoid loss, save the current settings.
New update notification if you have the
motd+.admin permission.
And little changes in code for skript console messages.
Now MOTD+ supports LanguagesAPI:
You need recreate
config.yml file.
Autoupdate general language for MOTD+ and user language each 5 seconds (only change if the language between LanguagesAPI and OPList is not the same).
The user language only works if
LanguagesAPI support is true.
Now you cant change the plugin language when plugin use
LanguagesAPI support.
From this version, reload all config (including language) files for correct load.
If you change the LanguagesAPI language, you need reload this plugin.
Now support LanguageAPI:
In config, change the option
supports/LanguagesAPI to
true, and automatically the plugin use the LanguageAPI language.
- Now, version value in
config.yml file update. In last version dont work.
- Changed the version checker in console. Now appear with other style.
Fixed version checker:
The checker work wrong, so i need fixed it.
In this update:
- Messages configuration changes: all messages stay in categories (delete previous language files manually).
- New command added: /motd+ info. Displays the current Server and Maintenance Motd.
- Added a new version checker: you can disable in
config.yml file. This checker warns in console if a new version exist when the skript is loaded.
- Fixed some problems in skript (unnecessary lines and others).