Coder Social home page Coder Social logo

broadcast's Introduction

Broadcast Build Status

A sponge plugin for sending automated messages to your server.

This plugin is designed to be a simple and lightweight plugin for sending information to your players. Whether it be new server updates, social media links, or shoutouts, you need a simple way to communicate with players.

About

This free and open source software is licensed under GPL v3. You can read more about our license here.

Want to help out? Fork me on Github.

Donations of any kind are always appreciated. Donate here!

Installation

Prerequisites

  • Java 8
  • SpongeVanilla or SpongeForge

Installation Steps

  1. Download Broadcast to your server.
  2. Place the downloaded jar file in your mods folder.
  3. Restart your server.
  4. Done! Now you can move onto configuration.

Configuration

Default Config

delay=60
messages=[
    {
        color=red
        text="Thank you for choosing Broadcast!"
    },
    {
        color=yellow
        text="This plugin was written by zachoooo."
    },
    {
        color=aqua
        text="Edit the configuration to put your own messages in."
    },
    {
        color=yellow
        extra=[
            {
                text="["
            },
            {
                clickEvent {
                    action="open_url"
                    value="http://www.github.com/zachoooo/Broadcast"
                }
                color=green
                text=Github
            }
        ]
        text="Fork me on "
    }
]
prefix {
    extra=[
        {
            color=yellow
            text=Broadcast
        },
        {
            text="] "
        }
    ]
    text="["
}
random=false
no-repeat=true

delay: The time in seconds between broadcasts being displayed

prefix: Some text displayed before a broadcast to indicate that the message is a broadcast.

random: Whether or not to display the messages randomly or in order.

no-repeat: If random is set to true, then don't repeat the same message twice.

You can use configuration formatting from here: http://minecraft.gamepedia.com/Commands#Raw_JSON_text

There are some generators that you can use to help you format chat:

Building

Prerequisites

  • Java 8
  • Git
  • Gradle (Packaged with project)

Note: If you do not have Gradle installed then use ./gradlew for Unix systems or Git Bash and gradlew.bat for Windows systems in place of any 'gradle' command.

Run the following commands to build the project yourself.

git clone https://github.com/zachoooo/Broadcast.git
cd Broadcast
gradle build

The compiled jar will be located in ./build/libs.

Authors

  • zachoooo

broadcast's People

Contributors

zachoooo avatar

Stargazers

 avatar  avatar

broadcast's Issues

Font.

Hello, how i can put &l (Bold letters) on broadcast? and ty .

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.