Skip to content

Create virtual players for easy debugging of plugins through the console. For bukkit and minecraft

License

Notifications You must be signed in to change notification settings

BattlePlugins/VirtualPlayers

 
 

Repository files navigation

VirtualPlayers

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.

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 Creates a new virtual player.
/vp remove Removes a virtual player.
/vp removeall Removes all virtual players.
/vp select Select a virtual player.
/vp observe Observes a virtual player.
/vp unobserve 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] [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

Links

About

Create virtual players for easy debugging of plugins through the console. For bukkit and minecraft

Resources

License

Stars

Watchers

Forks

Sponsor this project

Languages

  • Java 100.0%