HttpPoster v2.0 5.4

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

  1. Axeros
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    Source Code:
    https://github.com/rancan-nicolo/http-poster
    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.

    Images

    1. b2cc3b9-Docs_icon_http.png

Recent Updates

  1. Implemented timed actions
  2. New event listener
  3. Playtime

Recent Reviews

  1. Merlyn
    Merlyn
    5/5,
    Version: 4.3
    Fantastic plugin! Though I would love to be able to send a custom payload on a custom command completion (For example '/X add Y' would send Y to Z with the add type)
    1. Axeros
      Author's Response
      Thanks for the review.
      Can you please describe more the feature that you've proposed?
      Thanks.
  2. Muron_Eth
    Muron_Eth
    5/5,
    Version: 3.1
    You did a really fantastic job!Waitin' for an update~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3. gamersitamc
    gamersitamc
    5/5,
    Version: 3.1
    Excellent plugin to send data to your server website, it allows you to view various data, at the moment there are few but in the future I think there will be more, also it works for many minecraft versions, which is not from all plugins.