Using the Configs

The WelcomeNoob plugin has two config files: config.yml and players.yml. Each file has informations needed for the plugin to work.

All the informations below is for WelcomeNoob-1.2-SNAPSHOT1.

config.yml

All the titles and messages now can be randomly chosen from a list of multiple possible phrases.

Welcome: This is the message broadcast across the server when a new player joins.

Example:

Welcome:

- '&6Welcome &d%player% &6to the server! &b(#%count%)'

- 'Second message here. You can add more by addding new lines with the same indentation as the parent key, beginning with hyphen and the message is closed in two quotes.'

WelcomeTitle; WelcomeSubtitle: The title displayed to the new player.

FadeIn, Stay, Fadeout: Timings for the welcome title in ticks (1 second = 20 ticks)

Example:

WelcomeTitle:

- '&6Hi &d%player%!'
WelcomeSubTitle:

- '&3Welcome to our server. Hope you'd have fun here.
FadeIn: 20
Stay: 200
FadeOut: 40

EnableFirework: A boolean sets whether firework should be launched when a new player joins.

Firework: The firework's properties. Below is a sample:

Firework:


# Flight time of the firework. Enter an integer from 0 to 128.
FlightTime: 2
Flicker: true
Trail: true
# The explosion type (0, >4: Small ball; 1: Large ball; 2: Star; 3: Creeper; 4: Burst
Type: 2
# The explosion colors
# 0: AQUA
# 1: BLACK
# 2: BLUE
# 3: FUCHSIA
# 4: GRAY
# 5: GREEN
# 6: LIME
# 7: MAROON
# 8: NAVY
# 9: OLIVE
# 10: ORANGE
# 11: PURPLE
# 12: RED
# 13: SILVER
# 14: TEAL
# 15: YELLOW
Colors: [12, 15]
FadeColors: [10]

 

Milestone: A list of integers, set the milestones to celebrate.

Example:

Milestones:
- 50
- 100
- 500
- 1000

MilestoneTitle; MilestoneSubtitle; MilestoneMsg: The title and message broadcast when a milestone is reached.

Example:

MilestoneTitle:

- '&eWe have reached &c%count% players!'
MilestoneSubTitle:

- '&3Thank you for all of your supports!'
MilestoneMsg:

- '&6The player &c#%count% &6 is &d%player%&6!'

After editing the file, reload the plugin to take effect.


 

players.yml

count: The current player count. This will increase by one when a new player joins and it is used to assign the %count% variable.

All the players that have joined the server will be listed here and will be arranged into small groups, each group is the first two letters in the usernames. For example:

qu:

  - quang_play

  - quyet_play

BF:

  - BFTB

You can change all of the above and they will take effect immediately.


Comments

Posts Quoted:
Reply
Clear All Quotes