A server addon for listen certain events an send to an url.
- For this addon is necessary enable the Experimental API.
- Can configure the default url
- Listen Player Messages
- Listen !home command to return the spawnpoint
- Listen Player enter/leave
Define the required variables in the config/default/variables.json
chat_interact_url
: The url where the events were send. (If no set then the events no run)
-
/message/
- Sends a POST with the json:
{ "player": "playerName", "message": "message", }
- If receives any content then show in chat
-
/player/enter/
- Sends a POST with the json:
{ "player": "playerName", }
-
/player/leave/
- Sends a POST with the json:
{ "player": "playerName", }