promotional bannermobile promotional banner

VirtualPlayers2

VirtualPlayers2

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

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

The VirtualPlayers2 Team

profile avatar
  • 3
    Projects
  • 21.1K
    Downloads
Donate

More from Kalashnikov79View all

  • BattleArena project image

    BattleArena

    • 74.6K
    • Bukkit Plugins

    A complete match and event framework for creating arenas and minigames in Minecraft. Supports creating modes through config files, or fully custom modes through plugins.

    • 74.6K
    • July 31, 2020
    • Bukkit Plugins
    • +4
  • BattleTracker 2.0 project image

    BattleTracker 2.0

    • 9.9K
    • Bukkit Plugins

    A standalone plugin and companion to BattleArena that tracks PVP & PVE statistics along with a suite of additional combat features to enhance server gameplay.

    • 9.9K
    • December 13, 2019
    • Bukkit Plugins
    • +4
  • HostageArena project image

    HostageArena

    • 3.5K
    • Bukkit Plugins

    One team guards the hostages: the other team attempts to rescue the hostages to the extraction point.

    • 3.5K
    • June 19, 2016
    • Bukkit Plugins
    • +1
  • BombArena project image

    BombArena

    • 6.9K
    • Bukkit Plugins

    Two teams fight over a bomb in order to destroy the other team's base.

    • 6.9K
    • April 22, 2016
    • Bukkit Plugins
    • +1
  • BattleArena project image

    BattleArena

    • 74.6K
    • Bukkit Plugins

    A complete match and event framework for creating arenas and minigames in Minecraft. Supports creating modes through config files, or fully custom modes through plugins.

    • 74.6K
    • July 31, 2020
    • Bukkit Plugins
    • +4
  • BattleTracker 2.0 project image

    BattleTracker 2.0

    • 9.9K
    • Bukkit Plugins

    A standalone plugin and companion to BattleArena that tracks PVP & PVE statistics along with a suite of additional combat features to enhance server gameplay.

    • 9.9K
    • December 13, 2019
    • Bukkit Plugins
    • +4
  • HostageArena project image

    HostageArena

    • 3.5K
    • Bukkit Plugins

    One team guards the hostages: the other team attempts to rescue the hostages to the extraction point.

    • 3.5K
    • June 19, 2016
    • Bukkit Plugins
    • +1
  • BombArena project image

    BombArena

    • 6.9K
    • Bukkit Plugins

    Two teams fight over a bomb in order to destroy the other team's base.

    • 6.9K
    • April 22, 2016
    • Bukkit Plugins
    • +1