FirstJoinPlus
FirstJoinPlus allows you to control every aspect of when new players join. Give new players a starter kit, a special spawn location, have the console run commands, launch fireworks, and more!
Existing players won't get told they joined for the first time after installing this.
- Announce that a new player has just joined (optionally with the amount of unique players that have joined!).
- Launch a firework or show a cool smoke effect.
- Give the player a written book with welcome information (example book here)!
- Give a starter kit with items defined in the configuration.
- Force the player or the console to run configurable commands.
- Set the player as invincible (from everything, including PVP) for a pre-defined amount of time.
- Much more, check out the configuration below!
- New players not spawning at the first join spawnpoint?
You have a conflicting plugin. Set the 'delay-everything-below-by' value in the configuration to a higher value, such as 5 or 10 (this option is set in ticks).
- Want this plugin to kick in for every join instead of only first joins?
Set 'every-join-is-first-join' in the configuration to true - this will treat every join as a first join. Great for hub servers as you can have the player teleported back to spawn every join, launch a firework every join, and you can set the join and quit messages to %none to completely hide them.
- The display name variable is using their normal name and not their display name?
This means another plugin is setting the display name after FirstJoinPlus is getting it, despite FirstJoinPlus using a normal priority. Set the 'delay-everything-below-by' value in the configuration to a higher value, such as 5 or 10 (this option is set in ticks).
- Is it possible to do X in the first-join starter kit?
The starter kit functionality has been left as simple as possible. You can only give items based off of their names and set the amount to give, as shown in the default configuration. Things like setting data values, display names, lore, etc isn't possible, simply because I want to leave this plugin as a first-join plugin and not a kit plugin.
If you need to do more, I suggest finding a fully featured kit plugin, and using it alongside FirstJoinPlus by having FirstJoinPlus run a command from that kit plugin on first join.
Command | Description | Permission |
/firstjoinplus | Show general plugin information. | (none) |
/firstjoinplus help | Show all available commands. | (none) |
/firstjoinplus reload | Reload the plugin's configuration. | firstjoinplus.reload |
/firstjoinplus setspawn | Set the location where new players will spawn. | firstjoinplus.setspawn |
/firstjoinplus debug | Test your configuration as a new player. | firstjoinplus.debug |
The command /fjp can be used as an alias in place of /firstjoinplus. All commands default to OP's, no permissions plugin required!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | # FirstJoinPlus Configuration -- Configuration Help: http://dev.bukkit.org/bukkit-plugins/firstjoinplus/ # settings: allow-automatic-updating: true every-join-is-first-join: false on-first-join: delay-everything-below-by: 0 first-join-message: enabled: true message: '&d%player_name has joined for the first time!' fun-stuff: play-sound: enabled: true sound-name: entity_player_levelup listen-permission: firstjoinplus.notify smoke-effect: enabled: true launch-firework: enabled: true first-join-kit: enabled: true items: - wood_sword - wood_pickaxe - wood_spade - wood_axe - bread:5 give-written-books: enabled: false book-files: - rules.txt give-experience: enabled: false level-amount: 0 modify-damage: disable-pvp: enabled: false expire-after: 10 god-mode: enabled: false expire-after: 10 run-commands: enabled: false commands: - me just joined for the first time! run-console-commands: enabled: false commands: - setgroup %player_name newbies apply-potion-effects: enabled: false effects: - SPEED:1:15 send-messages: enabled: false messages: - '&2Welcome to our server, %player_name! Customize this message in the FirstJoinPlus configuration.' - '&6http://dev.bukkit.org/server-mods/firstjoinplus/' reset-state: enabled: false teleport: enabled: false x: 0 y: 64 z: 0 pitch: 0 yaw: 0 world: world other-messages: join-message: enabled: false message: '&e%player_name joined the game.' quit-message: enabled: false message: '&e%player_name left the game.' kick-message: enabled: false message: '%none' |
Configuration Tips
- The delay-everything-below-by option is set in ticks, while the disable-pvp and god-mode expiration options are set in seconds.
- Click here for a list of valid material names you can use in the first join kit section.
- Click here for a list of valid potion effect types for the first join potion effects section.
- A list of valid sound names for the notify on first join section is available here.
Available Variables
Variables are used throughout the configuration to display different text (see the description).
Variable | Description |
%player_name | The name of the player. |
%player_display_name | The display name of the player. |
%player_uuid | The UUID of the player. |
%total_players | The number of unique players that have joined. |
%random_player | The name of a random online player. |
%random_player_display_name | The display name of a random online player. |
%none | Used in join, quit, and kick messages to completely disable them. |
%player_country | The player's country (GeoIPTools required). |
%player_city | The player's country (GeoIPTools required). |
Please click here to donate and support the development of my plugins!
We include an auto updater that checks if there is an update available and/or downloads the latest version for you. It is enabled by default. You may disable this in the configuration.
We use Metrics to collect anonymous usage stats such as the plugin version, server version, and amount of players online. If you want to see everything, click on the graph above. You may disable data collection in the Metrics configuration.
[ONELINER:FirstJoinPlus allows you to control every aspect of when players join for the first time. Give starter kits, experience, a special spawn location, a group, and more!]
FirstJoinPlus v1.2 Released!
Go check out all the amazing changes and download it now! http://dev.bukkit.org/server-mods/firstjoinplus/files/5-v1-2/
Everything I addressed in my comment below has been fixed!
Sorry for the lack of response! I'm working on a new version!
@efstajas
Sure, I'll fix that and a related bug in v1.2, which should be out in the next few days.
@Xerati
I'll look into adding this into v1.2 for you, shouldn't be a problem.
@Lextao
Hmm, it may be possible. I'm not sure how it will work out though since whatever plugin you use to set display names might not set their display name before my plugin tries to make use of it.
@j2ther
Alright, I'll look into fixing this in v1.2.
Could you add an option which tells this plugin to totally stop doing anything with the messages if the player didn't join for the first time? I have a chat plugin which changes the login messages already and when I set this to not display messages it also hides the other plugin. :(
%number% doesn't work in the OnFirstJoin section... I didn't want a 'separate' message for the unique number of players, nor did I want it every time any regular joined, so I tried to put it in the FirstJoin message, but it just comes up as %number% :(
@chaseoes
Yes, the new settings will take effect after a restart.
Please add option to show Players displayname insted of username in the join/quit/kick messages? thanks!
@j2ther
Do the config settings take effect after you restart the server?
I'll look into more than one item.
The reload command doesn't really reload the config :P new config settings won't take effect. Also how do you add more then one item into the config?
Cool plugin thanks :D
@tmad40blue
Unfortunately that can't be the case. This does not handle spawning at all yet, that section in the config is just preparing for the next release, in which I hope to include it.
Can we disable the first-spawn? I already have another plugin that does it beautifully, and this seems to conflict.
Plugin confirmed to be completely working with the recent 1.2.4 development builds of Bukkit!
@iPencil
Thanks! :D
Good job! ;)
@Qwahchees
Yep, that's actually in version 1.1 (see my post below)! I've uploaded the file, it's just waiting to be approved. As soon as it is you'll be able to download it here: http://dev.bukkit.org/server-mods/firstjoinplus/files/4-v1-1/
Hi chaseoes, great plugin first of all!
Could you please make it so there's an option to disable join/kick/leave/welcome messages?
I'm using this plugin to have welcome messages, but would like the rest disabled.
@tmad40blue
Thanks! I'll look into adding spawn point customization in the next release. I just uploaded version 1.1 which includes options to turn most features on/off, ability to give new players a configurable item on first join, and an option to show the total amount of players who have joined, as well as some other things. It should be approved soon.
As always, please give me your suggestions/bug reports. :)
Awesome functionality already. The nay-sayers who say "just get Essentials" don't realize that not everyone wants a gigantic plugin suite taking over control of their server...
Perhaps this could be turned into an all-inclusive "first join" plugin – not just the message, but also a proprietary spawn point, giving items on first join (as has already been suggested), etc. I'm excited :D
@Darkhand81
Great idea! I'll see if I can get it added.
I'd love the ability to give new players a configurable item (along with a configurable data value)!