Skip to content

API tutorial

Daniel Saukel edited this page Mar 25, 2016 · 13 revisions

Introduction

Welcome to the DungeonsXL API tutorial. The API aims to be as powerful and user-friendly as possible. Please submit issues or pull requests if you think that important methods are missing!

In DungeonsXL 0.11, you'll find many methods without explanation why they are marked as deprecated and without links to supported methods. This is because even though the code has been made a lot more dynamic in 0.10 and 0.11, there is still some work to do. Deprecated methods in DungeonsXL will not stay part of the plugin for legacy reasons. They are still working and in use - the problem is that they are very unlikely to exist or to work the same way in the release version 1.0. This does not mean that methods which are not deprecated are guaranteed to be part of the release, though. Unfortunately, promises are not possible at all, yet.

Important Objects

TO DO

DungeonsXL (main class)

TO DO

Players

TO DO

DGlobalPlayer

TO DO

DEditPlayer

TO DO

DPlayer

TO DO

DSavePlayer

TO DO

DGroup

TO DO

Game

TO DO

Configs

TO DO

Events

TO DO

DGroup events

TO DO

DMob events

TO DO

DPlayer events

TO DO

DSign events

TO DO

EditWorld events

TO DO

GameWorld events

TO DO

Requirement events

TO DO

Reward events

TO DO

Trigger events

TO DO

Creating custom contents

TO DO

Commands

TO DO

GameTypes

TO DO

GlobalProtections

TO DO

Requirements

TO DO

Rewards

TO DO

DSigns

TO DO

Triggers

TO DO

Clone this wiki locally