Rewrite
This is a refactor of the entire codebase and is not directly backwards compatible.
- Rewrite to TypeScript
- Use classes rather than one file...
- Update Rcon to use promises
- Also update from the old Buffer to the newer version
- Print the command to run on the server running the Minecraft server when starting the tool, with an option to disable
SHOW_INIT_MESSAGE: boolean
Breaking Changes
REGEX_MATCH_CHAT_MC
is now split up into two parts,REGEX_MATCH_CHAT_MC
andREGEX_SERVER_PREFIX
.
Bug fixes / Updates
- Implements code from #40
- Support for @ mentioning (was here before, but putting for completeness) ( #9 )
- Format
username#id
(ex:@destruc7i0n#7070
) ALLOW_USER_MENTIONS: boolean
- Format
- Everything from #20 ( with code from #40 )
SHOW_PLAYER_CONN_STAT: boolean
SHOW_PLAYER_ADVANCEMENT: boolean
SHOW_PLAYER_DEATH: boolean
SHOW_PLAYER_ME: boolean
- Support for slash commands, with roles dictating who can do them ( #30 )
ALLOW_SLASH_COMMANDS: boolean
SLASH_COMMAND_ROLES: string[]
- list of the names of roles (case-sensitive) that can run commands
- Finally fixes @ everyone and @ here mentions, with setting to enable them ( #34 )
ALLOW_HERE_EVERYONE_MENTIONS: boolean
- Allow specifying the channel name rather than the id
DISCORD_CHANNEL_NAME: string