NewPlayerAlert
NewPlayerAlert
What it does
It does a few related things in one compact package. It:
- It alerts players to a new player who joined the server
- Replaces the join, quit and kick texts (makes them fully customizable from the config.yml)
- Has an option to disable some or any of the notices
- Provides an unique player count (as part of the new player alert and on command)
- Has an optional warp-to-spawn for new players (so your spawn can be exactly where you want it)
How it works
It's simple, there's 2 files. The plugin and the config.yml (which auto generates on run and updates).
It doesn't use a database, it only stores the player count in the config.yml along with the strings it displays and the options to disable the different alerts and new player warp-to-spawn feature.
The set up
- Copy to your plugins directory
- Restart (or reload, if you insist) to generate the config.
- Make any changes to the config
- Restart (or reload) if any changes were made
- In game, run the /pc update command to update the number of players that have joined the server
- Enjoy!
The commands
The main command is /playercount or /pc for short. All the commands below can be substituted with /pc
/playercount - Lists the number of players
/playercount update - Updates the number of players that have played (Useful on first setup)
/playercount reload - Reloads the config from disk (new in v0.3)
/playercount (t or toggle) (option) - Root command to toggle the below options.
- Option would be one of the following:
newplayer - Toggles the new player announcement
returning - Toggles the returning player announcement
quitting - Toggles the player quit announcement
kicked - Toggles the player quit announcement (new in v0.3)
The permissions
There are only 2 permission nodes:
npa.noannounce - Will skip announcing their join/quit messages.
npa.admin - Has the ability to toggle the announce options and update the player count.
Usage Stats (Thanks to mcstats.org!)
Donations
If you'd like to donate, I have a link for that.
Thanks for keeping me motivated! :D
<<reply 689806="">>
The npa.noannouce just skips the announcement of that player/group when they join or leave. It doesn't stop them from seeing other's leave/joins.
And when it doesn't work, is there an error in the server.log?
Hi, I am getting announcement when I login or other people login in, even if I have the npa.noannounce:true in permissions?
Also sometimes it will announce and sometimes it doesn't, see snapshot: http://imgur.com/TsMrc This is when I set everything to false in the config.yml file and with npa.noannounce: true in permissions
I am using: permissionsBukkit 1.6 CB#2175
@maniacmusic
Thanks! Hope you enjoy it!
Nice little plugin :) Thanks for sharing.