Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
VirtualPlayers

VirtualPlayers

A Minecraft plugin for Paper servers that allows you to create virtual/fake players for easy debugging of plugins through console or in-game.

778
12
Library
Management
Utility
AboutGalleryChangelogVersions

VirtualPlayers by BattlePlugins

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

VirtualPlayers is a plugin designed for developers and server admins to easily test and debug plugins that require multiple players. Virtual players are non-existent in-game, and are only accessible through console or chat, meaning they will be invisible on the server list, player count and in-game.

VirtualPlayers will also work with many large Minecraft plugins, such as WorldEdit, allowing you to perform actions that are typically reserved for online players, but through a console. Virtual players can also be managed in-game, or through other command senders, such as command blocks or signs.

Features

  • Run commands as a virtual player through console or chat
  • Send messages as a virtual player through console or chat
  • Teleport a virtual player to a specific location
  • Op/de-op a virtual player to test command execution
  • Attack a real player as a virtual player to test combat mechanics

Commands

Command Description
/vp create <name> Creates a new virtual player.
/vp remove <name> Removes a virtual player.
/vp removeall Removes all virtual players.
/vp select <player> Select a virtual player.
/vp observe <player> Observes a virtual player.
/vp unobserve <player> Unobserves a virtual player.
/vp list Lists virtual players.
/vp verbose [player] [true|false] Toggles verbosity for the virtual player.
/vp teleport [player] [location] Teleports the virtual player to a location.
/vp command [player] <command...> Runs a command as a virtual player.
/vp chat [player] <message...> Sends a chat message as a virtual player.
/vp op [player] Ops the virtual player.
/vp deop [player] De-ops the virtual player.
/vp attack [player] <target> [damage] Attacks another player as this virtual player.

Permissions

Permission Command
virtualplayers.command.help /vp [help]
virtualplayers.command.create /vp create
virtualplayers.command.remove /vp remove
virtualplayers.command.removeall /vp removeall
virtualplayers.command.select /vp select
virtualplayers.command.observe /vp observe
virtualplayers.command.unobserve /vp unobserve
virtualplayers.command.list /vp list
virtualplayers.command.verbose /vp verbose
virtualplayers.command.teleport /vp teleport
virtualplayers.command.command /vp command
virtualplayers.command.chat /vp chat
virtualplayers.command.op /vp op
virtualplayers.command.deop /vp deop
virtualplayers.command.attack /vp attack

Developer Guide

VirtualPlayers offers an API for developers to use. Please see the Developer Guide for instructions on using the API.

Links

  • Website: https://www.battleplugins.org
  • Discord: BattlePlugins Discord
  • Donate: BattlePlugins Patreon

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.21.x
1.20.6

Platforms

Paper

Supported environments

Server-side

Links

Report issues View source Visit wiki Join Discord server
Donate on Patreon

Creators

BattlePlugins
BattlePluginsOrganization

Details

Licensed GPL-3.0-only
Published last year
Updated 6 months ago

Modrinth is open source.

main@58dac27

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.