ChatHook
作者:rebot | 分类:模组
Minecraft 版本: 1.12.2 1.13 1.13.1 1.13.2 1.14 1.14.1 1.14.2 1.14.3 1.14.4 1.15 1.15.1 1.15.2 1.16 1.16.1 1.16.2 1.16.3 1.16.4 1.16.5 1.17 1.17.1 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5
平台: bukkit paper spigot
标签: social
A simple plugin that allows you to send a player's chat message to an external server. It is well suited for creating a chat on a website or for Discord web hooks.
WARNING
FOR THE PLUGIN, YOU NEED A BACKEND SERVER TO ACCEPT REQUESTS FROM THE PLUGIN
Required dependencies
Commands
- /chathook reload - reload plugin config
Permissions
- chathook.use - Permission to use plugin commands
Config example
config.yml ```yaml # Author: Kredwi # Issues: https://github.com/kredwi/chathook/issues debug: false # Enable debug mode (true - enabled, false - disabled). async: true # Use asynchronous requests, if disabled, chat messages can be sent with a significant delay timeout: 5000 # Timeout in milliseconds, after which the connection will be closed. request_url: "http://localhost:8439" # The address of the server to which requests will be sent. authorization: "" # Authorization token, if not needed, leave the field empty config-version: 1 # Config version # Message sector message_sector: error_invalid_command: "§cThis command does not exist" config_is_reloaded: "§aConfiguration successfully reloaded" no_arguments: "§cNot enough arguments" no_permissions: "§cYou do not have enough permissions" # List of player nicknames whose messages will not be sent to the server disabled_players: - Kredwi - igor # Other information that will be sent in the request other_information: key_1: "%player_ip%" key_2: "%player_name%" ```请登录后举报
暂无评论,抢个沙发吧~