Skip to content

Latest commit

 

History

History
57 lines (49 loc) · 1.62 KB

README.md

File metadata and controls

57 lines (49 loc) · 1.62 KB

First Join Plugin v1.0.0

A minecraft plugin to be able to easily configure basic things that are executed when a player logs in for the first time

License MIT

Install

  1. Download Plugin from Spigot or Github releases
  2. Move the jar file to the plugins folder
  3. Start your server and configure in plugins/FirstJoinPlugin/config.yml

Default Config File

# Plugin replace Placeholders? (development)
placeholder-api: false

# Is used in variable %server%
server-name: "Luis's server"

# This message is always sent to all players when a player joins
msg-join:
  - "&e%player% joined the game"

############ Messages and Commands ##############
# %player% - Is replaced by the player's name   #
# %server% - Is replaced by the server's name   #
#################################################
messages:
  - "&f#############################################"
  - "&a     Hi &2%player%&a welcome to the %server%!"
  - "&6       We hope you have a good time!"
  - "&f#############################################"
commands:
  - "say Hey everyone, %player% is new here!"

# Here save serialized items
items: []

Set-up development

  1. First add the JitPack repository to your build file.
<repositories>
	<repository>
	<id>jitpack.io</id>
	<url>https://jitpack.io</url>
    </repository>
</repositories>
  1. Add the dependency
<dependency>
	<groupId>com.github.luisBazanDev</groupId>
	<artifactId>FirstJoinPlugin</artifactId>
    <version>master-SNAPSHOT</version>
</dependency>