You are reading the documentation of Golem v0.3.0. The latest version is v0.7.0. Latest docs · What changed · Changelog
Skip to content

Server plugin ​

Golem is also a regular plugin for your development server. Drop it in plugins/ and spawn simulated players with /golem: test a minigame, a PvP arena or a queue alone, without starting three Minecraft accounts.

The golems are the same as in tests: real players that join, chat, walk and answer forms, so every plugin on the server reacts to them as usual.

Install ​

Download Golem.phar from the latest release and put it in your server's plugins/ folder. The /golem command is for operators (permission golem.command).

Development servers only

Golems are real players: they count towards the player limit and show up in the player list. Keep the plugin off production servers.

Commands ​

CommandWhat it does
/golem spawn <name>spawns a golem. Names of real players are refused: an online one would be kicked, and an op or a player with saved data would lend the golem their rights and data
/golem listlists the golems online
/golem remove <name|all>disconnects golems
/golem <name> chat <message>chats as the golem; messages starting with / run as commands
/golem <name> walk <x> <z>walks a number of blocks
/golem <name> comewalks to you
/golem <name> tpteleports to you
/golem <name> jump / sneak / sprintmoves; sneak and sprint toggle
/golem <name> inbox [count]shows the last messages the golem received
/golem <name> formshows the form the golem has open, with its buttons
/golem <name> click <button>clicks a form button, by label or number

Golems are removed when the plugin is disabled or the server stops.

Example: a two-player duel, alone ​

text
/golem spawn Rival
/golem Rival tp
/golem Rival chat /duel accept
/golem Rival inbox

You just accepted your own duel request and saw what your opponent was told. Give golems permissions with /op or your permission plugin, as for any player.

Released under the MIT License.