Configuration
Configuration
Once this plugin is installed, a folder for this plugin will be created inside the plugins folder. Inside that folder you will see that a few YML files have been generated.
There is a file called "UUID.yml", don't touch this. It holds the UUIDs of players that join (for programming purposes).
There is a file called "config.yml", this is the configuration file. It should look something like this:
schedule: enabled: false time: 6000
Key | How To Configure | Extra Info |
---|---|---|
schedule | N/A | Contains properties for the Scheduler of the Announcement system. |
enabled | A simple true or false (the default is false). | Turns the scheduler on or off. |
time | An integer(whole number) for the amount of time it takes for it to Announce the next announcement | In ticks (about a 20th of a second, I think). |
There is a file called "announcements.yml", this is the configuration for the announcement system. If you turned announcements off you can ignore this. If you turned them on, the file should look something like this:
' announcement1': Tag: Default Message: Default TagColor: '&f' MessageColor: '&f' ' announcement2': Tag: Default Message: Default TagColor: '&f' MessageColor: '&f' ' announcement3': Tag: Default Message: Default TagColor: '&f' MessageColor: '&f' ' announcement4': Tag: Default Message: Default TagColor: '&f' MessageColor: '&f' ' announcement5': Tag: Default Message: Default TagColor: '&f' MessageColor: '&f'
A jumbled mess right? Let's walk through it.
Key | How To Configure | Extra Info |
---|---|---|
' announcement1' | N\A | Contain the properties for Announcement 1. |
Tag | A string for the Tag of the Announcement. | The tag is what goes ahead of the message. |
Message | A string for the Message of the Announcement. | This goes after the Tag. |
TagColor | This the color of the Tag that is a char code. | For help with color codes, click here. |
MessageColor | The is the color of the Message that is a char code. | For help with color codes, click here. |
There are five of those all configured the same way (I have only programmed five). For example if you configured Announcement 1 like this:
' announcement1': Tag: Greetings Message: Hi! TagColor: '&1' MessageColor: '&1'
It would appear like this:
[Greetings] Hi!
If you need help with the char color codes, go to the next section.
Comments