Content generated with AI — it may contain mistakes.

ExyliaPracticeBot/Getting startedguideUpdated in v1.5.0

Your first bot

From a fresh install to fighting your own practice bot in five minutes.

Page 3 of 214 min read

At the end of this page a bot wearing your skin is fighting you in your own world. You edit one line in a file and use the /bot menu; there is no arena to build and nothing to save.

Before you start#

  • ExyliaPracticeBot and ExyliaLib are installed on a Paper or Folia 1.21.9+ server. See Installation.
  • You can run /botadmin reload (permission exyliapracticebot.admin). Players only need exyliapracticebot.use, which everyone has by default.
  • You know the exact folder name of the world you will fight in.

Steps#

Allow your world

A bot can only exist in a world listed in worlds. A fresh install lists Exylia's own exylia_sandbox_* worlds, which your server does not have, so nothing is allowed yet. Open plugins/ExyliaPracticeBotV3/config.yml and replace the list with your world names, written exactly as the folders are named.

plugins/ExyliaPracticeBotV3/config.yml
yaml
worlds:
  - pvp_sandbox

Reload

Run /botadmin reload. No restart needed.

Stand in that world and open the menu

Go anywhere in the world and run /bot. The main menu is one button per decision.

Pick a mode

Click Mode (top middle). Left-click goes to the next mode, right-click to the previous one, and the line under the name says what that mode fights with. There are seven; POT_PVP is the default. The mode changes how the bot fights, not its gear. See Modes.

Pick a difficulty

Click Difficulty, right next to Mode. Left-click goes up, right-click goes down. There are five, from Easy to Extreme; NORMAL is the default and the best place to start. Insane and Extreme are walls, not fair fights. See Difficulty.

Spawn it and fight

Click the green Spawn bot button on the bottom bar, or run /bot spawn. The bot appears where you stand, with your skin and name. Hit it.

If you skip the first step

Every spawn is answered with "You can't spawn a bot in this world. Please use /rtp first", from the command and from the menu button alike. It is the same check in both places. The fix is always the worlds list.

Check that it works#

The bot follows you, hits back, and heals, blocks or trades the way its mode and difficulty say. Nothing you do to it drops loot or gives experience. If you get the world message instead, your world name does not match a worlds entry exactly, or you skipped /botadmin reload. More in Common problems.

Going further#

  • Reopen the menu without typing. Shift right-click your own bot. Only its owner can, and only while interaction.shift-click-opens-menu is on.
  • Close the distance. /bot tpto takes you to the bot, /bot tpme brings it to you, and the Teleport button does the same.
  • Make it a punching bag. Turn Fight back off and it becomes a moving punching bag. Turn Follow you off and it holds its ground, swinging only at what comes to it. Shield up makes it never swing and keep its shield raised at you, so you can practise axe-then-mace stun slams.
  • Change its gear. Left-click a piece of armour in the left column for the next tier, right-click for its enchantment. Main hand, off hand and potions are on the right. See Equipment.
  • Fine-tune. Fine tuning opens the second screen: damage, reach, attack and movement speed, health, totems and the sandbox toggles.
  • Send it away. /bot remove removes it, and /bot reset puts every one of your settings back to the server default. The menu has Remove bot and Reset settings buttons.

Your settings are stored against your UUID. They are waiting for you the next time you log in, on this server or on any server that shares the database.

When a bot disappears or comes back
  • The bot is removed when you die, when you change world, and when you get more than 200 blocks away from it. The chat message says which one it was.
  • After the bot dies it respawns two seconds later by default (respawn.enabled, respawn.delay-seconds).
  • Every slider in the fine-tuning screen is clamped to the bounds of the limits block of config.yml. See Limits and Configuration.
  • Each player has one bot, and it fights only its owner.

Something missing on this page? Tell us on Discord