Giter Club home page Giter Club logo

joinmotd's Introduction

joinMOTD

一个 MCDReforged 插件,需要 MCDR > 2.0

当玩家加入游戏时向其发送欢迎信息

别忘了填写配置文件 config/joinMOTD.json

如果配置文件中指定了 start_day(格式:%Y-%m-%d,如 2018-11-09),则将使用 start_day 计算开服时间,否则将尝试导入 daycount 插件进行开服时间获取


A MCDReforged plugin, requires MCDR > 2.0

Send player a MOTD when he joins

Don't forget to fill configure file config/joinMOTD.json

If start_day (format: %Y-%m-%d, e.g. 2018-11-09) is specified in the config file, start_day will be used to calculate the start time, otherwise it will try to import the daycount plugin to get the start time

joinmotd's People

Contributors

fallen-breath avatar kafuuchino-desu avatar

Stargazers

 avatar LIPiston avatar Haoyu Guo avatar MrVirgil avatar L_inkOO avatar Glucy2 avatar Zhou Jingyu avatar Qian Qian "Cubik"‎ avatar Zachary Liu avatar Connie Kuboushek avatar 空白 avatar William Song avatar WhitePaper233 avatar TANGhz17 avatar

Watchers

James Cloos avatar

joinmotd's Issues

[Bug反馈] 类似配置的情况下,服务器内显示结果不同

bug1

下图为配置文件内的填写位置:
V8MR`U0BDCE(LLHP9J@)B0L

然而在服务器内,却于不同的位置显示了消息,如图:
(JWDZ@M) L@~W_5K2NI0P61
S%HJANA4YP{@JB11JLS3LEH

以下为详细信息:
MCDR版本:2.9.0
joinMOTD版本:1.3.0
Minecraft服务端核心:1.20 fabric
注:使用了velocity端来分别配置生存服和创造服。

bug2

MCDR的reload指令与server restart指令疑似无法更新插件的配置文件,具体表现在:

  • 修改配置文件并重载配置文件后,joinMODT输出的消息仍然不变
  • 关闭shell窗口,完全重启MCDR,joinMODT的配置文件直接重置
    bug2的临时解决方法为直接修改插件的源码,再完全重载插件。(直接放弃配置文件啦)

抱歉,我并不是很懂插件与MCDR的运作方式,如有勘误请多指教。(っ◞‸◟c)

utf-8问题

文件是utf-8的格式,但是还是报错
image

配置文件每次启动都会被重置

  • 操作系统:Oracle Linux Server 8.3 - arm64 架构
  • Python 版本:Python 3.6.8
  • MCDR版本:2.2.1
  • Java 版本:OpenJDK 64-Bit Server VM Temurin-16.0.2+7
  • Minecraft 服务器版本:Minecraft 1.17.1 Fabric,MCDR 使用了 vanilla_handler
  • 问题描述:每次启动服务器,JoinMOTD的配置文件都会被重置为默认文件

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.