Documentation

Documentation

  • Home
  • Blog
  • Docs
  • Team
  • GitHub

›VirtualPlayers

BattleDocs

  • BattleDocs
  • Guidelines
  • Examples
  • Templates

BattleTracker

  • BattleTracker
  • Getting Started
  • Placeholder API
  • Signs
  • FAQ
  • Changelog

VirtualPlayers

  • VirtualPlayers
  • Commands
  • Permissions
  • FAQ
  • Changelog

ArenaSpleef

  • ArenaSpleef
  • Commands
  • Permissions

ArenaParkour

  • ArenaParkour
  • Commands
  • Permissions

ArenaPaintball

  • ArenaPaintball
  • Commands
  • Permissions

ArenaCTF

  • ArenaCTF
  • Commands
  • Permissions
Edit

VirtualPlayers Commands

VirtualPlayers Commands

All currently documented commands for VirtualPlayers.

Player Commands

commanddescription
dc <virtual player>any command you would normally do as a player
dc <virtual player> opop virtual player
dc <virtual player> deopdeop virtual player
dc <virtual player> respawnrespawn the virtual player
dc <virtual player> connectvirtual player connects to the server
dc <virtual player> disconnectvirtual player disconnects from the server
dc <virtual player> reconnectvirtual player reconnects to the server
dc <virtual player> health <amount>give the virtual player some health ( or kill them if 0 )
dc <virtual player> invprint 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 messagehave 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
/dc <virtual player=""> pie</virtual>Trigger a PlayerPickupItemEvent

Admin / Misc Commands

commanddescription
/virtualplayers hideMessageshide messages from players
/virtualplayers showMessagesshow messages from players

Example

  • dc p1 spawn
  • `dc p1 chat Hello Server!``
  • dc p1 bpe iron_block world,311,75,400 : Place an iron_block at world,311,75,400

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

Last updated on 6/28/2019 by Clovis
← VirtualPlayersPermissions →
  • Player Commands
  • Admin / Misc Commands
  • Example
Documentation
Organization Info:
Icon BattlePlugins SiteIcon Discord ServerIcon Github ReposIcon Jenkins CIIcon Public Repo
Docs Quick Start:
Docs Home BattleArena Docs BattleTracker Docs VirtualPlayer Docs Legacy Wiki
Site Stats:
GitHub WatchersGitHub Repo SizeMost Recent CommitJenkins BuildsDiscord Server
GitHub Stars | GitHub Watchers
Hosted By:
CL6 Hosting
Copyright © 2020 BattlePlugins.