OreAnnouncer icon

OreAnnouncer -----

Get notified when players break ores - Now on BungeeCord



Hi!

I made a basic plugin which announces in Chat for players with permission "ores.announce" when a player finds ores which are specified in the config.yml - Now also with BungeeCord integration: Just install the .jar file on your BungeeCord, set enableBungeecord to "true" in the config.yml (of Spigot) and you are ready to go
A DiscordBot feature is integrated, it will send messages in a specified Channel (in config by ID). Anyway you do need to create a new Bot in the developer platform of Discord and simply enter the token in the config.

[​IMG]

Yet there is no support of "memorizing" the ores found.

Example Spigot Config:

Code (YAML):
Config :
  #Do not change!
  ConfigVersion
: "4"

  #if you want to use the global Bungee Mode turn this to true
  enableBungeecord
: true

  #Prefix before every message
  prefix
: ""
  #AnnounceMessage
  message
: "%prefix% &3%player% &7found &3%amount% &7of &e%block% &7at &b%coordinates% &7in World &b%world%"

  #Interval to clear cached blocks in Minuted. Use 0 to deactivate.
  #If you use the cache clear feature it might happen, that a vein will be announced 2 times
  #The performance impact is minor
  cacheclear
: 0

  #List of blocks which should be announced
  blocks
:
   - DIAMOND_ORE
    - DEEPSLATE_DIAMOND_ORE
    - GOLD_ORE
    - DEEPSLATE_GOLD_ORE
    - EMERALD_ORE
    - DEEPSLATE_EMERALD_ORE

  discord
:
    #if token is empty DiscordBot feature will be disabled
    #If Bungeecord is enabled you should turn this on in the Bungeecord config and turn off in Spigot config
    token
: ""
    #the channel ID of the text channel where announcements will be posted
    channel
: ""
    #the game the bot is playing
    playing
: "Do not XRay"

  #Not yet implemented. Just a placeholder for upcoming Database Support
  DatabaseType
: "MySQL"
  #Not yet implemented. Just a placeholder for upcoming Database Support
  MySQL
:
    Host
: "localhost"
    Port
: "3306"
    Database
: "Database"
    Username
: "User"
    Password
: "1234"
 
Example BungeeCord config:

Code (YAML):
BungeeConfig :
  #Do not change!
  ConfigVersion
: "1"

  #Prefix before every message
  prefix
: ""
  #AnnounceMessage
  message
: "%prefix% &3%player% &7found &3%amount% &7of &e%block% &7at %server%: &b%coordinates% &7in World &b%world%"


  discord
:
    #if token is empty DiscordBot feature will be disabled
    token
: "My_Token_Here"
    #the channel ID of the text channel where announcements will be posted
    channel
: "0000000000001"
    #the game the bot is playing
    playing
: "Do not XRay"

  #Not yet implemented. Just a placeholder for upcoming Database Support
  DatabaseType
: "MySQL"
  #Not yet implemented. Just a placeholder for upcoming Database Support
  MySQL
:
    Host
: "localhost"
    Port
: "3306"
    Database
: "Database"
    Username
: "User"
    Password
: "1234"
 
Resource Information
Author:
----------
Total Downloads: 385
First Release: Aug 12, 2021
Last Update: Aug 15, 2021
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings