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!]
hey, i really like your plugin
but when it says there's an update available it gives the devbukkit link with www. devbukkit doesnt have the www. just saying
@RedBowNL
Can you post the exact error?
@gabessdsp
Are you getting any errors? Does /fjp spawn take you to the correct place?
I am using v1.4 and the FirstJoinPlus spawn isn't working, and yes i have firstjoinplusspawning in the config set to true
For some reason I get the same kind of errors as samuelvisser, the /fjp items command works but on first join I get no items. And when joining it says that my version is outdated while I just downloaded v1.4
My plugin list is:
iConomy Vault ChestShop iProfessions LotteryPlus PreciousStones Towny Advanced (Towny + TownyChat + Questioner + Register) PluginsBaker
FirstJoinPlus v1.4 has been released!
Download Here: http://dev.bukkit.org/server-mods/firstjoinplus/files/8-v1-4/
Alternate Link: https://github.com/downloads/chaseoes/FirstJoinPlus/FirstJoinPlus-v1.4.jar
For those having problems please try this release. As well as a few additions (such as GeoIPTools support and the ability to force the player to run commands on first join), it contains some bugfixes and is built with the latest Craftbukkit RB to guarantee compatibility.
@Ronzi3
Sure. It'll be in v1.4.
@samuelvisser
Could you please give me a full list of all your plugins?
O, I did not see it before, but FirstJoinPlus is giving errors when I join! So not for the first time...
The error:
26.06 10:58:03 [Server] INFO ... 9 more 26.06 10:58:03 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) 26.06 10:58:03 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:616) 26.06 10:58:03 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 26.06 10:58:03 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 26.06 10:58:03 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 26.06 10:58:03 [Server] INFO at me.chaseoes.firstjoinplus.FirstJoinPlusPlayerListener.onJoinLogin(FirstJoinPlusPlayerListener.java:54) 26.06 10:58:03 [Server] INFO Caused by: java.lang.NullPointerException 26.06 10:58:03 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 26.06 10:58:03 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) 26.06 10:58:03 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567) 26.06 10:58:03 [Server] INFO at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:61) 26.06 10:58:03 [Server] INFO at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:41) 26.06 10:58:03 [Server] INFO at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:129) 26.06 10:58:03 [Server] INFO at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:132) 26.06 10:58:03 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460) 26.06 10:58:03 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 26.06 10:58:03 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) 26.06 10:58:03 [Server] INFO org.bukkit.event.EventException 26.06 10:58:03 [Server] SEVERE Could not pass event PlayerJoinEvent to FirstJoinPlus
So the same as @mozartripper and @CeramicTitan (I am using Multicraft to hoast my server, so you need to read the error from Down to Up!)
please can you add command execution on join and first join?
@chaseoes
Ok, I now made the worldname world. The command /fjp reload is now working. I can not test the items, just wait till there joins a new player :-) Naybe you can join my server to test it? Ip: 94.23.249.96:35577 or mc.samuelvisser.net:35577 Hope it is working :)
@samuelvisser
How do you know they aren't getting the items? Have you tested it? Are there any errors when they join for the first time? And again, if your config gets reset, then you're making an error in it somewhere.
@chaseoes
Ok, and the /fjp reload error?
EDIT:
beginners wil not get the stuf i defined in the config, what did i do wrong?? I did it exactly as you said
@samuelvisser
The items command isn't in the current release.
@chaseoes
Ok, it now works, if i edit the config like I want, and then restart the server, it is working But if I edit the config file, and then use the command /firstjoinplus reload the config will be made empty, and it will use the default one. Also, if I try to use the command /firstjoinplus items, there will nothing happen, so i do'nt know if the items are working (the command /firstjoinplus motd is working) Can you fix this?
@CeramicTitan
Can you post your config?
@samuelvisser
You define them on separate lines. E.g. for you,
items:
- 267.1.0
- 257.1.0
- 17.10.1
- 261.1.0
- 262.30.0
@chaseoes
yes, if there is an error, it is in the items part. how to make more items as one? I did it like this:
items: - 267.1.0, 257.1.0, 17.10.1, 261.1.0, 262.30.0
Is this a good way to do it? If I have made an error, it's this, the rest is 100% good
@chaseoes
I have the same problem as @mozartripper. Thanks
@samuelvisser
Then you're making an error in it. Check it with a YAML parser first.
Very nice, i really want this for my server. But the config part is not wworking; if I edit the config like i want, and then use the command /fjp reload The config will be made empty! And if i restart the server, the config will be resetted to the default one. Pleasy help my! I really want this plugin!