Mineuniverse
Log in Register
Plugins

VirtualPlayers

Create virtual players for easy debugging of plugins through the console
by _ForgeUser8459491
Download Claim this project
30,736 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Admin Tools Developer Tools

VirtualPlayers

VirtualPlayers

This is a lightweight plugin for 1) debugging plugins or 2) doing commands for plugins that need players.

The virtualPlayers can take actions via commands and print out the events that are happening to them on the console. These players don't show up in game, but are just used for performing actions as if a player was there. Very useful if you don't even want to load up Minecraft, you just boot the server and debug as if you were players without even running the game.

The virtual players respond to the following commands.

Commands as Players

Commands: dc = do command, <virtual player> = the name of virtual player

  • dc <virtual player> any command you would normally do as a player
  • dc <virtual player> op : op virtual player
  • dc <virtual player> deop : deop virtual player
  • dc <virtual player> respawn : respawn the virtual player
  • dc <virtual player> disconnect
  • dc <virtual player> connect
  • dc <virtual player> reconnect
  • dc <virtual player> health <amount> : give the virtual player some health ( or kill them if 0 )
  • dc <virtual player> inv : print out their inventory
  • dc <virtual player> giveinv <item> : give them an item
  • dc <virtual player> tp <location> : teleport them to the given location ( "world,3,3,3" )
  • dc <virtual player> chat my message : have the virtual player talk in chat
  • dc <virtual player> hit <player2> [damage] : attack other players, defaults to 5 damage
  • dc <virtual player> interact <left | right> <location> : do a PlayerInteractEvent on the specified block location
  • /dc <virtual player> bpe <block> <location> : do a BlockPlaceEvent of the given material at the given location
  • /dc <virtual player> bbe <location> : do a BlockBreakEvent at the given location

Other Commands

  • /virtualplayers hideMessages : hide messages from players
  • /virtualplayers showMessages : show messages from players

Examples:

  • dc p1 spawn
  • dc p2 disconnect
  • dc p1 chat Hello Server!
  • dc p3 bpe iron_block world,310,65,700 : Place an iron_block at world,310,65,700

hideMessages

Virtual Players will print out to the console if they teleport, receive a message or tell, respawn, connect/reconnect

I usually have a text file where I type out the commands I want to do with the players then just paste all of the actions into the console

Source

GitHub

VirtualPlayers_v1.5.8
MC 1.7.4
Release 2014-04-14 Get
VirtualPlayers_v1.5.6
MC 1.7.4
Release 2014-03-27 Get
VirtualPlayers_v1.5.3
MC 1.7.2, CB 1.7.2-R0.1
Release 2013-12-31 Get
VirtualPlayers_v1.5.2
MC 1.6.4
Release 2013-09-22 Get
VirtualPlayers_v1.4.6
MC 1.6.1
Release 2013-07-09 Get
VirtualPlayers_v1.4.7
MC 1.6.2
Release 2013-07-09 Get
VirtualPlayers_v1.4.5
MC 1.5.2
Release 2013-05-03 Get
VirtualPlayers_v1.4.3
MC CB 1.5.1-R0.1
Release 2013-04-12 Get
VirtualPlayers_v1.4.1.1
MC 1.5.1
Release 2013-03-25 Get
VirtualPlayers_v1.4.1
MC 1.5.1
Release 2013-03-22 Get
VirtualPlayers_v1.4
MC 1.5.0
Release 2013-03-16 Get
VirtualPlayers_v1.3.8
MC CB 1.4.7-R0.1
Release 2013-01-17 Get
VirtualPlayers_v1.3.4
MC 1.4.6
Release 2012-12-21 Get
VIrtualPlayers_v1.3.3
MC CB 1.4.5-R0.2
Release 2012-12-11 Get
VirtualPlayers_v1.3.2
MC CB 1.4.5-R0.2
Release 2012-12-08 Get
VirtualPlayers_v1.3.1
MC CB 1.4.2-R0.2
Release 2012-12-04 Get
VirtualPlayers_v1.3.0
MC CB 1.4.2-R0.2
Release 2012-11-30 Get
VirtualPlayers_v1.2.5
MC CB 1.4.2-R0.2
Release 2012-11-07 Get
VirtualPlayers_v1.2.4
MC CB 1.4.2-R0.2
Release 2012-11-04 Get
VirtualPlayers_v1.2.3
MC CB 1.3.2-R2.0
Release 2012-10-22 Get
VirtualPlayers_v1.2.0.2
MC CB 1.3.2-R1.0
Release 2012-10-11 Get
VirtualPlayers_v1.2.0
MC CB 1.3.2-R0.1
Release 2012-09-14 Get
VirtualPlayers_v1.1.6
MC CB 1.3.1-R1.0
Release 2012-08-12 Get

More from _ForgeUser8459491

ArenaCTF
74,238
BattleBuffs
4,886
BattleShops
35,626
BattleScheduler
2,599
ArenaSpleef
226,418
ArenaPaintball
159,807

You Might Also Like

AdBolt Advertising Network
Make money from your Minecraft server by running ads!
9,992
Mineload
Mineload
9,978
BeastTP
BeastTP v1.0 - Teleportation Made Easy! -[Permissions][1317]
9,966
RegionManager
generate regions with just one command!
9,950
TimeKeeper
Keep the Server-Playtime per Day
9,948
SimpleAdmin
simple way to ban/kick unwanted players from your server
9,945