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!]
2012-06-27 20:48:45 [SEVERE] java.lang.NullPointerException 2012-06-27 20:48:45 [SEVERE] at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:34) 2012-06-27 20:48:45 [SEVERE] at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:162) 2012-06-27 20:48:45 [SEVERE] at net.minecraft.server.Packet254GetInfo.handle(SourceFile:16) 2012-06-27 20:48:45 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) 2012-06-27 20:48:45 [SEVERE] at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:48) 2012-06-27 20:48:45 [SEVERE] at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:61) 2012-06-27 20:48:45 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551) 2012-06-27 20:48:45 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449) 2012-06-27 20:48:45 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
And another problem: when a player enters the %name% works well, just prints the Player name, but when he leaves, the %name% prints also the preffix and suffix of the PEX permissions.
And the outdated message does not go away even with server restart.... about the error, i'm not sure, i think it does don't really have time to check it out now since i have to work in a few moments
saw the error in the config, changed it now can you read it now?
@RedBowNL
I meant the error, not the outdated message. The outdated message should be gone if you restart your server. Could you put your config on a site such as pastebin.com instead, too? I can't really read that.
Yes it happens everytime i join it just says your version of firstjoinplus is outdated get the new one from....
here my config
FirstJoinPlus v1.4 Configuration
Please see https://github.com/chaseoes/FirstJoinPlus/wiki/Configuration # settings:@gabessdsp
Hmm, I'll look into if it supports extra worlds. If not I'll push an update soon to fix that.
@samuelvisser
I joined your server earlier when you weren't on and I received items upon my joining. Seems to work now.
@chaseoes
No I am getting no errors, and yes /fjp spawn takes me to the right place. I do use essentials though and maybe that has something to do with it? Or Multiverse? I run several different worlds and the spawn is in a separate world than my default world.
@chaseoes
It is not giving an error anymore and the command /fjp items is working. Can you test if you are also getting the items? I do not get new players so much times...
@Legendoniance
Yup, just set 'firstjoinmotd' in the config to false.
@mickverm
Does it happen every time you leave or did it only happen once? And can you post your config for me to look at?
@RedBowNL
Does it happen every time you join? Can you please post your config?
@chaseoes
i havent changed the message, its still the default message.
and it still said ingame that my version of firstjoinplus is outdated
This is what i get when i join:
[SEVERE] Could not pass event PlayerJoinEvent to FirstJoinPlus org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460) at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:132) at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:129) at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:41) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:61) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NullPointerException at java.lang.String.replace(Unknown Source) at me.chaseoes.firstjoinplus.FirstJoinPlusPlayerListener.format(FirstJoinPlusPlayerListener.java:241) at me.chaseoes.firstjoinplus.FirstJoinPlusPlayerListener.onJoinLogin(FirstJoinPlusPlayerListener.java:73) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ... 9 more
hey there @chaseoes , im rather new to plugins and i would like to know more about your plugin. im really a config noob. is there anyway to disable the message of the day from your plugin? as i already have a motd plugin ongoing and your plugin somehow justs overrides my motd plugin. anyway to disable your plugin's motd within the config?
RSVP
-Mark
@samuelvisser
Could you update to v1.4 and see if the error still exists (and if it does, post the new one)?
@chaseoes
Ok, here are my plugins:
AutoSneak, BKCommonLib v1.21, BomberCraftPlus, ChangeGameMode-3.1, ColoredSigns, ConsoleCommand_v1.02S, CraftBukkitUpToDate, CreativeKill, CreeperHeal, CreeperTrap, EORC, Essentials, EssentialsChat, EssentialsSpawn, FirstJoinPlus-v1.3 (not updated yet), InvisibleBlock, iZone, Lift-13, LogBlock, LoginMessage, LWC, MobDisguise, MyWorlds, OpenInv (This one is new, FirstJoinPlus did also not work without it), Permissions, PermissionsEx, PickBoat-0.4, RailDriver-0.2, RedstoneMania, ScheduledAnnouncer, ServerSigns, SetRankPEX, SimpleAFK, SimpleSpleef, SnowBallNextDoor (30), TrainCarts, Vault, WorldEdit and ZeeSlag
Ok, this are all :-)
@mickverm
I mean the exact one you have set in your config.
@chaseoes
i think its "... left the game" its hard to tell when you get disconnected yourself =S
@mickverm
Can you post what you have for your quit message?
i got this error:
@mickverm
That's interesting. Thanks.