PlayerManager
PlayerManager v1.8.3
What is it good for?
PlayerManager lets you manage your players more efficiently. You can set various properties per player, force them to read the /rules, let them /report other players if they see them doing something bad, mute them, turn them into fakeops, show information or look up the stored information in plugins/PlayerManager/PlayerLog.yml. It's almost fully configurable.
This plugin has been abandoned!
Sorry to all those who'd like to see more of this plugin but I neither want to nor do I have the time to update it anymore. If you would like to make a continuation or take over the development, feel free to use PlayerManager's code on GitHub and send me a PM when you're done so I can include a link to your thread here.
Features
- Show information about a player:
- His name, IP address, world
- The last time he logged in/out
- His money and permissions group (requires Vault)
- And much more...
- Set various properties such as flying allowed or not, health/food/exp level and the name.
- Mute spammers
- Censor configurable bad words
- Do you know those people joining a server and first thing they do is asking to become OP? The /fakeop commands are made just for you!
- Force players to read the rules! Let them type /rules and then /acceptrules.
- Configurable auto-executed commands
- Prevent configurable actions before they typed the commands
- Command whitelist. Only defined commands are allowed before accepting the rules.
- Teleport them somewhere else as soon as they type /acceptrules
- Let your players report other people!
- Auto-execute commands, auto-kick or auto-ban at a configurable amount of reports
- Cooldown for /report
- As an Admin, /check a report to see what happened, or /checktp to directly teleport there.
- Type /apologise to delete a report. Just in case your players like to "play" with the /report command.
- Set custom join/quit messages
- Supports Rei's minimap (configurable)
- Logs information to plugins/PlayerManager/PlayerLog.yml
- Optional botBlocking; You may not want to use it...
Installation
Download the latest version, drag'n'drop it into your /plugins/ folder and start your server (or /reload it). Edit the config.yml which will be generated in plugins/PlayerManager/ and type /pman reload. Done.
Need help for the config file?
It's self-explanatory. The default config.yml file can be found here: >>Click me<<
List of all Commands and Permissions
Can be found >>here<<
Planned Features
- 1 - MySQL support
- 2 - Some more stuff concerning Vault. Any ideas?
- 3 - Server maintenance: Keep all players without a specific permission away.
- 4 - configurable polls, your players could /vote for an option then.
- 5 - /helpMe command, the player and his problem would be added to a list. An Admin types an other command, is teleported to the player needing help, and the player is removed from the "duty list".
- 6 - special login/logout effects. Configurable per-player. Explosion, lightning, thunder sound, wheather changes...
- 7 - Make the BotBlocker better, bind one name to one IP and vice-versa...
- 8 - Add more ways to annoy fakeops. Please comment if you got any ideas.
@D347HxD
Well that error kind of confuses me. PlayerManager itself seems to be generating an error in the config.yml. Change the config option
to
and it should work fine. The error is caused by the two apostroph ( ' ) between the square brackets.
Since I'm already writing something I'll just continue: I'm currently working on PlayerManager v2.0 which will include a huge number of bug fixes since I'm rewriting great parts of the code (it's my first plugin. Everything's buggy and messy). MySQL support will also be included. I'm aiming for the second Bukkit 1.4 Beta Build or the first Recommended Build.
Sincerely, Mephilis7
Saw this plugin and figured out the /report part of it is exactly what I needed... is there a way for me to get it by it self and none of the extra features? I tried to deal with it all and pick what seems interesting, but get this... huge... error.
http://pastebin.com/aTZx1sFW
Yes, I was thinking of including support for most (if not all) of the common databases. Still struggling with it, it's extremely buggy at the moment. Won't release any new version until it's usable.
Hello everyone,
The next update for PlayerManager will support MySQL databases. I'm trying to get the code for it working, and it seems to be fine so far. Nevertheless I'm going to need some testers with an average (10-50 players) server size. So if you want to help me, just send me a PM. The pre-release will be sent to you as soon as it's useable and more or less bug-free.
I estimate PlayerManager v2.0-pre to be finished by the 14th of September at the latest. The final release should follow about three or four days later and will include the /helpme command.
Sincerely, Mephilis7.
P.S.: PlayerManager got 300 downloads during the past two days. You guys are amazing.
I spent a lot of time on testing that part out. I can't confirm any players being killed, neither do the people who received v1.8.3 earlier for testing purposes.
So either it is because of the commands you specified in the config.yml or it's incompability with a plugin you have installed.
Now, two things: go to any safe place where you can't hit any walls and type /pman srtp. Then go to the playerlog.yml and set HasAcceptedRules for you to false. Then edit the config.yml and replace your own commands with this:
'give %NAME 5 1|pman set xp %NAME 3'
Type /pman reload and type /acceptrules, then /rules, then accept again.
If you die, tell me HOW. If not, then my plugin's innocent x3
P.S.: I ran around half of my spawn island and didn't take any damage. I died once, but that was because I had turned the /rules commands off before and wanted to see whether PlayerManager can handle players behind the specified "border". PlayerManager teleported me into a wall, the hill in the middle of the spawn island. But if your players never get behind that Move[x] border (which is impossible except they get teleported by an other plugin or you turn the /rules commands off for a while, then back on), then that won't happen.
By the way, you should use v1.8.3 to test that bug.
My players are still getting killed when trying to go through the /rules and /accept rules process. I think it is if they move before accepting rules it kills them or something, I haven't had a lot of time to do the testing myself.
Good day everyone.
v1.8.1 is awaiting approval, but as you can see from the ChangeLog page, I fixed those bugs causing severe problems, and even a few more.
I'd like to thank all those people supporting me by reporting bugs. Since my public server had to go offline, you are the only way for me to test PlayerManager at harder conditions than just one little developer being lonely on a test server. Once more, thank you, and have fun with the (hopefully) bug-free version of PlayerManager!
Edit: Found some more minor bugs. v1.8.1 still hasn't been approved, so I'll just update to v1.8.2....
@Namulator
That's a very serious and weird problem. The only thing that should happen when they try to accept the rules without looking at them first, is a message shown to them. I also don't know what (or what part of the code) could be removing them from the database. These things come completely unexpected and I'll take a very close look at every single change I made to exterminate that (or those) bugs ruining your player's gameplay experience.
Anyway, thank you very much for reporting those bugs and offering your help. I'll tell you if I got v1.8.1 working and need someone to test it.
Best regards, Mephilis7
P.S.: Your list of commands seems to be fine. WTH is going on with my plugin...
Thanks. I will test that out in a bit to see if that works. I disabled the plugin because it was causing to much problems for the users.
RulesExCmd: 'give %NAME stonesword 1|give %NAME stonepickaxe 1|give %NAME stoneaxe 1|give %NAME cookedchicken 5|give %NAME log 2|give %NAME stoneshovel 1|say WELCOME %NAME TO THE SERVER!'
I also noticed something else. I went to look at the PlayerLog.yml file, and almost none of the users are listed anymore. Yesterday I saw over a dozen entries for layers, now there is only two. I don't want players to have to accept rules every time they login, just the first time they join the server. I also got a complaints from users that if they tried to move or use commands in the wrong order that they either die, get close to death, or loose their inventory. One player logged in and typed /acceptrules before looking at the rules and lost all of their inventory. I had to get them to log out, put their player data file backup into place, then have them relogin with typing /rules and then /acceptrules before it worked. They already accepted the rules once, so I think something is going on with the accept code which could be causing a problem, and something is removing players from the log. Until these bugs are fixed, unfortunately I cannot use this plugin. Thanks, and I hope to they get fixed soon. If you need testing done, let me know, I don't mind helping.
@Namulator
It's all the very same bug. PlayerManager always wants to get that fakeop list, but it doesn't exist. And, silly me, I gave you the wrong code to fix that.
Would be the right thing. /fakeop doesn't work because it wants to get that list aswell. If you find any more bugs, please tell me. I'd like to release v1.8.1 as soon as possible. Also, there seems to be something wrong with the list of commands you want to be executed when someone types /acceptrules. Could you please just send me the string you wrote down in the config.yml file?
When I added the FakeOps: to the yml file and load the server up, it gets removed from the file.
When I try and use the /fakeop command I get the following error...
Also, I am getting a requirement a crap load of stuff flooded to my console when people have not accepted the rules and attempt to. The accept rules works, but a whole bunch of garbage is flooded to my screen...
It floods my console with like hundreds of these messages.
@Namulator
Uhm yeah... I figured out what's wrong with it. PlayerManager tries to check whether you are a fakeop and wants to get a list of all fakeops... But that list doesn't exist. So either simply /fakeop and /fakedeop someone once or go to the PlayerLog.yml and add
FakeOps:
to the very bottom without any spaces in front of the word. I'll update PlayerManager to stop that error from occuring at any occasion, too.
Actually, it didn't kill Towny, I figured out what happened with it, just coincodence... but I am seeing that error still.
I keep seeing the following error, towny stopped working, probably because I see this error every time I type in a towny command...
At all those people wondering whether PlayerManager is still active:
Yes it is! Sorry for the huge delay since the last update, but I had lots of other stuff to do. The update for v1.3.1-R1.0 will be uploaded within 48 hours. Still got some testing and bugfixing to do.
@Galzek
What version of PlayerManager were you using? I couldn't find an error in my code.
In v1.7, I fixed two bugs concerning showing/hiding players. I can't remember, but I think one of them did exactly what you described...
And thanks, I'm trying to make it even better ;)
@Galzek
scratch that, it works...it just shows the argument thing. Love this plugin
@Galzek
When I type /pman show PlayerName it says it doesn't have enough arguments