Jump to content

BCA | Broadcast Actionbar


Edb

Recommended Posts

bca.png.e01c91040c73a53188594d3a60e5e544.png

BCA (Broadcast Actionbar)

BCA is a simple skript I made for both my servers, but I thought about releasing it to the world. There is also a Spigot page below. You can alternatively click here, but make sure to read the post.

Source Code

Spoiler

#---------------------------------------------------------#
# Options (Customize these instead of the command.)       #
#---------------------------------------------------------#

options:
    prefix: &6BCA &8|
    sound: block.note_block.pling
    permission: bca.use

#---------------------------------------------------------#
# Command (Only mess with if you know what you're doing.) #
#---------------------------------------------------------#

command /bc <text>:
    description: /bc <text> | Broadcast a message to all players using the actionbar.
    usage: /bc <text> | <> = Required, [] = Not Required
    permission: {@permission}
    permission message: {@prefix} &eYou don't have the correct permission ({@permission}).
    executable by: players and console
    aliases: /bca, /bcactionbar, /bcast, /broadcast, /broadcasta, /bcasta, /broadcastactionbar, /bcastactionbar
    trigger:
        send action bar "{@prefix} &e&l%arg 1%" to all players
        play sound "{@sound}" to all players

#---------------------------------------------------------#
# End of file. BCA, made by _Edb.                         #
# Do not take credit for this work. If you modify, please #
# do not remove this box. Thanks!                         #
#---------------------------------------------------------#

 

This is a copy of the entire skript. When forking[1] it, make sure to...

  • Give me credit. At the bottom of the file, you'll see a little reminder to credit me.
  • Not claim it as your own. I'd like credit for my own work that you forked[1]. Do not use this for your own benefit, like monetizing it. I'm not making money off of this, so neither should you.
  • Modify at least something. An unmodified file that you "forked[1]" isn't okay to release. Sure, you can use this with your own server, but if you plan on releasing this as a fork[1], modify something.

Download BCA

To download this skript, you can copy the source code or click on actionbar_broadcast.sk.

Dependencies

  • An (at least) Bukkit / Spigot server.
  • Skript
  • 1 server restart, a way to move a file in, and to run "/sk reload scripts"

Other notes

The 3 options at the top are the only things you need to mess around with unless you plan on forking[1].

The defaults?

    prefix: &6BCA &8|
    sound: block.note_block.pling
    permission: bca.use

Vocabulary

[1] | Fork: To modify a file made by someone else.

Spigot Page

I have released the Spigot page. You can access the page by clicking on this link. Please note that I will not be responding to anything on it (the page).

 

End of page/post, made by _Edb.

Edited by Edb
It's a logo! Wee!

Loading signature...
duh.gif.8b527aec819aa6aec1163679bc32d922.gif

Link to comment
Share on other sites

vocabulary section lol

 

  • Haha 2

Graphic Designer - Skript Developer - Professional Builder - Content Creator

Been on Minehut since January 2018. Throughout my time here I've mastered the skills you see above. I make free logos, banners, and server art for users on Minehut. I'm a proficient Skript developer. I'm also really good at building, you can see my portfolio by clicking here. Feel free to say hi if you see me somewhere 🙂

Amethyst Studios Discord

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...