HttpPoster v2.0 icon

HttpPoster v2.0 -----

A plugin that posts in-game events data to a specific endpoint.



You can use this plugin to post in-game events data to a web-server endpoint.

If you came from V1, you must use the new config folder (V2 config is not compatible with V1's)

This plugin requires PlaceholderAPI
( https://www.spigotmc.org/resources/placeholderapi.6245/)

Until further updates, you must download Statistic by yourself.
/papi ecloud download Statistic
/papi reload

If http.notfound permission is given, the player will get a command not found message instead of the no permission message.

Code (Text):
version: '5.3' # DO NOT TOUCH THIS SETTING
server-name: server # The name of the server, sent in every request
events: # Available ingame events which generate data to carry to an endpoint
  player: # Events regarding player interactions
    join-leave: # Toggled when a player join or leave
      enabled: false # Toggle on (true) off (false)
      endpoint: http://www.example.com # The endpoint to hit
    chatted: # Toggled on chat message send by a player
      enabled: false # Toggle on (true) off (false)
      endpoint: http://www.example.com # The endpoint to hit
    block-broken: # Toggled when a player breaks a block
      enabled: false # Toggle on (true) off (false)
      endpoint: http://www.example.com # The endpoint to hit
      blacklist: # Ignored blocks
      - GRASS_BLOCK
      - COBBLESTONE
    block-placed: # Toggled when a block is placed by a player
      enabled: false # Toggle on (true) off (false)
      endpoint: http://www.example.com # The endpoint to hit
      blacklist: # Ignored blocks
      - GRASS_BLOCK
      - COBBLESTONE
    mob-killed: # Toggled when a player kills a mob
      enabled: false # Toggle on (true) off (false)
      endpoint: http://www.example.com # The endpoint to hit
      blacklist: # Ignored entities
      - BAT
      - ZOMBIE
  server: # Events regarding the server
    start-stop: # Toggled when the server boot or shutdown
      enabled: false # Toggle on (true) off (false)
      endpoint: http://www.example.com
timers: # Timed data to send every x seconds to an endpoint
  players: # Sends data about every online player in the server
    enabled: false # Toggle on (true) off (false)
    endpoint: http://www.example.com # The endpoint to hit
    start-delay: 1 # Initial interval in seconds on server boot
    interval-delay: 10 # Interval in seconds between every call
messages: # Here you can use custom messages (& for colors)
  no-permission: You don't have the permission to run this command.
  not-found: Command not found. Use /http help for a list of the available commands.
 
Commands:
/http:
Displays info about the plugin
permission: http.about
/http reload:
Reload the running configuration
permission: http.reload
/http help :
Command help
permission: http.help

Request events formats:

join-leave:
server-name: the name of the server
player-name: player nickname
player-uuid: player uuid
player-location: the last location of the player (x,y,z)
player-playtime: the player play time in seconds
type: join or quit
start-stop:
server-name: the name of the server
type: start or stop
block-broken:
server-name: the name of the server
player-name: player nickname
player-uuid: player uuid
block-type: the name of the block
player-playtime: the player play time in seconds
block-position: the position of the block (x,y,z)
block-placed:
server-name: the name of the server
player-name: player nickname
player-uuid: player uuid
block-type: the name of the block
player-playtime: the player play time in seconds
block-position: the position of the block (x,y,z)
mob-killed:
server-name: the name of the server
player-name: player nickname
player-uuid: player uuid
entity-type: the name of the entity
entity-position: the position of the entity (x,y,z)
chatted:
server-name: the name of the server
player-name: player nickname
player-uuid: player uuid
player-playtime: the player play time in seconds
player-position: the name of the player (x,y,z)

message-content: the content of the message

If you find any bug/problems, prease contact me before submitting a bad review. (Axeros#0903 on Discord)

This plugin is under development, so keep it updated.
Resource Information
Author:
----------
Total Downloads: 609
First Release: Mar 22, 2021
Last Update: May 24, 2021
Category: ---------------
All-Time Rating:
3 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings