Statuer icon

Statuer -----

Create a bridge with client using WebSocket



To send request, you need to send it like this:
"{\"type\": \"something\", \"password\": \"Password123\" }"

And the response is always:
{"error": false, "message": something }
Or if it is error then:
{"error": true, "cause": "etc.: wrong password" }

This is the list of supported types ( "{\"type\": \"here\", ...):
  1. start_listener (start event listener)
  2. end_listener (end event listener)
  3. command (execute command on server as console)
  4. make_playerOP (make specified player OP)
  5. player_kick (kick a specified player with reason)
  6. player_permanentBan (permanent ban a specified player with reason)
  7. player_permanentIpBan (-||- but ip ban)
  8. player_tempBan (temp ban for specified player with reason)
  9. player_tempIpBan (-||- but ip temp ban)
  10. get_ram (get server free, total and in-use memory. Two decimanl places)
  11. get_tps (get server's tick per seconds from 1m, 5m and 15m.)
  12. get_onlinePlayers (get list of online players)
  13. get_offlinePlayers (get list of offline players)
  14. broadcast (broadcast message, support & color codes)
  15. get_info (get all server info)
All punishment methods need aditional parameter player and reason. Example:
"{\"type\": \"player_kick\", \"player\": \"XAP3Y\", \"reason\": \"What a noob!\", \"password\": \"Password123\" }"
Response:
{"error":false,"message":"Player XAP3Y has been kicked with reason: What a noob!"}
Or when the player is not online, then the response would be:
{"error":true,"cause":"Player XAP3Y is not online!"}
Resource Information
Author:
----------
Total Downloads: 66
First Release: Jan 5, 2024
Last Update: Jan 5, 2024
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings