PerWorldWelcome
What does it do?
This plugin will inform players when a player joins or leaves the world they are currently in. This will only happen in that specific world. A server join message will also be broadcast, only in the world where the player joins. The same applies for leave messages. There is also an option to broadcast a first world/server join message. The messages are fully customizable, there is also an option to make the join/leave messages be broadcasted globally.
Config
The configuration file will by default look like this:
#For these messages you can also use {WORLD} to get the name of the joined or left world, WORLD2 is only supported for global messages join-message: "&9%PLAYER% joined this world!" leave-message: "&9%PLAYER% left this world!" first-join-message: "&9%PLAYER% joined this world for the first time!" join-server-message: "&9%PLAYER% joined the game!" leave-server-message: "&9%PLAYER% left the game!" first-server-join-message: "&9%PLAYER% joined the server for the first time!" global-message: "&9%PLAYER% joined %WORLD%, leaving %WORLD2%!" global-first-join-message: "&9%PLAYER% joined %WORLD% for the first time!" global-first-join-server-message: "&9Welcome %PLAYER% to the server!" #If you don't know what this does leave the defaults broadcast-globally: false error-broadcast: true first-join-server-message: true first-join-world-message: true #World grouping will make that messages for player world joins (so also # first join messages) will be broadcasted in world_nether and world_the_end. # If world grouping is enabled, player join messages will be broadcasted to all players in world, world_nether and world_the_end, # where 'world' is of course the name of the world. # If world grouping is not enabled, old behaviour will be used. world-grouping: true
#Will suppress join/messages when moving between nether/overworld, end/overworld, vice verse
world-grouping-suppress-nether-end: true
These values are all self explanatory.
World grouping
Since version 1.2.0 the plugin also contains a feature called world grouping. This feature will group certain world together, so that means that world, world_nether and world_the_end are grouped together. If world grouping is enabled and global messages are disabled. Join/Leave world/server and first join messages will be broadcasted in the worlds that are grouped together.
Commands
The plugin currently only has one command: /pwwtoggle. This command will toggle the functionality of the plugin. This means that all sorts of messages will be disabled. When the functionality is turned on again, the config files will be loaded again.
Permissions
This plugin has two permissions:
- perworldwelcome.receiveerrors: This permission will inform the permitted players about errors when loading. This will happen when this player joins.
- perworldwelcome.toggle: This permission will allow the permitted player to toggle the functionality of the plugin on or off, as described in the command reference.
What's in the works?
We are currently working on expanding the functionality of this plugin even further, which will include making everything less 'global'. This will include functionality to limit death messages to only one world. The same goes for all messages that are broadcasted server wide according to vanilla behaviour.
Other
For the changes in each version, take a look at the changelog.
You can find the source on github.
All is working on 1.11.2 tested on spigot 4 Juny 2017
Suggest: add an option to choise turn of / turn on reports on each world.
@TheRealKS123
All is working now :)
Please check the latest build
@TheRealKS123
Still isn't fixed, still says player has join the world for the first time.
@TheRealKS123
Or wait. I messed up. I discoverd the issue and resolved it. That version is now available on github, and I have submitted it to bukkit dev for approval.
@XxDawnsusxX
Can you post the 'players.yml' file? This file should be in the data folder, then folder 'players'. This file should contain a node of that player, and under that there should be all the worlds that the player has played on.
Yeah unfortunately it will keep saying Player has joined the world for the first time, even though they've played on that world.
@XxDawnsusxX
It's only displayed when a player joins the world for the first time. As long as you don't unset that player in the players.yml file. :) EDIT: I will update the documentation when the release version arrives. That should make everything clear
@TheRealKS123
All is working now :) Aswell the first-join-message, is that always meant to pop up on world changes? Or is it meant to be like the first-server-join-message for worlds? Cause I'm hoping it's applied when players join a world for the first time.
@XxDawnsusxX
Can you try it again, this time with the file from here? https://github.com/TheRealKS/PerWorldWelcome/releases/tag/1.2.0
Just an error now. http://pastebin.com/SguA6EUn
@XxDawnsusxX
Yes, that's a very good idea! Will add those features over the next couple of days. The grouping will be configurable then.
Okay almost to the point of my satisfaction. Could there be a possibility a perworld first time message? Since the players don't see players joining the server Eg. First time joiners, but if they join their world they can see the join message. Are you able to add a first time welcome message? It wont be displayed on every world they join, but for only the players to see when they join the worlds of other players. So would be something configurable like "It's {Player}'s first time playing in {World}". Edit: Aswell, can you have it so some worlds are also grouped (world, world_the_end, world_nether).
Pretty cool how you've done this. This is near what I wanted, but are you able to make it so the join message only broadcasts if a player joins in a world. Basically when they join the server and whatever world they're in, it will broadcast the join message to only those people who are in the players world.