phBot Plugins
  • Introduction
  • Example Plugins
  • phBot API
    • Client
    • Guild
    • Events
    • Players
    • Party
    • NPC
    • Character
    • Academy
    • Inventory
    • Pets
    • Monsters
    • Encoding
    • Locale
    • Config
    • Botting
    • Taxi
    • Packet Injection
    • Log
    • Game Data
    • Teleport
    • Training Area
    • Command Line Arguments
    • Movement
    • Quests
    • Drops
    • Paths
    • Script
    • Notifications
    • Alchemy
    • Misc
  • Chat API
  • Handling Script Commands
  • GUI API
Powered by GitBook
On this page
  • What is Python?
  • Where can I get help?
  • What can I do with the plugin system?
  • What do I need to get started?
  • phBot
  • Socials
  • Learning Python

Introduction

NextExample Plugins

Last updated 8 months ago

This GitBook is for documenting the phBot plugin API.

What is Python?

From :

Python is a widely used general-purpose, high-level programming language. Its design philosophy emphasizes code readability, and its syntax allows programmers to express concepts in fewer lines of code than would be possible in languages such as C++ or Java.

Python 3.4/3.8 was chosen for the plugin system because it is easy to learn and does not require a compiler. Simply save your script inside the Plugins folder and launch the bot. Done!

Where can I get help?

There is a forum section dedicated to plugins where you can publish your plugins and get help if you require it.

You may also join our and ask your questions there!

What can I do with the plugin system?

I have made many functions available to Python. These functions allow you to get all players near you, get all NPCs/teleporters near you, and much more. You can do anything you want with the data. It's all up to you.

For example, a chat API is available; with this you can send messages to all nearby players.

What do I need to get started?

You'll need the new stable release of phBot and the python34 scripts which you can get by clicking . It comes with an example script named example.py, which can be deleted.

phBot

Socials

Learning Python

It is not necessary to install Python for phBot plugins to function.

Wikipedia
https://forum.projecthax.com/c/phbot/plugins/11
Discord
here
Purchase
Guide
Download
Twitter
Facebook
Discord
Download
Python Documentation
Code Academy