NidToolbox: Server News module

Due to human (non-bot) spam the first contribution of a user has to be reviewed and activated manually, all further contributions do not require this.
As long as a user does not have at least one reviewed and activated contribution, the user is unable to edit his profile, set a avatar, title picture or a signature.
  • nid added a new file:

  • Hello i have this error.I use last version all modules.Server

  • Hello i have this error.I use last version all modules.Server

    [09:56:37.518] [72] [Debug] [Eco] Nat introduction received with token = fab1cfd1-5a75-4327-9194-7f3c5eae36ab
    [09:56:37.583] [72] [Debug] [Eco] Nat punch received from with token = fab1cfd1-5a75-4327-9194-7f3c5eae36ab
    [09:58:02.744] [7] [Error] [Eco] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
    at Eco.Gameplay.Systems.Chat.ChatCommandService.<>c__DisplayClass12_0.<InvokeCommand>b__1()
    at Eco.Core.Utils.Async.TaskUtils.<>c__DisplayClass2_0.<RunWithExceptionLog>b__0()
    System.NullReferenceException: Object reference not set to an instance of an object.
    at Eco.Nid.News.NewsCommands.NewsShow(User user)

    Hello, thanks for the report, I think this has been solved in the help section of my Discord, if you are still having problems, please feel free to ping me here or on Discord.

    The porblem was related to a missing comma in the .json config file. Person has edited the file manually and forgot to format it properly.

    All errors are usually reported in my log and can be accessed there:

    [2021-05-22 03:19:00.528][Error] There was an error loading data from your config files: ServerNews.json 
    [2021-05-22 03:19:00.546][Error] Error message:  After parsing a value an unexpected character was encountered: ". Path 'WindowTitle', line 4, position 4. 

    After fixing it in the file, the problem goes away.

  • nid added a new version:


    Version 1.1

    • Migrated project to Net5.
    • Compatibility patch with Eco version 9.4
    • Implemented DisplayDelay option in settings. Default 30 seconds. This is to ensure that news popup does not overwrite MOTD info when used in conjunction.
  • nid added a new version:


    * (RC.3) Module output filename updated to match namespace.

    * Module updated to Eco 9.5.0

    * REQUIRES: EM-Framework 3.2.0-RC.3 or higher.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!