VirtualPlayers icon

VirtualPlayers -----

A plugin that allows you to create virtual players for easy debugging of plugins through console or



NOTE: This project has moved to Modrinth. All future updates will be posted there and this page will no longer receive updates. Content on this page may be outdated!

VP.png
VirtualPlayers
This is a lightweight plugin for:
  1. debugging plugins
  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 (Virtual players need to connect before being able to issue any commands)
  • 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
Help
You can ask us questions in real time on Discord when we're around. Please stick around if you don't get an answer right away. Most of us have lives and only check Discord occasionally. :)

[​IMG]


Credits:
This plugin was Originally Developed by: alkarinv , lDucks , and Europia79. All credits for the original VirtualPlayers go to them. :)

Sponsor:
[​IMG]
Please do not put bug reports, inquiries, errors, or issues in the reviews section. Please open a new issue on GitHub, use the discussion thread, or join the Discord server if you need help.
Resource Information
Author:
----------
Total Downloads: 1,598
First Release: Jul 19, 2019
Last Update: Jun 24, 2024
Category: ---------------
All-Time Rating:
8 ratings
Find more info at battleplugins.org...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings