FakePlayersOnline
FakePlayersOnline
This plugin allows you to add additional fake players in your server player list, which you see when press "tab"-key in game. Fake players could be added manually or you can use NPC's name to show at player list.
This plugin is using library ProtocoLib to provide a fake information at server list menu. If ProtocolLib is not installed you will not be able to add fake players to your server.
Features
- Colorize real players name in list. In addition you can define color for name of your server admin group
- Display fake player names in list.
- Display NPC's (provided by Citizens plugin) name in list
- Add/remove fake players
- Override /list command and show same information as in TAB-list
- Fake serverlist menu to show fake counters for online players, reserverd slots and motd.
Video tutorial
Review by ServerMiner.
German Turorial by LegendSmile: http://dev.bukkit.org/bukkit-plugins/fakeplayers/pages/main/more-video/
Why do I want it?
You need to install FakePlayersOnline if you need to:
- Change color of player list
- Show a fake information about logged-in players;
- Show NPC's name to your players;
- Show an additional "moto" or short message in player list;
How to use it?
- Install FakePlayersOnline and ProtocoLib
- Add fake players in list
- Press tab key
Commands
- /fpo help - display help page
- /fpo lock - lock (and unlock) server. When server turns to locked all players will be kicked.
- /fpo real - toggle overriding real players in list
- /fpo add <fakeplayer> - add fake player to list
- /fpo join <fakeplayer> - add fake player to list and broadcast join-message
- /fpo del <fakeplayer> - remove fake player from list
- /fpo leave <fakeplayer> - remove fake player from the list and broadcast leave-message
- /fpo list - display fake playerlist
- /fpo fake - toggle displaying fake players in list
- /fpo npc - toggle displaying NPC's names in list
- /fpo serverlist - toggle fake online info at server list menu
- /fpo slots [fake reserved slots] - toggle faking the reserved slots counter or set it's value
- /fpo listcmd [command1,command2..] - toogle using the /list command overriding, or define /list command aliases
- /fpo online [fake players online] - toggle faking the fixed online counter or set it's value
- /fpo motd [MOTD] - toggle using the alternative MOTD or set it's value
- /fpo cfg - display current configuration
Permissions
- fakeplayers.config - allows to use all commands of the FakePlayersOnline
- fakeplayers.canseehidden - players with this permission will see name of hidden players in list (FakeQuit, Vanish, etc...)
- fakeplayers.red - will color name of players with same permission to red (by default, or any other color defined in config)
- fakeplayers.unlock - allows player to ignore lock-state of server (can connect to locked server, will not kicked after /fpo lock command)
Metrics and update checker
FakePlayersOnline includes two features that use your server internet connection. First one is Metrics, using to collect information about the plugin (versions of plugin, of Java.. etc.) and second is update checker, checks new releases of FakePlayersOnline after plugin startup and every half hour. This feature is using API provided by dev.bukkit.org. If you don't like this features you can easy disable it. To disable update checker you need to set parameter "version-check" to "false" in config.yml. Obtain more information about Metrics and learn how to switch it off, you can read here.
Like this plugin?
You can buy me a chocolate!
- Plugin downloads: 70000
- Chocolates received: 2
@gumgumpuntnl
Yes I'm going to add Citizens2 support in future veriions.
@fromgate
Could you please add support for Citizens2?
@99IRock
Hello! Implemented in version 0.1.5 (you can define any command to override in config.yml).
P.S. This version is just uploaded, so we need wait for approval.
Evil but AWESOME!!!
@aadnk\ Thank you for information :)
@TheAtreidius
I believe this is an issue in ProtocolLib, which was fixed in version 3.2.0. :)
Can this also fake the essentials /who ?
The server list count seems to only work some of the time.
If I refresh it several times, some times I'll see the fake player count + updated motd, others I'll see what would normally be there.
Is there a way to make it always show the fake versions?
In any case, thanks for making this plugin.
There isn't the second line of MOTD. Please fix it.
Would it be possible to use this with BungeeCord?
@sadsad891
You using Citizens2, but FPO supports only Citizens 1.2.x. Disable npc-support in config.yml
07.01 01:35:20 [Server] INFO ... 3 more 07.01 01:35:20 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) 07.01 01:35:20 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftTask.run(CraftTask.java:58) 07.01 01:35:20 [Server] INFO at me.fromgate.fakeplayersonline.FakePlayersOnline$1.run(FakePlayersOnline.java:207) 07.01 01:35:20 [Server] INFO at me.fromgate.fakeplayersonline.FakePlayersOnline.fillNPCList(FakePlayersOnline.java:197) 07.01 01:35:20 [Server] INFO at me.fromgate.fakeplayersonline.FPOCitizens12x.getNPCList(FPOCitizens12x.java:35) 07.01 01:35:20 [Server] INFO Caused by: java.lang.NoClassDefFoundError: net/citizensnpcs/api/CitizensManager 07.01 01:35:20 [Server] INFO at java.lang.Thread.run(Unknown Source) 07.01 01:35:20 [Server] INFO at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 07.01 01:35:20 [Server] INFO at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 07.01 01:35:20 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) 07.01 01:35:20 [Server] WARN org.apache.commons.lang.UnhandledException: Plugin FakePlayersOnline v0.1.4 generated an exception while executing task 84 07.01 01:35:20 [Server] WARN Exception in thread "Craft Scheduler Thread - 31" 07.01 01:34:32 [Disconnect] User sadsad891 has disconnected, reason: Internal Exception: net.minecraft.util.io.netty.handler.timeout.ReadTimeoutException
@WithGuns
I think you using Citizens 2. But supported only Citizens 1.2.x. Disable NPC-support in the config.yml.
@mkezar Source code is here https://github.com/fromgate/FakePlayersOnline
@foofooarmy
@foofooarmy I also occasionally observe the same effect. I think it's a ProtocolLib issue, FakePlayersOnline just handles protocollib's event. I will perform some tests, hope this will be fixed soon (in FPO or in ProtocolLib :))).
[09:15:03 WARN]: org.apache.commons.lang.UnhandledException: Plugin FakePlayersOnline v0.1.4 generated an exception while executing task 38 at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.NoClassDefFoundError: net/citizensnpcs/api/CitizensManager at me.fromgate.fakeplayersonline.FPOCitizens12x.getNPCList(FPOCitizens12x.java:35) at me.fromgate.fakeplayersonline.FakePlayersOnline.fillNPCList(FakePlayersOnline.java:197) at me.fromgate.fakeplayersonline.FakePlayersOnline$1.run(FakePlayersOnline.java:207) at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) ... 3 more
@fromgate
Im using protocolLib but when ever I go to the Minecraft server list it shows 33/100 but when I refresh then it counts the fake players. Any way to fix this?
Do you provide the source code for download for hobbiest to tinker with? I understand completely if you do not.
@foofooarmy
Read the command section in description :) You can find here:
So, if you want to set motd to "new motd" you must type:
/fpo motd new motd!
And, of cause, you can edit this line in the config.yml
Hey @fromgate ,
Is there anyway to remove the FakePlayersInstalled MOTD because I post the server website there.
@fromgate
Thanks, I'm using Citizens 2. I'm going to disable it and test again.
In a future release, can you support Citizens 2 also?
@gumgumpuntnl
Do you using plugin Citizens. FPO is compatible with Citizens 1.2.x. If you using Citizens 2, disable NPC-support at config.yml