MBedwars API: v5.5

The API for the MBedwars Spigot Plugin

This is the documentation for developing MBedwars addons, or Spigot plugins integrating with MBedwars. This documentation does not walk you though setting up a new project, but rather provides a reference for the API. For documentation with regrades to setting up your workspace to integrate with MBedwars, see the Getting-Started page of the MBedwars wiki.

Getting started with the API? Here are helpful tips:

  • To get started building an MBedwars Addon, implement the BedwarsAddon class, and register it with the register method.
  • For some examples of how to use the API, see the Examples page on our wiki! There you can find information on how to register custom PlayerStatSets, build custom ShopLayouts, create SpecialItems and more.
  • All the events that MBedwars fires can be found under the event package.
  • MBedwars exposes a lot of its internal helper utilities to the API. You may find tools such as the NMSHelper useful if you are trying to support multiple Minecraft versions. See the tools package for more information.
Packages
Package
Description
The root package of the MBedwars API
Contains classes that are related to the Arena.
Tools that can be used to filter out arenas based on certain criteria.
Classes used to specify the criteria for an arena used by ArenaPickers.
Classes related to handling variables for different arena conditions
Classes used to implement the MBedwars command system.
API to get or modify the user's MBedwars configuration.
The events fired by MBedwars
Events related to an Arena.
Events related to Player actions, or changes to player properties.
Events fired when events occur on a MBedwars RemoteServer.
Contains all custom exceptions that can be thrown by MBedwars
Contains all classes that can be used to manipulate aspects of the game.
Classes relevant to the waiting lobby of an Arena.
Classes relevant to manipulating a player's scoreboard.
Classes relevant to the in game shop.
Classes relevant to implement different ShopLayouts for the in game shop.
Classes relevant to each ShopPrice in the in game shop.
Classes relevant to each ShopProduct in the in game shop.
Classes related to the in game Spawners.
Classes dedicated to handling SpecialItems in MBedwars.
Classes dedicated to players Spectating in MBedwars.
Classes relevant to the in game team upgrade shop.
Classes relevant to implement different UpgradeShopLayouts for the in game shop.
Classes dedicated to managing 3rd party plugins MBedwars can hook into for additional functionality.
Classes dedicated building and sending messages to players.
Classes dedicated to fetching, updating, and saving player data/properties/stats in MBedwars.
Classes used to manage other servers running MBedwars remotely.
DO NOT USE: These classes are for internal use only, and may change at any time.
Classes relevant to managing custom blocks and holograms placed throughout worlds.
Interfaces used to manage custom blocks.
Interfaces used to manage the MBedwars packet based holograms.
 
Interfaces for different types of skins that can be applied to MBedwars packet holograms.
Various helper classes that can be used to make life a lot easier.
Tools for easily implementing in game GUIs.
All the different types of GUIs that can be created.
Classes used for representing locations within a world.