Crazy Auctions Announcer
1.1.5Allows for broadcasts of Crazy Auctions events to the server and/or Discord
Description:
CrazyAuctionsAnnouncer is a simple plugin that allows for the broadcasting of customizable messages from Crazy Auctions to the server or Discord whenever there is an event that occurs.
How it looks in game:
How it looks on Discord:
How it works:
Configure your messages, and set up the config to send messages to the Server, Discord, or Both! For sending messages to Discord, you need to install and set up MineCordBot, coded by the lovely @CyRien. (Link below) Also works with DiscordSRV and maybe UChat (code is there but hasn't been tested)
Limiter:
Set up in the config a limit to how many announcements can be made in a certain time interval! Feature comes disabled by default.
Config:
Default Config
##########################
### Main Config For CAA ###
##########################
#
#Notes:
# Do not use ' or " in messages as I have not yet added support for these icons.
# - Do not remove any lines as that will throw errors
# - This plugin only supports Minecraft color codes. Ex) &eHello World&7!
# - Use this link for a list of the codes: https://wiki.ess3.net/mc/
# - If you want a message to be blank, please leave it as ''
# - This plugin supports the following placeholders
# - Players: %Player%
# - Items: %Item%
# - Money: %Money%
# - AuctionType: %AuctionType%
# - Amount: %Amount%
# If you receive an error when CAA loads, ensure that:
# - No tabs are present: YAML only allows spaces
# - Indents are correct: YAML hierarchy is based entirely on indentation
###########################
PluginPrefix: '&7[&3CrazyAuctionsAnnouncer&7]&6>>'
Settings:
#Set to 'Discord', 'Server', or 'Both'. Set it to Server if you do not have minecord of UChat installed
MessageSendTo: 'Server'
#How many announcements should be allowed in each time interval
AnnouncementAmountLimit: 5
#How often the limit should reset so more announcements can be made (time is in minutes)
LimiterRefreshTime: 1
#turn to true to enable the Limiter
UseAnnouncementLimit: false
#All server messages
Messages:
ConfigReloaded: '&aConfig has been reloaded'
NoPerms: '&cYou do not have permission to run this command'
InvalidCommand: '&cThe command you entered was invalid'
AuctionBid: '&e%Player% has bid $%Money% on %Amount% %Item%'
AuctionWin: '&e%Player% has bought the auction of %Amount% %Item% for $%Money%'
AuctionStart: '&e%Player% has started a %AuctionType% for %Amount% %Item% for $%Money%'
AuctionWinBid: '&e%Player% has won the bid for %Amount% %Item% for $%Money%'
Server:
##Can be message. title, subtitle, or action_bar
DisplayType:
AuctionBid: 'action_bar'
AuctionWin: 'action_bar'
AuctionStart: 'action_bar'
AuctionWinBid: 'action_bar'
EventEnabler:
AuctionBid: true
AuctionWin: true
AuctionStart: true
AuctionWinBid: true
TitleConfig:
##Time in seconds
AuctionBid:
FadeInTime: 3
StayTime: 5
FadeOutTime: 3
AuctionWin:
FadeInTime: 3
StayTime: 5
FadeOutTime: 3
AuctionStart:
FadeInTime: 3
StayTime: 5
FadeOutTime: 3
AuctionWinBid:
FadeInTime: 3
StayTime: 5
FadeOutTime: 3
##Replace the place holders with the id of the discord channel you want the messages to go to
#If you dont know how to find this, go here: https://support.discordapp.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID-
Discord:
EventEnabler:
AuctionBid: true
AuctionWin: true
AuctionStart: true
AuctionWinBid: true
Channels:
AuctionStartServer: '265889145124159490'
AuctionWinServer: '265889145124159490'
AuctionBidServer: '265889145124159490'
AuctionWinBidServer: '265889145124159490'
Messages:
AuctionBid: '%Player% has bid $%Money% on %Amount% %Item%'
AuctionWin: '%Player% has bought the auction of %Amount% %Item% for $%Money%'
AuctionStart: '%Player% has started a %AuctionType% for %Amount% %Item% for $%Money%'
AuctionWinBid: '%Player% has won the bid for %Amount% %Item% for $%Money%'Permissions:
CAA.*: Gives the player access to all CAA commands
CAA.reload: Gives the player permission to reload the config
Commands:
/caa reload: Reloads the config
Dependency:
CrazyAuctions- Use version 1.2.4 and up. Will NOT load without CrazyAuctions
MineCordBot- Optional but required for Discord broadcasting.
DiscordSRV- Optional substitute for MineCordBot
CrazyEnchantment - Plugin offers support for custom enchanted books
Installation:
Unzip the downloaded folder and select the appropriate jar. Use RELEASE jars for 1.13+ and LEGACY jars for any lower versions. Once you select the jar, simply upload it or drop it into your server's plugins, restart the server and you are ready to go. For the Discord messages you will have to set up your own channel ID's in the config.
Support:
If you need any help, please ask in the discussion, message me, or join my discord here! The reviews are not for support. I am more than happy to trouble shoot any issues you might have.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta